Magellan Linux

Diff of /branches/magellan-next/include/kernel26.sminc

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

revision 6659 by niro, Tue Sep 14 20:37:17 2010 UTC revision 6687 by niro, Tue Sep 21 15:27:00 2010 UTC
# Line 280  kernel26_image_postremove() Line 280  kernel26_image_postremove()
280   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
281   then   then
282   # remove old image entry from grub   # remove old image entry from grub
283   new-kernel-pkg -v --remove ${KPVER}-${KBRANCH}-${KPBUILD}   new-kernel-pkg -v --rminitrd --remove ${KPVER}-${KBRANCH}-${KPBUILD}
284   fi   fi
285  }  }
286    
# Line 301  kernel26_image_postinstall() Line 301  kernel26_image_postinstall()
301   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
302   then   then
303   new-kernel-pkg -v --mkinitrd --make-default --install ${KPVER}-${KBRANCH}-${KPBUILD}   new-kernel-pkg -v --mkinitrd --make-default --install ${KPVER}-${KBRANCH}-${KPBUILD}
  # remove the current one  
  new-kernel-pkg -v --rminitrd --remove $(uname -r)  
304   fi   fi
305    
306   # symlink actual kernel to /boot/vmlinuz etc...   # symlink actual kernel to /boot/vmlinuz etc...

Legend:
Removed from v.6659  
changed lines
  Added in v.6687