diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-02-07 21:57:45 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-02-07 21:57:45 +0100 |
commit | ba97db07a5bcbc5c0db2241a2f8ac4117d05c8f3 (patch) | |
tree | 65dcc72d88f4b6f479e88e6ec6852bd2bc15a58f | |
parent | 0d7759576490af59d7fc54871495ef8bca9e56aa (diff) | |
download | mkinitcpio-ba97db07a5bcbc5c0db2241a2f8ac4117d05c8f3.tar.gz mkinitcpio-ba97db07a5bcbc5c0db2241a2f8ac4117d05c8f3.tar.xz |
Honor the rootflags= command line option
This fixes FS#18213.
-rw-r--r-- | init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ if [ -z "${nfsroot}" -a "${root}" != "/dev/nfs" ]; then else fstype=$(eval $(/sbin/blkid -o udev -p "${root}"); echo $ID_FS_TYPE) fi - mount ${fstype:+-t ${fstype}} -o ro "${root}" /new_root + mount ${fstype:+-t ${fstype}} -o ro${rootflags:+,${rootflags}} "${root}" /new_root else # TODO: Actually implement this err "Mounting NFS root is not implemented yet." |