Skip to content

Commit d24bd73

Browse files
authored
Add RIDs for MIRACLE LINUX 8 and 9 (#61304)
Whenever we build dotnet RPMs for MIRACLE LINUX 8 (formerly Asianux Server 8) we have to apply patches that add RIDs for MIRACLE LINUX. To streamline the build process, we would like to add our RIDs to the upstream sources, in the same way CentOS and other RHEL- derivatives do. This commit adds the following runtime IDs: - "miraclelinux" - "miraclelinux-x64" - "miraclelinux.8" - "miraclelinux.8-x64" - "miraclelinux.9" - "miraclelinux.9-x64"
1 parent 7f3ae69 commit d24bd73

File tree

3 files changed

+117
-0
lines changed

3 files changed

+117
-0
lines changed

src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4356,6 +4356,78 @@
43564356
"any",
43574357
"base"
43584358
],
4359+
"miraclelinux": [
4360+
"miraclelinux",
4361+
"rhel",
4362+
"linux",
4363+
"unix",
4364+
"any",
4365+
"base"
4366+
],
4367+
"miraclelinux-x64": [
4368+
"miraclelinux-x64",
4369+
"miraclelinux",
4370+
"rhel-x64",
4371+
"rhel",
4372+
"linux-x64",
4373+
"linux",
4374+
"unix-x64",
4375+
"unix",
4376+
"any",
4377+
"base"
4378+
],
4379+
"miraclelinux.8": [
4380+
"miraclelinux.8",
4381+
"miraclelinux",
4382+
"rhel.8",
4383+
"rhel",
4384+
"linux",
4385+
"unix",
4386+
"any",
4387+
"base"
4388+
],
4389+
"miraclelinux.8-x64": [
4390+
"miraclelinux.8-x64",
4391+
"miraclelinux.8",
4392+
"miraclelinux-x64",
4393+
"rhel.8-x64",
4394+
"miraclelinux",
4395+
"rhel.8",
4396+
"rhel-x64",
4397+
"rhel",
4398+
"linux-x64",
4399+
"linux",
4400+
"unix-x64",
4401+
"unix",
4402+
"any",
4403+
"base"
4404+
],
4405+
"miraclelinux.9": [
4406+
"miraclelinux.9",
4407+
"miraclelinux",
4408+
"rhel.9",
4409+
"rhel",
4410+
"linux",
4411+
"unix",
4412+
"any",
4413+
"base"
4414+
],
4415+
"miraclelinux.9-x64": [
4416+
"miraclelinux.9-x64",
4417+
"miraclelinux.9",
4418+
"miraclelinux-x64",
4419+
"rhel.9-x64",
4420+
"miraclelinux",
4421+
"rhel.9",
4422+
"rhel-x64",
4423+
"rhel",
4424+
"linux-x64",
4425+
"linux",
4426+
"unix-x64",
4427+
"unix",
4428+
"any",
4429+
"base"
4430+
],
43594431
"ol": [
43604432
"ol",
43614433
"rhel",

src/libraries/Microsoft.NETCore.Platforms/src/runtime.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,6 +1775,43 @@
17751775
"arch-x64"
17761776
]
17771777
},
1778+
"miraclelinux": {
1779+
"#import": [
1780+
"rhel"
1781+
]
1782+
},
1783+
"miraclelinux-x64": {
1784+
"#import": [
1785+
"miraclelinux",
1786+
"rhel-x64"
1787+
]
1788+
},
1789+
"miraclelinux.8": {
1790+
"#import": [
1791+
"miraclelinux",
1792+
"rhel.8"
1793+
]
1794+
},
1795+
"miraclelinux.8-x64": {
1796+
"#import": [
1797+
"miraclelinux.8",
1798+
"miraclelinux-x64",
1799+
"rhel.8-x64"
1800+
]
1801+
},
1802+
"miraclelinux.9": {
1803+
"#import": [
1804+
"miraclelinux",
1805+
"rhel.9"
1806+
]
1807+
},
1808+
"miraclelinux.9-x64": {
1809+
"#import": [
1810+
"miraclelinux.9",
1811+
"miraclelinux-x64",
1812+
"rhel.9-x64"
1813+
]
1814+
},
17781815
"ol": {
17791816
"#import": [
17801817
"rhel"

src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@
137137
<Versions>1;2</Versions>
138138
</RuntimeGroup>
139139

140+
<RuntimeGroup Include="miraclelinux">
141+
<Parent>rhel</Parent>
142+
<Architectures>x64</Architectures>
143+
<Versions>8;9</Versions>
144+
<ApplyVersionsToParent>true</ApplyVersionsToParent>
145+
<TreatVersionsAsCompatible>false</TreatVersionsAsCompatible>
146+
</RuntimeGroup>
147+
140148
<RuntimeGroup Include="ol">
141149
<Parent>rhel</Parent>
142150
<Architectures>x64</Architectures>

0 commit comments

Comments
 (0)