]> git.ipfire.org Git - thirdparty/dracut.git/commit - dracut.sh
rootfs-block/module-setup.sh: check root_devs in cmdline_rootfs() 269/head
authorXunlei Pang <xlpang@redhat.com>
Fri, 18 Aug 2017 02:40:27 +0000 (10:40 +0800)
committerXunlei Pang <xlpang@redhat.com>
Fri, 18 Aug 2017 06:44:19 +0000 (14:44 +0800)
commit5634a31156070487210a8e362e8f088c5c4dc615
tree233e15a75566a53808fff9e3f4bc643cbcb525bc
parent37f2fe55d11156839b87d6cf74d686956d72dc06
rootfs-block/module-setup.sh: check root_devs in cmdline_rootfs()

In case of "--no-hostonly-default-device", we do not need
the root device, thus add this check.

Also fixed the stale "root_dev" export.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
dracut.sh
modules.d/95rootfs-block/module-setup.sh