Skip to content

Commit dffa908

Browse files
authored
Remove CoreFX configuration.props in tarball build (#686)
(cherry picked from commit 2bb25fc)
1 parent c30b920 commit dffa908

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-source-tarball.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ rm -f $TARBALL_ROOT/Tools/dotnetcli/dotnet.tar
103103
rm -f $TARBALL_ROOT/Tools/dotnetcli/sdk/$SDK_VERSION/nuGetPackagesArchive.lzma
104104
rm -rf $TARBALL_ROOT/Tools/dotnetcli/store
105105
rm -rf $TARBALL_ROOT/Tools/dotnetcli/additionalDeps
106+
# Remove props file generated by CoreFX that contains the RuntimeOS value of the current machine.
107+
# It artificially limits the tarball to be buildable on only the OS that created it.
108+
rm -rf $TARBALL_ROOT/Tools/configuration/configuration.props
106109

107110
cp $SCRIPT_ROOT/support/tarball/build.sh $TARBALL_ROOT/build.sh
108111

0 commit comments

Comments
 (0)