File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,23 @@ repo_gpgcheck=0
107107enabled=1
108108enabled_metadata=1
109109REPOEOF
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+ #
122+ # The subscription-manager plugin needs to be disabled because it
123+ # likes to write warnings to stdout which corrupts the NEVRA output
124+ # we're going for here...
125+ bootupd_nevra=$( dnf --disableplugin=subscription-manager --disablerepo=* --enablerepo=copr:copr.fedorainfracloud.org:group_CoreOS:continuous repoquery --latest-limit 1 --arch " $( uname -m) " " bootupd-0.2.*" )
126+ dnf -y install ${bootupd_nevra}
111127rm -f /etc/yum.repos.d/coreos-continuous.repo
112128
113129dnf clean all
You can’t perform that action at this time.
0 commit comments