provision-derived: Don't hardcode bootupd version#2145
provision-derived: Don't hardcode bootupd version#2145cgwalters merged 1 commit intobootc-dev:mainfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the hack/provision-derived.sh script to dynamically resolve the bootupd package version from a COPR repository, replacing a hardcoded version string. This change addresses issues where date-based versioning in the repository caused incorrect package selection. The review feedback recommends refining the dnf repoquery command by specifying the architecture and limiting the output to the latest version to prevent installation failures caused by matching source packages or multiple versions.
dbc4d77 to
addfa4c
Compare
| bootupd_nevra=$(dnf --disablerepo=* --enablerepo=copr:copr.fedorainfracloud.org:group_CoreOS:continuous repoquery --latest-limit 1 --arch "$(uname -m)" "bootupd-0.2.*") | ||
| dnf -y install ${bootupd_nevra} |
There was a problem hiding this comment.
I think dnf -y --disablerepo=* --enablerepo=<copr> distro-sync bootupd would work
There was a problem hiding this comment.
Doesn't seem to work for me:
[root@8fbeb7e8531f /]# dnf -y --disablerepo=* --enablerepo=copr:copr.fedorainfracloud.org:group_CoreOS:continuous distro-sync bootupd
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Packages for argument 'bootupd' available, but not installed.
Probably because of those malformed fc42 packages that I mentioned in the comment in the diff?
|
Oh and it looks like the subscription-manager plugin writes to stdout so that's breaking it too. |
This got bumped recently so the old version is no longer available. Signed-off-by: John Eckersberg <jeckersb@redhat.com>
addfa4c to
d6aa779
Compare
|
Well on a somewhat-positive-since-it's-consistent note, we're seeing the same error on rawhide here that we're seeing over in the fedora dist-git job, so that'll help with tracking that down. |
This got bumped recently so the old version is no longer available.
Signed-off-by: John Eckersberg jeckersb@redhat.com