Diff of /trunk/grubby/installkernel
Parent Directory | Revision Log | Patch
revision 2964 by niro, Sat Feb 18 01:09:18 2012 UTC | revision 2965 by niro, Wed Jun 29 14:52:33 2016 UTC | |
---|---|---|
# | Line 91 if [[ -n ${cfgLoader} ]] && [[ -x /sbin/ | Line 91 if [[ -n ${cfgLoader} ]] && [[ -x /sbin/ |
91 | then | then |
92 | if [ -n "$(which dracut 2>/dev/null)" ] | if [ -n "$(which dracut 2>/dev/null)" ] |
93 | then | then |
94 | new-kernel-pkg --mkinitrd --dracut --host-only --depmod --install ${KERNEL_VERSION} | new-kernel-pkg --mkinitrd --dracut --host-only --depmod --install --kernel-name ${KERNEL_NAME} ${KERNEL_VERSION} |
95 | else | else |
96 | new-kernel-pkg --mkinitrd --depmod --install ${KERNEL_VERSION} | new-kernel-pkg --mkinitrd --depmod --install --kernel-name ${KERNEL_NAME} ${KERNEL_VERSION} |
97 | fi | fi |
98 | fi | fi |
|