-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing optional workloads when using 6.0-preview Linux snap packages #18933
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
The Linux snap lives in a read-only filesystem FYI which seems to be the problem. |
@leecow do we have plan for snap? |
can you sketch out the moving parts involved and give a rough vision of what an enterprise grade solution must provide to finally fix that problem? my current setup in use: $ dotnet --list-sdks $ cat /etc/os-release $ snap --version $ dotnet workload install maui-android |
I've tried a few suggested workarounds from the snapcraft forums (see #1 for an analogous layered phyton problem), but those won't fulfill our expectations (- that's mainly because setting snap's environment variables SNAP_DATA and SNAP_USER_DATA target according to #2 a different purpose). Another (good looking but kinda hacky) workaround suggests bind mounts on top of snap's read only filesystem. See #3 for a permanent configuration on systemd based setups utilizing the 'current'-named directory link (in dotnet's case /snap/dotnet-sdk/current). Currently I can not afford spending more time on this. Maybe @joeloff or @leecow can iterate on following question: will additionally installed dotnet workloads and tools survive dotnet patches? In the meantime I recommend #4 to run MAUI apps on Linux. |
Hi,
Any info on if installing optional workloads is possible when using the Linux snap delivered SDK?
Cheers
The text was updated successfully, but these errors were encountered: