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 1c0725eb93
This commit is contained in:
17
buildroot-prep
Executable file
17
buildroot-prep
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
arch=$(uname -m)
|
||||
. /etc/os-release
|
||||
|
||||
# fast-track backport of https://github.com/coreos/rpm-ostree/pull/5475
|
||||
|
||||
case "$VERSION_ID" in
|
||||
43) urls=(https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2025.10/3.fc43/"$arch"/rpm-ostree-{,libs-}2025.10-3.fc43."$arch".rpm);;
|
||||
44) urls=(https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2025.10/3.fc44/"$arch"/rpm-ostree-{,libs-}2025.10-3.fc44."$arch".rpm);;
|
||||
*) exit 0;;
|
||||
esac
|
||||
|
||||
if rpm -q "rpm-ostree-2025.10-1.fc43.$arch"; then
|
||||
sudo dnf install -y "${urls[@]}"
|
||||
fi
|
||||
Reference in New Issue
Block a user