projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2258f00
)
drop NEWROOT from module-setup.sh
author
Will Woods
<wwoods@redhat.com>
Wed, 24 Oct 2012 17:06:11 +0000
(13:06 -0400)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 14 Dec 2012 08:04:55 +0000
(09:04 +0100)
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
patch
|
blob
|
history
diff --git
a/modules.d/95rootfs-block/module-setup.sh
b/modules.d/95rootfs-block/module-setup.sh
index
8254289
..
732aefb
100755
(executable)
--- 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")