summaryrefslogtreecommitdiffstats
path: root/make-initramfs.sh.in
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-10 18:25:07 +0100
committerRichard Jones <rjones@redhat.com>2009-04-11 17:04:35 +0100
commitb4d2a01828e5de85e5eee3631f7fe3925a0312ca (patch)
tree6f77ecceccd53a84afce4cecf0fe199ba7707752 /make-initramfs.sh.in
parent99f68f259f92eee884c6c7396f61b9c16e2bf354 (diff)
downloadlibguestfs-b4d2a01828e5de85e5eee3631f7fe3925a0312ca.tar.gz
libguestfs-b4d2a01828e5de85e5eee3631f7fe3925a0312ca.tar.xz
libguestfs-b4d2a01828e5de85e5eee3631f7fe3925a0312ca.zip
Added test suite.
Diffstat (limited to 'make-initramfs.sh.in')
-rwxr-xr-xmake-initramfs.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/make-initramfs.sh.in b/make-initramfs.sh.in
index 4579e901..3dbac635 100755
--- a/make-initramfs.sh.in
+++ b/make-initramfs.sh.in
@@ -65,11 +65,13 @@ find initramfs -name '*plymouth*' -print0 | xargs -0 rm -rf
find initramfs -name '*python*' -print0 | xargs -0 rm -rf
# Modules take up nearly half of the image. It's a rough guess that
-# we don't need any drivers (which take up most of the space).
+# we don't need many drivers (which take up most of the space).
find initramfs/lib/modules/*/kernel \
-name '*.ko' \
-a ! -name 'mii.ko' \
-a ! -name '8139cp.ko' \
+ -a ! -name 'ext2.ko' \
+ -a ! -name 'ext4.ko' \
-a -delete
# Pull the kernel out into the current directory. We don't want it in