Skip to content

Commit 241dd68

Browse files
committed
Bump to Fedora 41
F41 is out let's update COSA to be based on Fedora 41.
1 parent 9d38a32 commit 241dd68

9 files changed

+13
-344
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# When rebasing to new Fedora, also update openshift/release:
22
# https://github.com/openshift/release/tree/master/ci-operator/config/coreos/coreos-assembler/coreos-coreos-assembler-main.yaml
3-
FROM quay.io/fedora/fedora:40
3+
FROM quay.io/fedora/fedora:41
44
WORKDIR /root/containerbuild
55

66
# Keep this Dockerfile idempotent for local development rebuild use cases.
@@ -18,7 +18,7 @@ COPY ./ /root/containerbuild/
1818
RUN ./build.sh write_archive_info
1919
RUN ./build.sh make_and_makeinstall
2020
RUN ./build.sh configure_user
21-
RUN ./build.sh patch_osbuild
21+
# RUN ./build.sh patch_osbuild
2222

2323
# clean up scripts (it will get cached in layers, but oh well)
2424
WORKDIR /srv/

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ patch_osbuild() {
168168
# To make it easier to apply patches we'll move around the osbuild
169169
# code on the system first:
170170
rmdir /usr/lib/osbuild/osbuild
171-
mv /usr/lib/python3.12/site-packages/osbuild /usr/lib/osbuild/
171+
mv /usr/lib/python3.13/site-packages/osbuild /usr/lib/osbuild/
172172
mkdir /usr/lib/osbuild/tools
173173
mv /usr/bin/osbuild-mpp /usr/lib/osbuild/tools/
174174

@@ -187,7 +187,7 @@ patch_osbuild() {
187187
# And then move the files back; supermin appliance creation will need it back
188188
# in the places delivered by the RPM.
189189
mv /usr/lib/osbuild/tools/osbuild-mpp /usr/bin/osbuild-mpp
190-
mv /usr/lib/osbuild/osbuild /usr/lib/python3.12/site-packages/osbuild
190+
mv /usr/lib/osbuild/osbuild /usr/lib/python3.13/site-packages/osbuild
191191
mkdir /usr/lib/osbuild/osbuild
192192
}
193193

@@ -205,5 +205,5 @@ else
205205
install_ocp_tools
206206
trust_redhat_gpg_keys
207207
configure_user
208-
patch_osbuild
208+
#patch_osbuild
209209
fi

src/0001-parsing-add-parse_location_into_parts.patch

Lines changed: 0 additions & 68 deletions
This file was deleted.

src/0002-parsing-treat-locations-without-scheme-as-belonging-.patch

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/0003-org.osbuild.selinux-support-operating-on-mounts.patch

Lines changed: 0 additions & 116 deletions
This file was deleted.

src/0004-org.osbuild.selinux-support-for-specifying-where-fil.patch

Lines changed: 0 additions & 92 deletions
This file was deleted.

src/cmd-generate-release-meta

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ def get_floating_tag(rel, tags):
9696
for tag in tags:
9797
if rel not in tag:
9898
if found != "":
99-
raise f"multiple floating tags within: {tags}"
99+
raise ValueError(f"multiple floating tags within: {tags}")
100100
found = tag
101101
if found == "":
102-
raise f"failed to find floating tag within: {tags}"
102+
raise ValueError(f"failed to find floating tag within: {tags}")
103103
return found
104104

105105

0 commit comments

Comments
 (0)