Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,22 +195,23 @@ write_archive_info() {
patch_osbuild() {
# Add a few patches that either haven't made it into a release or
# that will be obsoleted with other work that will be done soon.

# 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.13/site-packages/osbuild /usr/lib/osbuild/
mkdir /usr/lib/osbuild/tools
mv /usr/bin/osbuild-mpp /usr/lib/osbuild/tools/

# Now all the software is under the /usr/lib/osbuild dir and we can patch
patch -d /usr/lib/osbuild -p1 < /usr/lib/coreos-assembler/0001-stages-coreos.live-artifacts-rework-volume-ID-handli.patch

# 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.13/site-packages/osbuild
mkdir -p /usr/lib/osbuild/osbuild
return 0

# # 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.13/site-packages/osbuild /usr/lib/osbuild/
# mkdir /usr/lib/osbuild/tools
# mv /usr/bin/osbuild-mpp /usr/lib/osbuild/tools/

# # Now all the software is under the /usr/lib/osbuild dir and we can patch
# patch -d /usr/lib/osbuild -p1 < /usr/lib/coreos-assembler/src/my-git-commit.patch

# # 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.13/site-packages/osbuild
# mkdir -p /usr/lib/osbuild/osbuild
}

if [ $# -ne 0 ]; then
Expand Down
114 changes: 0 additions & 114 deletions src/0001-stages-coreos.live-artifacts-rework-volume-ID-handli.patch

This file was deleted.

Loading