Magellan Linux

Diff of /trunk/include/kernel.sminc

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

revision 22123 by niro, Fri Sep 5 06:47:42 2014 UTC revision 30422 by niro, Fri Jan 19 09:04:36 2018 UTC
# Line 147  kernel_src_prepare() Line 147  kernel_src_prepare()
147   cd ${SRCDIR}   cd ${SRCDIR}
148   kernel_apply_patches || die   kernel_apply_patches || die
149    
150     # fix permissions after the patchwork
151     # gnu patch doesn't support git-style file mode
152     if [ -e tools/objtool/sync-check.sh ]
153     then
154     chmod +x tools/objtool/sync-check.sh || die
155     fi
156    
157   # fixes INSTALL_PATH to /boot and EXTRAVERSION   # fixes INSTALL_PATH to /boot and EXTRAVERSION
158   sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \   sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
159   -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die   -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die
# Line 441  kernel_image_postinstall() Line 448  kernel_image_postinstall()
448   # do not run this if ${MROOT} is set !   # do not run this if ${MROOT} is set !
449   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
450   then   then
451   new-kernel-pkg -v --mkinitrd --make-default --install ${KPVER}-${KBRANCH}-${KPBUILD}   new-kernel-pkg -v --mkinitrd --dracut --make-default --install ${KPVER}-${KBRANCH}-${KPBUILD}
452   fi   fi
453    
454   if [[ ${USE_KERNEL_SYMLINKS} = true ]]   if [[ ${USE_KERNEL_SYMLINKS} = true ]]

Legend:
Removed from v.22123  
changed lines
  Added in v.30422