Commit 6c382c5
dotnet-native: wrapper script to fix NuGet HOME for all consumers
Instead of patching every recipe that invokes dotnet (whack-a-mole),
replace the dotnet symlink in native builds with a wrapper script
that ensures HOME is always writable before exec-ing the real binary.
.NET SDK 6 NuGet MigrationRunner.Run() fires unconditionally before
DOTNET_SKIP_FIRST_TIME_EXPERIENCE is checked, and hardcodes
$HOME/.local/share/NuGet/Migrations. The wrapper redirects HOME
to a writable temp directory, fixing python3-pythonnet, python3-clr-loader,
dotnet-helloworld, and any future dotnet consumer automatically.
Also add python3-pythonnet to the CI cleansstate list.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 889cc3d commit 6c382c5
File tree
2 files changed
+22
-1
lines changed- .github/workflows
- recipes-mono/dotnet
2 files changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
103 | 124 | | |
0 commit comments