Remove /lib/kbd (keyboard maps) from the appliance.
[libguestfs.git] / appliance / make.sh.in
index cab8813..9c52830 100755 (executable)
@@ -74,6 +74,12 @@ 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
+
+# Don't need any keyboard maps.
+@FEBOOTSTRAP_RUN@ initramfs -- rm -rf /lib/kbd
+
 # 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 \