From 7eed43da6c99ed48eac71f29941947ff0e43de0a Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 23 Jul 2015 16:41:06 +0100 Subject: [PATCH] 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. --- appliance/excludefiles.in | 1 + 1 file changed, 1 insertion(+) diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in index 574c8282f..181b1828d 100644 --- a/appliance/excludefiles.in +++ b/appliance/excludefiles.in @@ -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.