Magellan Linux

Diff of /tags/grubby-8_38/installkernel

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

revision 1340 by niro, Fri Jun 3 21:10:11 2011 UTC revision 1749 by niro, Sat Feb 18 01:09:18 2012 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   if [ -x /sbin/dracut ]   if [ -n "$(which dracut 2>/dev/null)" ]
93   then   then
94   /sbin/new-kernel-pkg --mkinitrd --dracut --host-only --depmod --install ${KERNEL_VERSION}   new-kernel-pkg --mkinitrd --dracut --host-only --depmod --install ${KERNEL_VERSION}
95   else   else
96   /sbin/new-kernel-pkg --mkinitrd --depmod --install ${KERNEL_VERSION}   new-kernel-pkg --mkinitrd --depmod --install ${KERNEL_VERSION}
97   fi   fi
98  fi  fi

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