Skip to content

Commit ae6eb25

Browse files
committed
buildroot-prep: stop pinning rpm-ostree no f43+
We have new libselinux in cosa now so no longer need this.
1 parent 52f2a02 commit ae6eb25

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

buildroot-prep

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ set -euo pipefail
88
arch=$(uname -m)
99
. /etc/os-release
1010

11-
# Fast-track backport of https://github.com/coreos/rpm-ostree/pull/5475.
12-
# Comment this out if not used to not unnecessarily pay for repo metadata.
1311
cp /src/fedora-coreos-continuous.repo /etc/yum.repos.d
14-
if [ "${VERSION_ID}" == 42 ]; then
12+
13+
# NOTE: try to remove anything that queries repos here once it's no longer
14+
# needed so that we don't unnecessarily pay for repo metadata.
15+
16+
# make sure we have https://github.com/coreos/rpm-ostree/pull/5454
17+
if ! rpm-ostree compose build-chunked-oci -h | grep -q -- --label; then
1518
sudo dnf update rpm-ostree -y --repo fedora-coreos-continuous --releasever "$VERSION_ID"
16-
else
17-
sudo dnf install rpm-ostree-2025.10 --allow-downgrade -y --repo fedora-coreos-continuous --releasever "$VERSION_ID"
1819
fi

0 commit comments

Comments
 (0)