From 00d8f8e378be27edeb37a4f5655ccd831f1cf891 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Mon, 11 Nov 2019 10:12:57 -0500 Subject: [PATCH] Add runtime id for Arch Linux Like gentoo, Arch Linux is a rolling release and doesn't have explicit version numbers. $ cat /etc/os-release NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="0;36" HOME_URL="https://www.archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" LOGO=archlinux Commit migrated from https://github.com/dotnet/corefx/commit/1f08b57bfd197a5492fe2ed0e0c5b2e6de9bf642 --- .../runtime.compatibility.json | 17 +++++++++++++++++ .../pkg/Microsoft.NETCore.Platforms/runtime.json | 11 +++++++++++ .../pkg/Microsoft.NETCore.Platforms/runtimeGroups.props | 5 +++++ 3 files changed, 33 insertions(+) diff --git a/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json b/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json index 2a196ec..d273634 100644 --- a/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json +++ b/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json @@ -270,6 +270,23 @@ "any", "base" ], + "arch": [ + "arch", + "linux", + "unix", + "any", + "base" + ], + "arch-x64": [ + "arch-x64", + "arch", + "linux-x64", + "linux", + "unix-x64", + "unix", + "any", + "base" + ], "base": [ "base" ], diff --git a/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.json b/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.json index e70f2da..5b2f70f 100644 --- a/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.json +++ b/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.json @@ -121,6 +121,17 @@ "any" ] }, + "arch": { + "#import": [ + "linux" + ] + }, + "arch-x64": { + "#import": [ + "arch", + "linux-x64" + ] + }, "base": { "#import": [] }, diff --git a/src/libraries/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props b/src/libraries/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props index 6c95b67..aa31cac 100644 --- a/src/libraries/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props +++ b/src/libraries/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props @@ -25,6 +25,11 @@ 21 + + linux + x64 + + rhel x64 -- 2.7.4