dracut: add grep to the network module dependencies

Closes: #9942 [via git-merge-pr]
This commit is contained in:
johannes 2017-12-12 19:55:02 +01:00 committed by Jürgen Buchmüller
parent 6ec13a3818
commit 0a35508d51
2 changed files with 22 additions and 1 deletions

View file

@ -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"

View file

@ -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"