mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Remove plymouth libraries from the appliance.
This commit is contained in:
@@ -52,9 +52,11 @@ if [ "@DIST@" = "REDHAT" ]; then
|
||||
|
||||
# Nuke some stuff. The kernel pulls mkinitrd and plymouth which pulls in
|
||||
# all of Python. Sheez.
|
||||
(cd initramfs && find -name '*python*' -print0) |
|
||||
xargs -0 @FEBOOTSTRAP_RUN@ initramfs -- rm -rf
|
||||
(cd initramfs && find -name '*plymouth*' -print0) |
|
||||
xargs -0 @FEBOOTSTRAP_RUN@ initramfs -- rm -rf
|
||||
(cd initramfs && find -name '*python*' -print0) |
|
||||
(cd initramfs && find -name 'libply-*' -print0) |
|
||||
xargs -0 @FEBOOTSTRAP_RUN@ initramfs -- rm -rf
|
||||
|
||||
# In Fedora >= 11, it pulls in all of Perl from somewhere. Nuke from orbit.
|
||||
|
||||
Reference in New Issue
Block a user