Skip to content

Commit

Permalink
Bump to Fedora 41
Browse files Browse the repository at this point in the history
F41 is out let's update COSA to be based on Fedora 41.
  • Loading branch information
gursewak1997 committed Nov 28, 2024
1 parent 9d38a32 commit 241dd68
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 344 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# When rebasing to new Fedora, also update openshift/release:
# https://github.com/openshift/release/tree/master/ci-operator/config/coreos/coreos-assembler/coreos-coreos-assembler-main.yaml
FROM quay.io/fedora/fedora:40
FROM quay.io/fedora/fedora:41
WORKDIR /root/containerbuild

# Keep this Dockerfile idempotent for local development rebuild use cases.
Expand All @@ -18,7 +18,7 @@ COPY ./ /root/containerbuild/
RUN ./build.sh write_archive_info
RUN ./build.sh make_and_makeinstall
RUN ./build.sh configure_user
RUN ./build.sh patch_osbuild
# RUN ./build.sh patch_osbuild

# clean up scripts (it will get cached in layers, but oh well)
WORKDIR /srv/
Expand Down
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ patch_osbuild() {
# To make it easier to apply patches we'll move around the osbuild
# code on the system first:
rmdir /usr/lib/osbuild/osbuild
mv /usr/lib/python3.12/site-packages/osbuild /usr/lib/osbuild/
mv /usr/lib/python3.13/site-packages/osbuild /usr/lib/osbuild/
mkdir /usr/lib/osbuild/tools
mv /usr/bin/osbuild-mpp /usr/lib/osbuild/tools/

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

Expand All @@ -205,5 +205,5 @@ else
install_ocp_tools
trust_redhat_gpg_keys
configure_user
patch_osbuild
#patch_osbuild
fi
68 changes: 0 additions & 68 deletions src/0001-parsing-add-parse_location_into_parts.patch

This file was deleted.

This file was deleted.

116 changes: 0 additions & 116 deletions src/0003-org.osbuild.selinux-support-operating-on-mounts.patch

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions src/cmd-generate-release-meta
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ def get_floating_tag(rel, tags):
for tag in tags:
if rel not in tag:
if found != "":
raise f"multiple floating tags within: {tags}"
raise ValueError(f"multiple floating tags within: {tags}")
found = tag
if found == "":
raise f"failed to find floating tag within: {tags}"
raise ValueError(f"failed to find floating tag within: {tags}")
return found


Expand Down
Loading

0 comments on commit 241dd68

Please sign in to comment.