Blame 0160-Add-awk-and-getopt-as-dependencies-of-znetconf.patch

Harald Hoyer bb31e7
From dcc2a4344b064ab91a0a89baa2453244de78ceb4 Mon Sep 17 00:00:00 2001
Harald Hoyer bb31e7
From: Mei Liu <liumbj@linux.vnet.ibm.com>
Harald Hoyer bb31e7
Date: Tue, 10 Nov 2015 12:34:24 +0800
Harald Hoyer bb31e7
Subject: [PATCH] Add awk and getopt as dependencies of znetconf
Harald Hoyer bb31e7
Harald Hoyer bb31e7
znetconf command is part of s390utils-base package. It depends on
Harald Hoyer bb31e7
awk and getopt.
Harald Hoyer bb31e7
Harald Hoyer bb31e7
This patch is used to fix the following error:
Harald Hoyer bb31e7
Harald Hoyer bb31e7
dracut:/#
Harald Hoyer bb31e7
znetconf -c
Harald Hoyer bb31e7
Harald Hoyer bb31e7
/usr/sbin/znetconf: line 70: awk: command not found
Harald Hoyer bb31e7
/usr/sbin/znetconf: line 1138: getopt: command not found
Harald Hoyer bb31e7
Harald Hoyer bb31e7
Signed-off-by: Mei Liu <liumbj@linux.vnet.ibm.com>
Harald Hoyer bb31e7
---
Harald Hoyer bb31e7
 modules.d/80cms/module-setup.sh | 2 +-
Harald Hoyer bb31e7
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer bb31e7
Harald Hoyer bb31e7
diff --git a/modules.d/80cms/module-setup.sh b/modules.d/80cms/module-setup.sh
Harald Hoyer bb31e7
index 1afac16..05c93e5 100755
Harald Hoyer bb31e7
--- a/modules.d/80cms/module-setup.sh
Harald Hoyer bb31e7
+++ b/modules.d/80cms/module-setup.sh
Harald Hoyer bb31e7
@@ -27,7 +27,7 @@ install() {
Harald Hoyer bb31e7
     inst_script "$moddir/cmsifup.sh" /sbin/cmsifup
Harald Hoyer bb31e7
     inst_multiple /etc/cmsfs-fuse/filetypes.conf /etc/udev/rules.d/99-fuse.rules /etc/fuse.conf \
Harald Hoyer bb31e7
         cmsfs-fuse fusermount ulockmgr_server bash insmod rmmod cat normalize_dasd_arg sed \
Harald Hoyer bb31e7
-        $(rpm -ql s390utils-base)
Harald Hoyer bb31e7
+        $(rpm -ql s390utils-base) awk getopt
Harald Hoyer bb31e7
 
Harald Hoyer bb31e7
     inst_libdir_file "gconv/*"
Harald Hoyer bb31e7
     #inst /usr/lib/locale/locale-archive