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 <liu...@linux.vnet.ibm.com>
---
 modules.d/80cms/module-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules.d/80cms/module-setup.sh b/modules.d/80cms/module-setup.sh
index c99f236..daa64d1 100755
--- a/modules.d/80cms/module-setup.sh
+++ b/modules.d/80cms/module-setup.sh
@@ -25,7 +25,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
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to