]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut.sh: Fixup previous commit to only read /sys and /proc in hostonly mode
authorColin Walters <walters@verbum.org>
Wed, 11 Sep 2013 13:04:45 +0000 (09:04 -0400)
committerHarald Hoyer <harald@redhat.com>
Wed, 11 Sep 2013 20:50:22 +0000 (22:50 +0200)
commit36b2e5e2c27f9e72e9aa40e580b6d9e60799ceae
treee0886f4edf8ae20bd92e3e435dd62f7d2a036a2a
parent3c4315fa1368f1ee12dfa8abb5dd7c3556da79f8
dracut.sh: Fixup previous commit to only read /sys and /proc in hostonly mode

The gnome-ostree build system generates dracut initramfs images on the
build server, therefore not in hostonly mode.  The build system at the
moment doesn't mount /sys, and the previous commit caused a hard
failure due to lack of /sys/devices.

Because we only want /sys/devices in hostonly mode, just move those
bits inside the hostonly conditional above.
dracut.sh