diff options
author | Harald Hoyer <harald@redhat.com> | 2012-06-27 09:32:22 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-06-29 12:41:27 +0200 |
commit | 53fe81e752c59bf526237ea2a1a3e7879d479c9b (patch) | |
tree | c0ac7959467b32c0e66bc13cb14060a2680962ca /modules.d/80cms | |
parent | e716c0f121d876b381f9cd9841267959732f975d (diff) | |
download | dracut-53fe81e752c59bf526237ea2a1a3e7879d479c9b.tar.gz dracut-53fe81e752c59bf526237ea2a1a3e7879d479c9b.tar.bz2 dracut-53fe81e752c59bf526237ea2a1a3e7879d479c9b.zip |
modules.d/*/module-setup.sh: combine and specify type for installs
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
Diffstat (limited to 'modules.d/80cms')
-rwxr-xr-x | modules.d/80cms/module-setup.sh | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/modules.d/80cms/module-setup.sh b/modules.d/80cms/module-setup.sh index 15dce89e..87f34e32 100755 --- a/modules.d/80cms/module-setup.sh +++ b/modules.d/80cms/module-setup.sh @@ -22,17 +22,11 @@ installkernel() { install() { inst_hook pre-trigger 30 "$moddir/cmssetup.sh" inst_hook pre-pivot 95 "$moddir/cms-write-ifcfg.sh" - inst "$moddir/cmsifup.sh" /sbin/cmsifup - inst /etc/cmsfs-fuse/filetypes.conf - inst /etc/udev/rules.d/99-fuse.rules - inst /etc/fuse.conf - - for file in $(rpm -ql s390utils-base); do - [[ -f $file ]] && inst $file - done + inst_script "$moddir/cmsifup.sh" /sbin/cmsifup + dracut_install /etc/cmsfs-fuse/filetypes.conf /etc/udev/rules.d/99-fuse.rules /etc/fuse.conf \ + cmsfs-fuse fusermount ulockmgr_server bash tr insmod rmmod cat normalize_dasd_arg \ + $(rpm -ql s390utils-base) inst_libdir_file "gconv/*" -#inst /usr/lib/locale/locale-archive - - dracut_install cmsfs-fuse fusermount ulockmgr_server bash tr insmod rmmod cat normalize_dasd_arg + #inst /usr/lib/locale/locale-archive } |