diff --git a/srcpkgs/kernel-snapshot/template b/srcpkgs/kernel-snapshot/template index 496f96ef4f4..b866fe1b1c3 100644 --- a/srcpkgs/kernel-snapshot/template +++ b/srcpkgs/kernel-snapshot/template @@ -2,7 +2,7 @@ # _kmajor=3.7 _kminor=0 -_kpatch=rc4 +_kpatch=rc6 pkgname=kernel-snapshot version=${_kmajor}.${_kminor}${_kpatch} @@ -11,16 +11,12 @@ wrksrc="linux-${_kmajor}-${_kpatch}" maintainer="Juan RP " homepage="http://www.kernel.org" license="GPL-2" -depends="dracut linux-firmware module-init-tools" -makedepends="perl kmod openssl which elfutils" -subpackages="kernel-snapshot-headers" -triggers="kernel-hooks" short_desc="The Linux kernel and modules (testing snapshot)" long_desc=" This package provides the linux kernel image and associated modules for the testing kernel (future stable releases)." distfiles="http://www.kernel.org/pub/linux//kernel/v3.0/testing/linux-${_kmajor}-${_kpatch}.tar.xz" -checksum=19d5b69d2c6fa12b9b502f9f3d881538d6b38201996e5f1316c017b7a2f30810 +checksum=43bc96a2fe7419620d89476a3c35321212eca80ecc5e22ef81dca7b60dc67f83 _kernver="${_kmajor}.${_kminor}-${_kpatch}_${revision}" kernel_hooks_version="${_kernver}" @@ -39,6 +35,12 @@ nostrip=yes noverifyrdeps=yes preserve=yes +depends="dracut linux-firmware kmod>=11_2" +makedepends="perl kmod>=11_2 openssl which elfutils" + +subpackages="kernel-snapshot-headers" +triggers="kernel-hooks" + do_configure() { # If there's a file called -dotconfig, use it to # configure the kernel; otherwise use arch defaults and all stuff @@ -181,5 +183,5 @@ do_install() { find ${DESTDIR} -name '*.ko' -exec xz -9 {} \; # ... and run depmod again. - depmod -b ${DESTDIR} ${_kernver} + depmod -b ${DESTDIR}/usr ${_kernver} }