Revert "lorax: Remove vmlinuz from install.img /boot"
This reverts commit 6025da1421
.
It ends up that using the install.img with qemu and PXE and fips=1 is a
common use case. Without vmlinuz in the install.img rootfs it has
nothing to run the check against.
Related: rhbz#1782737
This commit is contained in:
parent
4b1a4f8f16
commit
3c745aed8d
@ -41,7 +41,7 @@ Requires: xz-lzma-compat
|
||||
Requires: xz
|
||||
Requires: pigz
|
||||
Requires: pbzip2
|
||||
Requires: dracut >= 050
|
||||
Requires: dracut >= 030
|
||||
Requires: kpartx
|
||||
|
||||
# Python modules
|
||||
|
@ -328,8 +328,9 @@ removefrom ${product.name}-logos /usr/share/{firstboot,gnome-screensaver,kde4,pi
|
||||
runcmd find ${root} -name "*.pyo" -type f -delete
|
||||
runcmd find ${root} -name "*.pyc" -type f -exec ln -sf /dev/null {} \;
|
||||
|
||||
## cleanup /boot/ leaving vmlinuz*hmac files
|
||||
runcmd chroot ${root} find /boot \! -name ".vmlinuz*hmac" \
|
||||
## cleanup /boot/ leaving vmlinuz, and .*hmac files
|
||||
runcmd chroot ${root} find /boot \! -name "vmlinuz*" \
|
||||
-and \! -name ".vmlinuz*" \
|
||||
-and \! -name boot -delete
|
||||
|
||||
## remove any broken links in /etc or /usr
|
||||
|
Loading…
Reference in New Issue
Block a user