Magellan Linux

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

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

revision 9314 by niro, Fri Nov 25 23:05:58 2011 UTC revision 9463 by niro, Thu Dec 1 15:50:56 2011 UTC
# Line 99  kernel_src_prepare() Line 99  kernel_src_prepare()
99   # fixes INSTALL_PATH to /boot and EXTRAVERSION   # fixes INSTALL_PATH to /boot and EXTRAVERSION
100   sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \   sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
101   -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die   -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die
102    
103     # fix sublevel version with 3.x kernels and higher
104     local kver=$(echo ${PVER} | sed "s:\.::g")
105     if [[ ${PVER%%.*} -gt 2 ]]
106     then
107     local sublevel="$(echo ${PVER} | cut -d. -f3)"
108     sed -i "s:^\(SUBLEVEL =\).*:\1 ${sublevel}:" Makefile || die
109     fi
110  }  }
111    
112  kernel_src_compile()  kernel_src_compile()

Legend:
Removed from v.9314  
changed lines
  Added in v.9463