appliance: Exclude /usr/lib/modules as well as /lib/modules.

It normally makes no difference to the final size of the appliance,
because 'supermin --build' will copy back the host kernel modules.
This commit is contained in:
Richard W.M. Jones
2015-07-23 16:41:06 +01:00
parent 0c7b957c13
commit 7eed43da6c

View File

@@ -21,6 +21,7 @@ dnl Of course, this may break the appliance, so be careful.
dnl The right kernel modules are added back by supermin.
-/boot/*
-/lib/modules/*
-/usr/lib/modules/*
dnl Firmware blobs should not be required by a virtual machine.
dnl Because of UsrMove nonsense, we need to list both directories.