Magellan Linux

Diff of /branches/R11-unstable/include/kernel.sminc

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

revision 12741 by niro, Sun Jul 1 18:50:25 2012 UTC revision 13439 by niro, Tue Oct 9 07:54:18 2012 UTC
# Line 133  kernel_src_prepare() Line 133  kernel_src_prepare()
133   if [[ ${PVER%%.*} -gt 2 ]]   if [[ ${PVER%%.*} -gt 2 ]]
134   then   then
135   local sublevel="$(echo ${PVER} | cut -d. -f3)"   local sublevel="$(echo ${PVER} | cut -d. -f3)"
136   sed -i "s:^\(SUBLEVEL =\).*:\1 ${sublevel}:" Makefile || die   sed -i "s:^\(SUBLEVEL =\).*:\1 ${sublevel}:" Makefile || die
137   fi   fi
138  }  }
139    
# Line 399  kernel_image_postremove() Line 399  kernel_image_postremove()
399   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
400   then   then
401   # remove old image entry from grub   # remove old image entry from grub
402   new-kernel-pkg -v --rminitrd --remove ${KPVER}-${KBRANCH}-${KPBUILD}   new-kernel-pkg -v --rminitrd --rmmodep --remove ${KPVER}-${KBRANCH}-${KPBUILD}
403   fi   fi
404  }  }
405    

Legend:
Removed from v.12741  
changed lines
  Added in v.13439