Add runtime id for Arch Linux
authorOmair Majid <omajid@redhat.com>
Mon, 11 Nov 2019 15:12:57 +0000 (10:12 -0500)
committerJeremy Barton <jbarton@microsoft.com>
Mon, 11 Nov 2019 15:12:57 +0000 (07:12 -0800)
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

src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json
src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.json
src/libraries/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props

index 2a196ec..d273634 100644 (file)
     "any",
     "base"
   ],
+  "arch": [
+    "arch",
+    "linux",
+    "unix",
+    "any",
+    "base"
+  ],
+  "arch-x64": [
+    "arch-x64",
+    "arch",
+    "linux-x64",
+    "linux",
+    "unix-x64",
+    "unix",
+    "any",
+    "base"
+  ],
   "base": [
     "base"
   ],
index e70f2da..5b2f70f 100644 (file)
         "any"
       ]
     },
+    "arch": {
+      "#import": [
+        "linux"
+      ]
+    },
+    "arch-x64": {
+      "#import": [
+        "arch",
+        "linux-x64"
+      ]
+    },
     "base": {
       "#import": []
     },
index 6c95b67..aa31cac 100644 (file)
       <Versions>21</Versions>
     </RuntimeGroup>
 
+    <RuntimeGroup Include="arch">
+      <Parent>linux</Parent>
+      <Architectures>x64</Architectures>
+    </RuntimeGroup>
+
     <RuntimeGroup Include="centos">
       <Parent>rhel</Parent>
       <Architectures>x64</Architectures>