diff --git a/srcpkgs/kernel/common-vars b/srcpkgs/kernel/common-vars index d7f2a5cc16b..9580610a853 100644 --- a/srcpkgs/kernel/common-vars +++ b/srcpkgs/kernel/common-vars @@ -2,11 +2,11 @@ # build templates. _kernel_ver=2.6.39 #version=${_kernel_ver} -_kernel_patch_ver=1 +_kernel_patch_ver=2 version=${_kernel_ver}.${_kernel_patch_ver} wrksrc="linux-$version" distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2" maintainer="Juan RP " homepage="http://www.kernel.org" license="GPL-2" -checksum=f9071512d93695e6ba033ef0ad1fdd513856170769f1282751f0e22773e82495 +checksum=ac46f61dea59273554547ca3a11e64706722ccefd8e2dc94a831faf31412da22 diff --git a/srcpkgs/kernel/kernel-headers.template b/srcpkgs/kernel/kernel-headers.template index 59f96c0fa93..90a9294b4e6 100644 --- a/srcpkgs/kernel/kernel-headers.template +++ b/srcpkgs/kernel/kernel-headers.template @@ -14,6 +14,9 @@ noverifyrdeps=yes do_install() { - mkdir -p ${DESTDIR} + mkdir -p ${DESTDIR}/lib/modules/${_kernver} mv ${SRCPKGDESTDIR}/usr ${DESTDIR} + mv ${SRCPKGDESTDIR}/lib/modules/${_kernver}/build \ + ${DESTDIR}/lib/modules/${_kernver} + }