Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[release/3.1] Add CentOS 9 RID and make CentOS 8 arm64 as well#43068

Merged
Anipik merged 1 commit intodotnet:release/3.1from
omajid:3.1-centos-9-rid
May 5, 2021
Merged

[release/3.1] Add CentOS 9 RID and make CentOS 8 arm64 as well#43068
Anipik merged 1 commit intodotnet:release/3.1from
omajid:3.1-centos-9-rid

Conversation

@omajid
Copy link
Member

@omajid omajid commented Apr 20, 2021

Port Description

This is the only part of dotnet/runtime#34088 that wasn't already backported to release/3.1.

https://www.redhat.com/en/blog/faq-centos-stream-updates says:

There will not be a CentOS Linux 9.

CentOS Stream 9 will launch in Q2 2021 as part of the RHEL 9 development process.

That's my motivation: I want to be able to build .NET Core 3.1 for RHEL 9

The last part also means that the current parent-child relationship that we use for RHEL->CentOS in our RID graph will flip starting in 9. I dont see any immediate impact, so I think we can leave it alone for now.

I got a (currently internal) build of CentOS Stream 9 and /etc/os-release looks like this:

$ cat /etc/os-release
NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_ID="platform:el9"
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:9"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

I have been told that builds of CentOS Stream 9 should become public soon. I don't know exactly when, though.

Customer Impact

This (kind of) blocks Red Hat from building .NET Core 3.1 on RHEL 9: we can apply this patch locally, but it's probably better for everyone if it's here upstream too.

Regression

This is not a regression.

Testing

I have tested that this RID update fixes the build issue for me.

Risk

The risk of this is pretty low: it's just adding RIDs.

@danmoseley
Copy link
Member

If this is to be serviced, please add the usual template.
cc @wfurt owns RID updates for us.

@danmoseley danmoseley requested a review from Anipik April 21, 2021 15:57
@omajid
Copy link
Member Author

omajid commented Apr 21, 2021

If this is to be serviced, please add the usual template.

Okay. I copied the template from another PR in this repo. If it's not right, can you help me find the canonical template?

@danmoseley
Copy link
Member

Looks great to me. @wfurt are you the right person to evaluate this one?

Copy link
Member

@wfurt wfurt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
It seems like are trying to keep RID graph same across releases and this matches main branch.

"3.1.6",
"3.1.7"
],
"BaselineVersion": "3.1.5",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the baseline version to 3.1.7 as well

This is the only part of dotnet/runtime#34088
that wasn't already backported to release/3.1.

https://www.redhat.com/en/blog/faq-centos-stream-updates says:

> There will not be a CentOS Linux 9.
>
> CentOS Stream 9 will launch in Q2 2021 as part of the RHEL 9
> development process.

The last part also means that the current parent-child relationship that
we use for RHEL->CentOS in our RID graph will flip starting in 9. I dont
see any immediate impact, so I think we can leave it alone for now.

I got a (currently internal) build of CentOS Stream 9 and
/etc/os-release looks like this:

    $ cat /etc/os-release
    NAME="CentOS Stream"
    VERSION="9"
    ID="centos"
    ID_LIKE="rhel fedora"
    VERSION_ID="9"
    PLATFORM_ID="platform:el9"
    PRETTY_NAME="CentOS Stream 9"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:centos:centos:9"
    HOME_URL="https://centos.org/"
    BUG_REPORT_URL="https://bugzilla.redhat.com/"
    REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
    REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
@omajid omajid force-pushed the 3.1-centos-9-rid branch from 99ce8c8 to 07c5ddb Compare April 28, 2021 16:09
@Anipik Anipik merged commit 05a7575 into dotnet:release/3.1 May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants