]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut: nbd: Only complain of missing binary in hostonly mode if
authorThomas Renninger <trenn@suse.de>
Thu, 11 Dec 2014 14:46:33 +0000 (15:46 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 29 Jun 2016 09:34:26 +0000 (11:34 +0200)
commit3186a0aa15822d69c8eb073bfc76665a1315957c
tree406fd84815cec84a3758e416d0261c63d1882007
parentcc7d2eeb36a0472ec76b44caa41ebd68fb40b11c
dracut: nbd: Only complain of missing binary in hostonly mode if

 rootfs is on nbd

In not hostonly mode, require_binaries will still complain.
If in hostonly mode and the module is explicitly added via -a nbd, then
install() section will still complain later:
dracut-install: ERROR: installing 'nbd-client'

Signed-off-by: Thomas Renninger <trenn@suse.de>
(cherry picked from commit e683985d103f1b0f15a9ccd9678169f4fb7aeb5f)
modules.d/95nbd/module-setup.sh