ref: 941f11582631ff0c713c18ab1b7869af8a7cb9de
parent: c76cb45a76bb42d163ee9c6ad00a425594d1c6a7
author: Natanael Copa <ncopa@alpinelinux.org>
date: Tue Jan 10 04:51:52 CST 2017
init: try load rootfstype module early zpool needs the zfs module to be loaded early. by also loading rootfstype module early we don't need specify zfs to both modules and rootfstype
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -342,7 +342,7 @@
# load available drivers to get access to modloop media
ebegin "Loading boot drivers"
-modprobe -a $(echo "$KOPT_modules" | tr ',' ' ' ) loop squashfs 2> /dev/null
+modprobe -a $(echo "$KOPT_modules $KOPT_rootfstype" | tr ',' ' ' ) loop squashfs 2> /dev/null
if [ -f /etc/modules ] ; then
sed 's/\#.*//g' < /etc/modules |
while read module args; do