]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Add awk and getopt as dependencies of znetconf
authorMei Liu <liumbj@linux.vnet.ibm.com>
Tue, 10 Nov 2015 04:34:24 +0000 (12:34 +0800)
committerHarald Hoyer <harald@redhat.com>
Fri, 13 Nov 2015 12:18:11 +0000 (13:18 +0100)
znetconf command is part of s390utils-base package. It depends on
awk and getopt.

This patch is used to fix the following error:

dracut:/#
znetconf -c

/usr/sbin/znetconf: line 70: awk: command not found
/usr/sbin/znetconf: line 1138: getopt: command not found

Signed-off-by: Mei Liu <liumbj@linux.vnet.ibm.com>
modules.d/80cms/module-setup.sh

index 1afac163f493a29ae7572be45b50ddad830b7f59..05c93e5a050fbc46fddcabe003d8251dbad22744 100755 (executable)
@@ -27,7 +27,7 @@ install() {
     inst_script "$moddir/cmsifup.sh" /sbin/cmsifup
     inst_multiple /etc/cmsfs-fuse/filetypes.conf /etc/udev/rules.d/99-fuse.rules /etc/fuse.conf \
         cmsfs-fuse fusermount ulockmgr_server bash insmod rmmod cat normalize_dasd_arg sed \
-        $(rpm -ql s390utils-base)
+        $(rpm -ql s390utils-base) awk getopt
 
     inst_libdir_file "gconv/*"
     #inst /usr/lib/locale/locale-archive