diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-10 10:51:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-10 10:51:52 +0000 |
commit | 941f11582631ff0c713c18ab1b7869af8a7cb9de (patch) | |
tree | 5e890f3041bcff292bd69eec89e08d6416cafd44 | |
parent | c76cb45a76bb42d163ee9c6ad00a425594d1c6a7 (diff) | |
download | mkinitfs-941f11582631ff0c713c18ab1b7869af8a7cb9de.tar.bz2 mkinitfs-941f11582631ff0c713c18ab1b7869af8a7cb9de.tar.xz |
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
-rwxr-xr-x | initramfs-init.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs-init.in b/initramfs-init.in index c4a89e1..f4cd274 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -342,7 +342,7 @@ mount -t tmpfs -o nodev,nosuid,noexec shm /dev/shm # 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 |