Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rhcos-4.15] tests/var-mount/scsi-id: simplify bootloader entry finding #2962

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Apr 11, 2024

We don't have to be super strict here in how we find the bootloader entry. There should only be one, so simplify the logic using a glob instead.

Motivated by the fact that this will break otherwise as part of openshift/os#1445 where the ID will be centos, but the stateroot will still be scos.

(cherry picked from commit 476a371)


We're backporting this because a recent rebuild of 4.15 cosa pulled in a new ostree which enables bootloader-naming-2 by default, which changes the BLS entry name:

ostreedev/ostree#3206

We don't have to be super strict here in how we find the bootloader
entry. There should only be one, so simplify the logic using a glob
instead.

Motivated by the fact that this will break otherwise as part of
openshift/os#1445 where the `ID` will be
`centos`, but the stateroot will still be `scos`.

(cherry picked from commit 476a371)

---

We're backporting this because a recent rebuild of 4.15 cosa pulled in a
new ostree which enables `bootloader-naming-2` by default, which changes
the BLS entry name:

ostreedev/ostree#3206
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@dustymabe dustymabe merged commit 00e32e8 into coreos:rhcos-4.15 Apr 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants