Skip to content

Commit addfa4c

Browse files
committed
provision-derived: Don't hardcode bootupd version
This got bumped recently so the old version is no longer available. Signed-off-by: John Eckersberg <jeckersb@redhat.com>
1 parent ca9f93c commit addfa4c

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

hack/provision-derived.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,19 @@ repo_gpgcheck=0
107107
enabled=1
108108
enabled_metadata=1
109109
REPOEOF
110-
dnf -y install bootupd-0.2.32.43.g38208d3
110+
111+
# This unfortunately has "older" versions with higher NEVRA:
112+
#
113+
# # dnf --disablerepo=* --enablerepo=copr:copr.fedorainfracloud.org:group_CoreOS:continuous repoquery bootupd 2> /dev/null
114+
# bootupd-0:0.2.32.45.gb483a63-1.fc45.x86_64
115+
# bootupd-0:202501200321.0.2.25.65.ge296f82-1.fc42.src
116+
# bootupd-0:202501200321.0.2.25.65.ge296f82-1.fc42.x86_64
117+
# bootupd-0:202501210627.0.2.25.67.gefe41b6-1.fc42.src
118+
#
119+
# So we need to be more selective, but also be dynamic to grab newer
120+
# versions
121+
bootupd_nevra=$(dnf --disablerepo=* --enablerepo=copr:copr.fedorainfracloud.org:group_CoreOS:continuous repoquery --latest-limit 1 --arch "$(uname -m)" "bootupd-0.2.*")
122+
dnf -y install ${bootupd_nevra}
111123
rm -f /etc/yum.repos.d/coreos-continuous.repo
112124

113125
dnf clean all

0 commit comments

Comments
 (0)