Skip to content

Commit c48d13f

Browse files
committed
Remove bootupd copr install
Looks like the updated package has disappeared from the copr in conjunction with it landing in the base images, so I think we can remove all of this now. Signed-off-by: John Eckersberg <jeckersb@redhat.com>
1 parent 280d7f1 commit c48d13f

1 file changed

Lines changed: 0 additions & 51 deletions

File tree

hack/provision-fetch.sh

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -54,57 +54,6 @@ if test $cloudinit = 1; then
5454
dnf -y install cloud-init
5555
fi
5656

57-
# Temporary: update bootupd from @CoreOS/continuous copr until
58-
# base images include a version supporting --filesystem
59-
case $ID in
60-
fedora) copr_distro="fedora" ;;
61-
*) copr_distro="centos-stream" ;;
62-
esac
63-
# Update bootc from rhcontainerbot copr; the new bootupd
64-
# requires a newer bootc than what ships in some base images.
65-
cat >/etc/yum.repos.d/rhcontainerbot-bootc.repo <<REPOEOF
66-
[copr:copr.fedorainfracloud.org:rhcontainerbot:bootc]
67-
name=Copr repo for bootc owned by rhcontainerbot
68-
baseurl=https://download.copr.fedorainfracloud.org/results/rhcontainerbot/bootc/${copr_distro}-\$releasever-\$basearch/
69-
type=rpm-md
70-
gpgcheck=1
71-
gpgkey=https://download.copr.fedorainfracloud.org/results/rhcontainerbot/bootc/pubkey.gpg
72-
repo_gpgcheck=0
73-
enabled=1
74-
enabled_metadata=1
75-
REPOEOF
76-
dnf -y update bootc
77-
rm -f /etc/yum.repos.d/rhcontainerbot-bootc.repo
78-
cat >/etc/yum.repos.d/coreos-continuous.repo <<REPOEOF
79-
[copr:copr.fedorainfracloud.org:group_CoreOS:continuous]
80-
name=Copr repo for continuous owned by @CoreOS
81-
baseurl=https://download.copr.fedorainfracloud.org/results/@CoreOS/continuous/${copr_distro}-\$releasever-\$basearch/
82-
type=rpm-md
83-
gpgcheck=1
84-
gpgkey=https://download.copr.fedorainfracloud.org/results/@CoreOS/continuous/pubkey.gpg
85-
repo_gpgcheck=0
86-
enabled=1
87-
enabled_metadata=1
88-
REPOEOF
89-
90-
# This unfortunately has "older" versions with higher NEVRA:
91-
#
92-
# # dnf --disablerepo=* --enablerepo=copr:copr.fedorainfracloud.org:group_CoreOS:continuous repoquery bootupd 2> /dev/null
93-
# bootupd-0:0.2.32.45.gb483a63-1.fc45.x86_64
94-
# bootupd-0:202501200321.0.2.25.65.ge296f82-1.fc42.src
95-
# bootupd-0:202501200321.0.2.25.65.ge296f82-1.fc42.x86_64
96-
# bootupd-0:202501210627.0.2.25.67.gefe41b6-1.fc42.src
97-
#
98-
# So we need to be more selective, but also be dynamic to grab newer
99-
# versions
100-
#
101-
# The subscription-manager plugin needs to be disabled because it
102-
# likes to write warnings to stdout which corrupts the NEVRA output
103-
# we're going for here...
104-
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.*")
105-
dnf -y install ${bootupd_nevra}
106-
rm -f /etc/yum.repos.d/coreos-continuous.repo
107-
10857
# Temporary: upgrade ostree to 2026.1 for bootconfig-extra support
10958
# (required by loader-entries source tracking)
11059
# xref https://github.com/ostreedev/ostree/pull/3570

0 commit comments

Comments
 (0)