mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Remove firmware from the appliance.
This commit is contained in:
@@ -74,6 +74,9 @@ rm -f $koutput
|
||||
# Anaconda? JPEG images?
|
||||
@FEBOOTSTRAP_RUN@ initramfs -- rm -rf /usr/lib/anaconda-runtime
|
||||
|
||||
# Don't need any firmware.
|
||||
@FEBOOTSTRAP_RUN@ initramfs -- rm -rf /lib/firmware
|
||||
|
||||
# Modules take up nearly half of the image. It's a rough guess that
|
||||
# we don't need many drivers (which take up most of the space).
|
||||
(cd initramfs && find lib/modules/*/kernel \
|
||||
|
||||
Reference in New Issue
Block a user