summarylogtreecommitdiffstats
path: root/dotnet-coreclr-rid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet-coreclr-rid.patch')
-rw-r--r--dotnet-coreclr-rid.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/dotnet-coreclr-rid.patch b/dotnet-coreclr-rid.patch
new file mode 100644
index 000000000000..a0b38a7ee92e
--- /dev/null
+++ b/dotnet-coreclr-rid.patch
@@ -0,0 +1,38 @@
+diff -rupN dotnet-coreclr.orig/build-packages.sh dotnet-coreclr/build-packages.sh
+--- dotnet-coreclr.orig/build-packages.sh 2018-06-21 11:53:45.890536633 +0200
++++ dotnet-coreclr/build-packages.sh 2018-06-21 11:57:34.508917604 +0200
+@@ -24,6 +24,9 @@ initHostDistroRid()
+ if [[ $ID == "alpine" ]]; then
+ __HostDistroRid="linux-musl-$__Arch"
+ fi
++ if [[ $ID == "arch" ]]; then
++ __HostDistroRid="arch-$__Arch"
++ fi
+ elif [ -e /etc/redhat-release ]; then
+ local redhatRelease=$(</etc/redhat-release)
+ if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
+diff -rupN dotnet-coreclr.orig/build.sh dotnet-coreclr/build.sh
+--- dotnet-coreclr.orig/build.sh 2018-06-21 11:53:45.890536633 +0200
++++ dotnet-coreclr/build.sh 2018-06-21 11:56:19.968359087 +0200
+@@ -73,6 +73,9 @@ initHostDistroRid()
+ if [[ $ID == "alpine" ]]; then
+ __HostDistroRid="linux-musl-$__HostArch"
+ fi
++ if [[ $ID == "arch" ]]; then
++ __HostDistroRid="arch-$__HostArch"
++ fi
+ elif [ -e /etc/redhat-release ]; then
+ local redhatRelease=$(</etc/redhat-release)
+ if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
+diff -rupN dotnet-coreclr.orig/build-test.sh dotnet-coreclr/build-test.sh
+--- dotnet-coreclr.orig/build-test.sh 2018-06-21 11:53:45.890536633 +0200
++++ dotnet-coreclr/build-test.sh 2018-06-21 11:58:19.189252190 +0200
+@@ -21,6 +21,8 @@ initHostDistroRid()
+ source /etc/os-release
+ if [[ $ID == "alpine" ]]; then
+ __HostDistroRid="linux-musl-$__HostArch"
++ elif [[ $ID == "arch" ]]; then
++ __HostDistroRid="arch-$__HostArch"
+ else
+ __PortableBuild=1
+ __HostDistroRid="$ID.$VERSION_ID-$__HostArch"