File tree Expand file tree Collapse file tree 4 files changed +0
-233
lines changed Expand file tree Collapse file tree 4 files changed +0
-233
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ COPY ./ /root/containerbuild/
23
23
RUN ./build.sh write_archive_info
24
24
RUN ./build.sh make_and_makeinstall
25
25
RUN ./build.sh configure_user
26
- RUN ./build.sh patch_osbuild
27
26
28
27
# clean up scripts (it will get cached in layers, but oh well)
29
28
WORKDIR /srv/
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ if [ $# -gt 1 ]; then
22
22
echo " configure_yum_repos"
23
23
echo " install_rpms"
24
24
echo " make_and_makeinstall"
25
- echo " patch_osbuild"
26
25
exit 1
27
26
fi
28
27
@@ -161,27 +160,6 @@ write_archive_info() {
161
160
prepare_git_artifacts " ${srcdir} " /cosa/coreos-assembler-git.json /cosa/coreos-assembler-git.tar.gz
162
161
}
163
162
164
- patch_osbuild () {
165
- # Add a few patches that either haven't made it into a release or
166
- # that will be obsoleted with other work that will be done soon.
167
-
168
- # To make it easier to apply patches we'll move around the osbuild
169
- # code on the system first:
170
- rmdir /usr/lib/osbuild/osbuild
171
- mv /usr/lib/python3.12/site-packages/osbuild /usr/lib/osbuild/
172
- mkdir /usr/lib/osbuild/tools
173
- mv /usr/bin/osbuild-mpp /usr/lib/osbuild/tools/
174
-
175
- # Now all the software is under the /usr/lib/osbuild dir and we can patch
176
- patch -d /usr/lib/osbuild -p1 < /usr/lib/coreos-assembler/0001-stages-add-stage-for-creating-dm-verity-partitions.patch
177
-
178
- # And then move the files back; supermin appliance creation will need it back
179
- # in the places delivered by the RPM.
180
- mv /usr/lib/osbuild/tools/osbuild-mpp /usr/bin/osbuild-mpp
181
- mv /usr/lib/osbuild/osbuild /usr/lib/python3.12/site-packages/osbuild
182
- mkdir /usr/lib/osbuild/osbuild
183
- }
184
-
185
163
if [ $# -ne 0 ]; then
186
164
# Run the function specified by the calling script
187
165
${1}
196
174
install_ocp_tools
197
175
trust_redhat_gpg_keys
198
176
configure_user
199
- patch_osbuild
200
177
fi
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -729,7 +729,6 @@ runvm() {
729
729
730
730
# include COSA in the image
731
731
find /usr/lib/coreos-assembler/ -type f > " ${vmpreparedir} /hostfiles"
732
- echo /usr/lib/osbuild/stages/org.osbuild.dmverity >> " ${vmpreparedir} /hostfiles"
733
732
734
733
# and include all GPG keys
735
734
find /etc/pki/rpm-gpg/ -type f >> " ${vmpreparedir} /hostfiles"
You can’t perform that action at this time.
0 commit comments