Magellan Linux

Diff of /tags/grubby-8_5/installkernel

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1338 by niro, Fri Jun 3 21:04:42 2011 UTC revision 1340 by niro, Fri Jun 3 21:10:11 2011 UTC
# Line 89  ln -fs ${RELATIVE_PATH}${INSTALL_PATH}/S Line 89  ln -fs ${RELATIVE_PATH}${INSTALL_PATH}/S
89    
90  if [[ -n ${cfgLoader} ]] && [[ -x /sbin/new-kernel-pkg ]]  if [[ -n ${cfgLoader} ]] && [[ -x /sbin/new-kernel-pkg ]]
91  then  then
92   /sbin/new-kernel-pkg --mkinitrd --depmod --install ${KERNEL_VERSION}   if [ -x /sbin/dracut ]
93     then
94     /sbin/new-kernel-pkg --mkinitrd --dracut --host-only --depmod --install ${KERNEL_VERSION}
95     else
96     /sbin/new-kernel-pkg --mkinitrd --depmod --install ${KERNEL_VERSION}
97     fi
98  fi  fi

Legend:
Removed from v.1338  
changed lines
  Added in v.1340