Magellan Linux

Diff of /smage/trunk/include/kernel.sminc

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

revision 13781 by niro, Fri Oct 17 08:03:28 2014 UTC revision 13782 by niro, Wed Oct 30 12:55:24 2019 UTC
# Line 105  case ${KERNEL_TYPE} in Line 105  case ${KERNEL_TYPE} in
105   >= sys-kernel/linux-firmware-${LINUX_FIRMWARE}"   >= sys-kernel/linux-firmware-${LINUX_FIRMWARE}"
106   fi   fi
107   SDEPEND="${SDEPEND}   SDEPEND="${SDEPEND}
108   >= sys-dev/bc-1.06"   >= sys-dev/bc-1.06
109     >= sys-dev/bison-3
110     >= sys-dev/flex-2.6"
111   : ${DESCRIPTION="Kernel image of the '${PVER}-${BRANCH}-${PBUILD}${KERNEL_ARCH_EXTENSION}' kernel branch."}   : ${DESCRIPTION="Kernel image of the '${PVER}-${BRANCH}-${PBUILD}${KERNEL_ARCH_EXTENSION}' kernel branch."}
112   ;;   ;;
113    
# Line 147  kernel_src_prepare() Line 149  kernel_src_prepare()
149   cd ${SRCDIR}   cd ${SRCDIR}
150   kernel_apply_patches || die   kernel_apply_patches || die
151    
152     # fix permissions after the patchwork
153     # gnu patch doesn't support git-style file mode
154     if [ -e tools/objtool/sync-check.sh ]
155     then
156     chmod +x tools/objtool/sync-check.sh || die
157     fi
158    
159   # fixes INSTALL_PATH to /boot and EXTRAVERSION   # fixes INSTALL_PATH to /boot and EXTRAVERSION
160   sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \   sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
161   -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die   -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die
# Line 441  kernel_image_postinstall() Line 450  kernel_image_postinstall()
450   # do not run this if ${MROOT} is set !   # do not run this if ${MROOT} is set !
451   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
452   then   then
453   new-kernel-pkg -v --mkinitrd --make-default --install ${KPVER}-${KBRANCH}-${KPBUILD}   new-kernel-pkg -v --mkinitrd --dracut --make-default --install ${KPVER}-${KBRANCH}-${KPBUILD}
454   fi   fi
455    
456   if [[ ${USE_KERNEL_SYMLINKS} = true ]]   if [[ ${USE_KERNEL_SYMLINKS} = true ]]

Legend:
Removed from v.13781  
changed lines
  Added in v.13782