diff --git a/srcpkgs/dracut/patches/network_install_grep.patch b/srcpkgs/dracut/patches/network_install_grep.patch new file mode 100644 index 00000000000..ba3978ae19f --- /dev/null +++ b/srcpkgs/dracut/patches/network_install_grep.patch @@ -0,0 +1,21 @@ +--- modules.d/40network/module-setup.sh 2017-08-11 13:44:06.000000000 +0200 ++++ modules.d/40network/module-setup.sh 2017-12-12 19:47:35.691067368 +0100 +@@ -4,7 +4,7 @@ + check() { + local _program + +- require_binaries ip dhclient || return 1 ++ require_binaries ip dhclient sed awk grep || return 1 + require_any_binary arping arping2 || return 1 + + return 255 +@@ -24,7 +24,7 @@ + # called by dracut + install() { + local _arch _i _dir +- inst_multiple ip dhclient sed awk ++ inst_multiple ip dhclient sed awk grep + + inst_multiple -o arping arping2 + strstr "$(arping 2>&1)" "ARPing 2" && mv "$initdir/bin/arping" "$initdir/bin/arping2" + diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template index c5578a04e1f..86a55002358 100644 --- a/srcpkgs/dracut/template +++ b/srcpkgs/dracut/template @@ -1,7 +1,7 @@ # Template file for 'dracut' pkgname=dracut version=046 -revision=1 +revision=2 build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc" hostmakedepends="libxslt docbook-xsl asciidoc pkg-config"