From: Harald Hoyer Date: Wed, 27 Oct 2010 09:19:27 +0000 (+0200) Subject: dracut-functions: suppress modinfo errors for hostonly mode X-Git-Tag: 008~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54b01e99d3c9436b74abac66990c081d260b1124;p=thirdparty%2Fdracut.git dracut-functions: suppress modinfo errors for hostonly mode --- diff --git a/dracut-functions b/dracut-functions index 409e9ed23..8a1f55fc8 100755 --- a/dracut-functions +++ b/dracut-functions @@ -634,7 +634,7 @@ filter_kernel_modules () ( if ! [[ $hostonly ]]; then filtercmd='find "$srcmods/kernel/drivers" "$srcmods/extra" "$srcmods/weak-updates" -name "*.ko" -o -name "*.ko.gz" 2>/dev/null' else - filtercmd='cut -d " " -f 1