aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@funtoo.org>2017-11-11 19:39:18 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-14 19:06:00 -0800
commit88fb7f3aacdf3be6c1461ea37d42119a08fbe50c (patch)
treefb7713eb0fa3b5c9605533df9c0f39fb9956dca1 /defaults/linuxrc
parentAllow MODULES variables to have underscores in them. (diff)
downloadgenkernel-88fb7f3aacdf3be6c1461ea37d42119a08fbe50c.tar.gz
genkernel-88fb7f3aacdf3be6c1461ea37d42119a08fbe50c.tar.bz2
genkernel-88fb7f3aacdf3be6c1461ea37d42119a08fbe50c.zip
Add f2fs support.
Diffstat (limited to 'defaults/linuxrc')
-rw-r--r--defaults/linuxrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc
index b227ed2..7fd32f0 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -338,6 +338,11 @@ then
[ "$USE_ZFS" = "1" ] && MY_HWOPTS="${MY_HWOPTS} zfs"
fi
+# Hack for f2fs, which uses crc32 but does not depend on it (in many kernels at least):
+if [ "${ROOTFSTYPE}" = "f2fs" ]; then
+ FIRSTMODS="${FIRSTMODS} crc32_generic"
+fi
+
splash 'init'
cmdline_hwopts