mirror of
https://github.com/coreos/fedora-coreos-config.git
synced 2026-02-05 09:45:30 +01:00
tree: import changes from testing-devel at 28e639f858
This commit is contained in:
@@ -11,11 +11,12 @@ arch=$(uname -m)
|
||||
# Fast-track backport of https://github.com/coreos/rpm-ostree/pull/5475.
|
||||
# Comment this out if not used to not unnecessarily pay for repo metadata.
|
||||
cp /run/src/fedora-coreos-continuous.repo /etc/yum.repos.d
|
||||
sudo dnf update rpm-ostree -y --repo fedora-coreos-continuous
|
||||
sudo dnf update rpm-ostree -y --repo fedora-coreos-continuous --releasever "$VERSION_ID"
|
||||
|
||||
# fast-track https://gitlab.com/fedora/bootc/base-images/-/merge_requests/279
|
||||
help=$(/usr/libexec/bootc-base-imagectl build-rootfs -h)
|
||||
if ! grep -q -- --lock <<< "$help"; then
|
||||
echo "Patching bootc-base-imagectl"
|
||||
sudo dnf install -y patch
|
||||
curl -L https://gitlab.com/fedora/bootc/base-images/-/commit/35467bdbdcc01a8ad6b42c33c935ffe5c8c74395.patch | patch -p1 -d /usr/libexec
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user