From 84f0ae886cc659fabd8d8b499861383bb801fa08 Mon Sep 17 00:00:00 2001 From: Jarret Shook Date: Mon, 25 Feb 2019 15:50:59 -0800 Subject: For linux-musl-arm64 use OutputRid (#22840) This variable was added for linux-musl-x64 in our old official builds, because our current logic in src/.nuget/dirs.props incorrectly parses the __DistroRid passed. --- build-packages.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build-packages.sh') diff --git a/build-packages.sh b/build-packages.sh index 576a01daa1..8dfab68baf 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -118,6 +118,11 @@ if [ "${__DistroRid}" = "linux-musl-arm64" ]; then # will break this logic. To work around this, pass ArchGroup explicitely. export ArchGroup=arm64 + + # Currently the decision tree in src/.nuget/dirs.props will incorrectly + # reparse the already calculated __DistroRid. For linux-musl-arm64 use + # the hack/hook to specifically bypass this logic. + export OutputRID=${__DistroRid} fi $__ProjectRoot/dotnet.sh msbuild /nologo /verbosity:minimal /clp:Summary \ -- cgit v1.2.3