|
80 | 80 | echo "Found bootstrap SDK $SDK_VERSION"
|
81 | 81 | CLI_PATH="$SCRIPT_ROOT/.dotnet"
|
82 | 82 | DarcVersion=$(cat $SCRIPT_ROOT/DarcVersion.txt)
|
83 |
| -DARC_DLL="$CLI_PATH/tools/.store/microsoft.dotnet.darc/$DarcVersion/microsoft.dotnet.darc/$DarcVersion/tools/netcoreapp2.1/any/Microsoft.DotNet.Darc.dll" |
| 83 | +DARC_DLL="$CLI_PATH/tools/.store/microsoft.dotnet.darc/$DarcVersion/microsoft.dotnet.darc/$DarcVersion/tools/netcoreapp3.0/any/Microsoft.DotNet.Darc.dll" |
84 | 84 |
|
85 | 85 | if [ $SKIP_BUILD -ne 1 ]; then
|
86 | 86 |
|
@@ -148,15 +148,11 @@ git submodule foreach --quiet --recursive '
|
148 | 148 | # Now re-uberclone into the tarball src directory. Since we reuse the .gitdirs, this shouldn't hit the network at all.
|
149 | 149 | ignored_repos= "https://dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/devdiv/DevDiv/_git/DotNet-Trusted;https://devdiv.visualstudio.com/DevDiv/_git/DotNet-Trusted;https://[email protected]/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/dnceng/internal/_git/dotnet-core-setup;https://github.com/dotnet/source-build-reference-packages"
|
150 | 150 |
|
151 |
| -#export the LC_LIB_PATH for libgit2 so file as fedora fails to find it in the repodir |
152 |
| -export LD_LIBRARY_PATH=$CLI_PATH/tools/.store/microsoft.dotnet.darc/$DarcVersion/microsoft.dotnet.darc/$DarcVersion/tools/netcoreapp2.1/any/runtimes/rhel-x64/native/ |
153 |
| - |
154 | 151 | "$CLI_PATH/dotnet" "$DARC_DLL" clone --repos-folder=$TARBALL_ROOT/src/ --git-dir-folder $SCRIPT_ROOT/.git/modules/src/ --include-toolset --ignore-repos "$ignored_repos" --azdev-pat bogus --github-pat bogus --depth 0 --debug
|
155 | 152 |
|
156 | 153 | # now we don't need .git/modules/src or Darc anymore
|
157 | 154 | if [ $MINIMIZE_DISK_USAGE -eq 1 ]; then
|
158 | 155 | rm -rf "$SCRIPT_ROOT/.git/modules/src"
|
159 |
| - rm -rf $SCRIPT_ROOT/tools-local/arcade-services |
160 | 156 | fi
|
161 | 157 |
|
162 | 158 | # then delete the master copies - we only need the specific hashes
|
@@ -197,10 +193,7 @@ cp -r $SCRIPT_ROOT/patches $TARBALL_ROOT/
|
197 | 193 | cp -r $SCRIPT_ROOT/scripts $TARBALL_ROOT/
|
198 | 194 | cp -r $SCRIPT_ROOT/repos $TARBALL_ROOT/
|
199 | 195 | cp -r $SCRIPT_ROOT/tools-local $TARBALL_ROOT/
|
200 |
| -rm -rf $TARBALL_ROOT/tools-local/arcade-services/ |
201 |
| -rm -rf $TARBALL_ROOT/.dotnet/shared/2.1.0/ |
202 | 196 | rm -rf $TARBALL_ROOT/.dotnet/tools/
|
203 |
| -rm -rf $TARBALL_ROOT/.dotnet/host/fxr/2.1.0/ |
204 | 197 | cp -r $SCRIPT_ROOT/bin/git-info $TARBALL_ROOT/
|
205 | 198 |
|
206 | 199 | cp $SCRIPT_ROOT/support/tarball/build.sh $TARBALL_ROOT/build.sh
|
|
0 commit comments