Blame SOURCES/installer-12516-portablerid.patch

b8d0d9
From 892222071f73062f969f4f6ed1df8f759b9327b7 Mon Sep 17 00:00:00 2001
b8d0d9
From: Tom Deseyn <tom.deseyn@gmail.com>
b8d0d9
Date: Wed, 3 Nov 2021 15:12:59 +0100
b8d0d9
Subject: [PATCH] GetRuntimeInformation.targets: determine
b8d0d9
 PortableProductMonikerRid based on HostOSName and Architecture.
b8d0d9
b8d0d9
---
b8d0d9
 src/redist/targets/GetRuntimeInformation.targets | 2 ++
b8d0d9
 1 file changed, 2 insertions(+)
b8d0d9
b8d0d9
diff --git a/src/redist/targets/GetRuntimeInformation.targets b/src/redist/targets/GetRuntimeInformation.targets
b8d0d9
index 5133c3a3841..01f704c7d8e 100644
b8d0d9
--- a/src/redist/targets/GetRuntimeInformation.targets
b8d0d9
+++ b/src/redist/targets/GetRuntimeInformation.targets
b8d0d9
@@ -28,6 +28,8 @@
b8d0d9
                                    '$(Rid)' == 'linux-musl-x64' ">$(Rid)</ProductMonikerRid>
b8d0d9
       <ProductMonikerRid Condition=" '$(ProductMonikerRid)' == '' ">$(OSName)-$(Architecture)</ProductMonikerRid>
b8d0d9
 
b8d0d9
+      <PortableProductMonikerRid Condition=" '$(PortableProductMonikerRid)' == '' ">$(HostOSName)-$(Architecture)</PortableProductMonikerRid>
b8d0d9
+
b8d0d9
       <ArtifactNameSdk>dotnet-sdk-internal$(PgoTerm)</ArtifactNameSdk>
b8d0d9
       <ArtifactNameCombinedHostHostFxrFrameworkSdk>dotnet-sdk$(PgoTerm)</ArtifactNameCombinedHostHostFxrFrameworkSdk>
b8d0d9