From 9d6165f235a3b6401be5f1c52fab02954a58fd8f Mon Sep 17 00:00:00 2001 From: Will Woods Date: Wed, 24 Oct 2012 13:06:11 -0400 Subject: drop NEWROOT from module-setup.sh This was almost certainly copy-pasted from mount-root.sh, but it's not valid here - dracut doesn't use NEWROOT outside of the initramfs. --- modules.d/95rootfs-block/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules.d/95rootfs-block') diff --git a/modules.d/95rootfs-block/module-setup.sh b/modules.d/95rootfs-block/module-setup.sh index 82542899..732aefb7 100755 --- a/modules.d/95rootfs-block/module-setup.sh +++ b/modules.d/95rootfs-block/module-setup.sh @@ -15,7 +15,7 @@ check() { rootopts=$opts break fi - done < "$NEWROOT/etc/fstab" + done < /etc/fstab [ "$rootfs" = "reiserfs" ] && journaldev=$(fs_get_option $rootopts "jdev") [ "$rootfs" = "xfs" ] && journaldev=$(fs_get_option $rootopts "logdev") -- cgit v1.2.3