summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@gmail.com>2020-01-08 19:12:12 +0100
committerRomain Perier <romain.perier@gmail.com>2020-01-11 18:16:59 +0100
commit4df27e2cc6527d3b462ba7f22da465a662712f31 (patch)
tree94e49b52dfdf570602ec3dd950b86be85f67065d /hook-functions
parenta9e5169fbf673d18a271214bd691073611393404 (diff)
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.
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions5
1 files changed, 4 insertions, 1 deletions
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
;;