File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,12 @@ set -euo pipefail
8
8
arch=$( uname -m)
9
9
. /etc/os-release
10
10
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.
13
11
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
15
18
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 "
18
19
fi
You can’t perform that action at this time.
0 commit comments