From: AndrĂ¡s Korn Date: Thu, 4 Aug 2022 11:03:39 +0000 (+0200) Subject: Exclude /var/lib/dkms/* from squashfs X-Git-Tag: v0.41.0~3^2~3 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=7e7a352dcfc40e5ab46c1916a30b979d4393f72f Exclude /var/lib/dkms/* from squashfs These files and directories are created by dkms while it builds modules on demand and are only relevant during the module build/installation process. The .ko files are then installed in /lib/modules; shipping /var/lib/dkms/* inside the squashfs only takes up space without providing a tangible benefit. --- diff --git a/etc/grml/fai/config/grml/squashfs-excludes b/etc/grml/fai/config/grml/squashfs-excludes index 6c28c80..fed1ce9 100644 --- a/etc/grml/fai/config/grml/squashfs-excludes +++ b/etc/grml/fai/config/grml/squashfs-excludes @@ -1,3 +1,4 @@ run/* var/run/* var/lock/* +var/lib/dkms/*