diff --git a/.vsts-ci.yml b/.vsts-ci.yml
index b44cf897c..5c2195610 100644
--- a/.vsts-ci.yml
+++ b/.vsts-ci.yml
@@ -254,7 +254,7 @@ stages:
buildArchitecture: x64
# Do not publish zips and tarballs. The linux-x64 binaries are
# already published by Build_LinuxPortable_Release_x64
- additionalBuildParameters: '/p:PublishBinariesAndBadge=false'
+ additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro=true'
linuxPortable: true
runTests: false
- template: eng/build.yml
@@ -267,7 +267,7 @@ stages:
runtimeIdentifier: 'linux-arm64'
# Do not publish zips and tarballs. The linux-x64 binaries are
# already published by Build_LinuxPortable_Release_x64
- additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true'
+ additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:IsRPMBasedDistro=true'
linuxPortable: true
runTests: false
- template: eng/build.yml
diff --git a/src/redist/targets/GenerateLayout.targets b/src/redist/targets/GenerateLayout.targets
index a27834f85..4abe26990 100644
--- a/src/redist/targets/GenerateLayout.targets
+++ b/src/redist/targets/GenerateLayout.targets
@@ -38,6 +38,7 @@
$(HostRid)
$(OSName)-$(Architecture)
+ $(HostRid.Replace('mariner.2.0', 'cm.2'))
-internal
diff --git a/src/redist/targets/GenerateRPMs.targets b/src/redist/targets/GenerateRPMs.targets
index a82f068fc..044afcc6e 100644
--- a/src/redist/targets/GenerateRPMs.targets
+++ b/src/redist/targets/GenerateRPMs.targets
@@ -330,18 +330,18 @@
Outputs="$(RpmTestResultsXmlFile)" >
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+