Repository navigation
instructions to demo PowerShell Core on Raspbian - #4882
Conversation
|
🎉 I'll get something similar prepped for Chromebooks |
a193f94 to
29dc0e6
Compare
Mark Kraus (markekraus)
left a comment
There was a problem hiding this comment.
Minor adjustments.
There was a problem hiding this comment.
Isn't the proper "branding" CoreCLR?
There was a problem hiding this comment.
Yes, will fix
There was a problem hiding this comment.
I think DotNetCore should be added to the Global Dictionary and removed from the other overrides.
There was a problem hiding this comment.
CoreCLR is in the Global dictionary and I believe that is the correct "branding".
There was a problem hiding this comment.
Capitalize first letter after # and end sentences with periods.
There was a problem hiding this comment.
maybe clarify what you mean by supported?
There was a problem hiding this comment.
I guess it's because CoreCLR is still beta on arm32.
There was a problem hiding this comment.
I'll add a link to the tracking issue for CoreCLR
|
also, you need to resolve conflicts with spelling |
ddaf992 to
49c3af9
Compare
| ~/powershell/powershell | ||
| ``` | ||
|
|
||
| Note that until arm32 is [fully supported by CoreCLR](https://github.com/dotnet/coreclr/issues/3977), it's not supported by PowerShell Core. |
There was a problem hiding this comment.
Also, it might be worth mentioning that these instructions apply only to Raspberry Pi 2 and Raspberry Pi 3;
On Pi 1, Pi Zero and Pi Zero W CoreCLR can't run because it requires newer CPU instruction set, so we can't run PowerShell on these versions of Raspberry Pi single-board computers.
There was a problem hiding this comment.
Sure, I'll clarify.
|
I followed yours instructions with this environment :
A first error occur here, about LD_LIBRARY_PATH, resolved by setting it to : Then, after overwrite the CoreClr bits, you have to do an extra part to install libunwind8 At the end, powershell is loaded. On a Rasperry 2 : Thank you some much !! |
|
Flavien MICHALECZEK (@fMichaleczek) Unfortunately https://github.com/dotnet/cli/issues/7698 broke our The startup time is slow because crossgen currently doesn't support arm32 which would recompile the .Net IL to native code. |
|
Please fix the spelling issues: https://travis-ci.org/PowerShell/PowerShell/jobs/278410327#L3327 |
|
Steve Lee (@SteveL-MSFT) is it worth raising issues for PowerShell6.0.0-beta8 on a Pi 2? |
|
Lewis Roberts (@lwsrbrts) You can open new issues for Pi-2, but it's low on our priority list particularly since its a franken-build to get it working |
|
I was able to start pwsh after running: # We'll make a folder to put latest CoreCLR runtime.
mkdir dotnet
cd dotnet
# Download the latest CoreCLR runtime.
curl -O https://dotnetcli.blob.core.windows.net/dotnet/Runtime/master/dotnet-runtime-latest-linux-arm.tar.gz
# Unpack it.
tar xvf ./dotnet-runtime-latest-linux-arm.tar.gz
# We're going to overwrite the CoreCLR bits we built with newer ones, replace the version named folder below as appropriate.
# If you build a newer version of PowerShell Core, you'll need to make sure you get latest CoreCLR runtime otherwise you may hit a segmentation fault.
cp shared/Microsoft.NETCore.App/2.1.0-preview1-26026-02/* ~/powershell
# Install libunwind8
sudo apt install libunwind8But soon after PowerShell was started it aborted with the following error: Raspberry Pi 2 info: |
|
Stefan Stranger (@stefanstranger) you shouldn't have to install dotnet as it comes with the PSCore6 package. Make sure you follow the updated instructions |
|
That was simple :-) Well lesson learned. Thanks Steve Lee (@SteveL-MSFT) /Stefan |
No description provided.