From 6c4b2aacb8aef0b209bd6106001c39ba7f51f2a6 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sun, 29 Sep 2024 13:02:51 +0300
Subject: [PATCH 1/4] Add missing conditions for illumos
---
src/Installer/redist-installer/targets/Crossgen.targets | 8 +-------
.../redist-installer/targets/GenerateLayout.targets | 3 +--
src/SourceBuild/content/repo-projects/sdk.proj | 4 ++--
3 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/src/Installer/redist-installer/targets/Crossgen.targets b/src/Installer/redist-installer/targets/Crossgen.targets
index 85e90c74eb88..b89c3cfb0418 100644
--- a/src/Installer/redist-installer/targets/Crossgen.targets
+++ b/src/Installer/redist-installer/targets/Crossgen.targets
@@ -8,6 +8,7 @@
microsoft.netcore.app.runtime.$(SharedFrameworkRid)
microsoft.netcore.app.crossgen2.$(Crossgen2Rid)
$(NuGetPackageRoot)$(RuntimeNETCrossgenPackageName)/$(MicrosoftNETCoreAppRuntimePackageVersion)/tools/crossgen2$(ExeExtension)
+ true
$(RedistLayoutPath)shared/$(SharedFrameworkName)/$(MicrosoftNETCoreAppRuntimePackageVersion)
@@ -135,13 +136,6 @@
-
-
- true
- false
- false
-
-
diff --git a/src/Installer/redist-installer/targets/GenerateLayout.targets b/src/Installer/redist-installer/targets/GenerateLayout.targets
index 963f12702b6d..86457d483c3f 100644
--- a/src/Installer/redist-installer/targets/GenerateLayout.targets
+++ b/src/Installer/redist-installer/targets/GenerateLayout.targets
@@ -35,8 +35,7 @@
$([System.Text.RegularExpressions.Regex]::Replace('$(PublicBaseURL)', '%28file:\/{1,}%29%28.+%29', 'file:///%242'))
$(HostRid)
- $(OSName)-$(Architecture)
- $(HostRid.Replace('mariner.2.0', 'cm.2'))
+ $(NetRuntimeRid.Replace('mariner.2.0', 'cm.2'))
-internal
diff --git a/src/SourceBuild/content/repo-projects/sdk.proj b/src/SourceBuild/content/repo-projects/sdk.proj
index 858678e015ac..0d64b2ef42ff 100644
--- a/src/SourceBuild/content/repo-projects/sdk.proj
+++ b/src/SourceBuild/content/repo-projects/sdk.proj
@@ -26,8 +26,8 @@
$(BuildArgs) /p:DOTNET_INSTALL_DIR=$(DotNetRoot)
$(BuildArgs) /p:AspNetCoreInstallerRid=$(TargetRid)
-
- $(BuildArgs) /p:PortableBuild=true
+
+ $(BuildArgs) /p:PortableBuild=true
$(BuildArgs) /p:NetRuntimeRid=$(TargetRid)
$(BuildArgs) /p:SkipBuildingInstallers=true
From a467aef443b24e26b86991bd8e3641d0cd628eb6 Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Wed, 2 Oct 2024 18:14:13 +0300
Subject: [PATCH 2/4] Revert Crossgen.targets
---
src/Installer/redist-installer/targets/Crossgen.targets | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/Installer/redist-installer/targets/Crossgen.targets b/src/Installer/redist-installer/targets/Crossgen.targets
index b89c3cfb0418..85e90c74eb88 100644
--- a/src/Installer/redist-installer/targets/Crossgen.targets
+++ b/src/Installer/redist-installer/targets/Crossgen.targets
@@ -8,7 +8,6 @@
microsoft.netcore.app.runtime.$(SharedFrameworkRid)
microsoft.netcore.app.crossgen2.$(Crossgen2Rid)
$(NuGetPackageRoot)$(RuntimeNETCrossgenPackageName)/$(MicrosoftNETCoreAppRuntimePackageVersion)/tools/crossgen2$(ExeExtension)
- true
$(RedistLayoutPath)shared/$(SharedFrameworkName)/$(MicrosoftNETCoreAppRuntimePackageVersion)
@@ -136,6 +135,13 @@
+
+
+ true
+ false
+ false
+
+
From f2eecf653e89c620c9cbba4017a5cd3dbc58bcc6 Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Thu, 3 Oct 2024 19:22:37 +0300
Subject: [PATCH 3/4] Update GenerateLayout.targets
---
src/Installer/redist-installer/targets/GenerateLayout.targets | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Installer/redist-installer/targets/GenerateLayout.targets b/src/Installer/redist-installer/targets/GenerateLayout.targets
index 86457d483c3f..926bd4b82f98 100644
--- a/src/Installer/redist-installer/targets/GenerateLayout.targets
+++ b/src/Installer/redist-installer/targets/GenerateLayout.targets
@@ -34,7 +34,7 @@
$([System.Text.RegularExpressions.Regex]::Replace('$(PublicBaseURL)', '%28file:\/{1,}%29%28.+%29', 'file:///%242'))
- $(HostRid)
+ $(OSName)-$(Architecture)
$(NetRuntimeRid.Replace('mariner.2.0', 'cm.2'))
From 30a9935f164f89161e164e97d2304c5db15ccf75 Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Mon, 7 Oct 2024 13:40:50 +0300
Subject: [PATCH 4/4] Update GenerateLayout.targets
---
.../redist-installer/targets/GenerateLayout.targets | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/Installer/redist-installer/targets/GenerateLayout.targets b/src/Installer/redist-installer/targets/GenerateLayout.targets
index 926bd4b82f98..f1553368e603 100644
--- a/src/Installer/redist-installer/targets/GenerateLayout.targets
+++ b/src/Installer/redist-installer/targets/GenerateLayout.targets
@@ -34,8 +34,9 @@
$([System.Text.RegularExpressions.Regex]::Replace('$(PublicBaseURL)', '%28file:\/{1,}%29%28.+%29', 'file:///%242'))
- $(OSName)-$(Architecture)
- $(NetRuntimeRid.Replace('mariner.2.0', 'cm.2'))
+ $(HostRid)
+ $(OSName)-$(Architecture)
+ $(HostRid.Replace('mariner.2.0', 'cm.2'))
-internal