From 4df27e2cc6527d3b462ba7f22da465a662712f31 Mon Sep 17 00:00:00 2001 From: Romain Perier Date: Wed, 8 Jan 2020 19:12:12 +0100 Subject: hook-functions: Add f2fs as base in auto_add_modules For people wanting to change their filesystem to F2FS or for embedded devices with eMMC or sdcard, add the f2fs module and its dependency as base module. Moreover, this adds "crc32" as hidden dependency module for f2fs. --- hook-functions | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hook-functions') diff --git a/hook-functions b/hook-functions index 0cba5c9..fa1fe59 100644 --- a/hook-functions +++ b/hook-functions @@ -544,7 +544,7 @@ auto_add_modules() for arg in "$@" ; do case "$arg" in base) - modules="$modules btrfs ext2 ext3 ext4 ext4dev " + modules="$modules btrfs ext2 ext3 ext4 ext4dev f2fs" modules="$modules isofs jfs reiserfs udf xfs" modules="$modules nfs nfsv2 nfsv3 nfsv4" modules="$modules af_packet atkbd i8042 psmouse" @@ -686,6 +686,9 @@ hidden_dep_add_modules() btrfs) echo crc32c ;; + f2fs) + echo crc32 + ;; mlx4_core) echo mlx4_ib ;; -- cgit v1.2.3