From 8737f924cc15c98e555aad77e384da5bffa40671 Mon Sep 17 00:00:00 2001 From: TomasM Date: Sun, 15 Oct 2017 09:23:15 -0400 Subject: [PATCH] specify filesystems to copy to initrd rather than adding everything --- initramfs/initramfs_create | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/initramfs/initramfs_create b/initramfs/initramfs_create index 54d4007..f6b76b3 100755 --- a/initramfs/initramfs_create +++ b/initramfs/initramfs_create @@ -72,7 +72,18 @@ mknod $INITRAMFS/dev/tty4 c 4 4 #copy_including_deps /usr/bin/strace #copy_including_deps /usr/bin/lsof -copy_including_deps /$LMK/kernel/fs # all filesystems +copy_including_deps /$LMK/kernel/fs/aufs +copy_including_deps /$LMK/kernel/fs/ext2 +copy_including_deps /$LMK/kernel/fs/ext3 +copy_including_deps /$LMK/kernel/fs/ext4 +copy_including_deps /$LMK/kernel/fs/fat +copy_including_deps /$LMK/kernel/fs/nls +copy_including_deps /$LMK/kernel/fs/fuse +copy_including_deps /$LMK/kernel/fs/isofs +copy_including_deps /$LMK/kernel/fs/ntfs +copy_including_deps /$LMK/kernel/fs/reiserfs +copy_including_deps /$LMK/kernel/fs/squashfs + copy_including_deps /$LMK/kernel/drivers/staging/zsmalloc # needed by zram copy_including_deps /$LMK/kernel/drivers/block/zram copy_including_deps /$LMK/kernel/drivers/block/loop.* @@ -127,4 +138,3 @@ echo $INITRAMFS.img cd .. rm -Rf $INITRAMFS -#mv $INITRAMFS.img /tmp/initrfs.img