]> git.ipfire.org Git - thirdparty/dracut.git/commit
35network-legacy: only skip waiting for interfaces if netroot is set
authorMartin Wilck <mwilck@suse.com>
Fri, 27 Sep 2019 11:26:10 +0000 (13:26 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 25 Oct 2019 07:18:12 +0000 (09:18 +0200)
commit9b9dd9993e645f97c176f1db707d41062135cf8e
tree2f4974b092a4d818806c7a79cb29c613be16532d
parentc0e5e48aab86b4b7c3738623b2c4ecf17cf00add
35network-legacy: only skip waiting for interfaces if netroot is set

Commmit 8a33e52e2f94 assumes that dracut's work is done if a root device
is found. This holds usually for booting computers, but it may be wrong
for other environments.

Only short-cut the waiting if $netroot is also set.

Fixes: 8a33e52e2f94 ("network: stop waiting for interfaces if root device is present")
References: bsc#1152006
modules.d/35network-legacy/net-genrules.sh