kernel-snapshot: update to 2.6.37-rc1.

This commit is contained in:
Juan RP 2010-11-01 18:25:34 +01:00
parent 1afdf1ddb4
commit 1c32573fb4
5 changed files with 466 additions and 309 deletions

View file

@ -1,7 +1,7 @@
# #
# This script builds the required initramfs. # This script builds the required initramfs.
# #
_KVER="2.6.35-rc3" _KVER="2.6.37-rc1"
case "${ACTION}" in case "${ACTION}" in
post) post)

View file

@ -1,7 +1,7 @@
# #
# This script removes the initramfs. # This script removes the initramfs.
# #
_KVER="2.6.35-rc3" _KVER="2.6.37-rc1"
case "${ACTION}" in case "${ACTION}" in
post) post)

File diff suppressed because it is too large Load diff

View file

@ -1,14 +0,0 @@
# Template file for 'kernel-snapshot-firmware'.
#
short_desc="${pkgname} firmware binary files"
long_desc="
This package contains the binary firmware files required
for some hardware, built from the Linux kernel."
noarch=yes
do_install()
{
mkdir -p ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/lib/firmware ${DESTDIR}/lib
}

View file

@ -9,32 +9,17 @@ unset revision triggers build_depends run_depends
pkgname=kernel-snapshot pkgname=kernel-snapshot
#revision=1 #revision=1
_kernel_snapshot=yes _kernel_snapshot=yes
_kernel_ver=2.6.35 _kernel_ver=2.6.37
_kernel_patch_ver=rc3 _kernel_patch_ver=rc1
version=${_kernel_ver}${_kernel_patch_ver} version=${_kernel_ver}${_kernel_patch_ver}
wrksrc="linux-${_kernel_ver}-${_kernel_patch_ver}" wrksrc="linux-${_kernel_ver}-${_kernel_patch_ver}"
distfiles="${KERNEL_SITE}/kernel/v2.6/testing/linux-${_kernel_ver}-${_kernel_patch_ver}.tar.bz2" distfiles="${KERNEL_SITE}/kernel/v2.6/testing/linux-${_kernel_ver}-${_kernel_patch_ver}.tar.bz2"
#version=${_kernel_ver} checksum=3abc44edd3bc4adac2cda6cb570791fa0e03bca7a1d58f7ca89e84340707e7fd
#wrksrc=linux-${version} subpackages="$pkgname-headers"
#distfiles="${KERNEL_SITE}/kernel/v2.6/linux-${_kernel_ver}.tar.bz2"
checksum=7d930a4cd607f2173ca5e1f722cbbb76c1f9002c069db8815bcddc57550a053d
subpackages="$pkgname-firmware $pkgname-headers"
Add_dependency run ${pkgname}-firmware ">=${version}" Add_dependency run linux-firmware
Add_dependency run initramfs-tools Add_dependency run initramfs-tools
Add_dependency build perl Add_dependency build perl
Add_dependency full coreutils Add_dependency full coreutils
Add_dependency full module-init-tools Add_dependency full module-init-tools
post_install()
{
if [ -n "${revision}" ]; then
lver="${_kernel_ver}-${_kernel_patch_ver}_${revision}"
else
lver="${_kernel_ver}-${_kernel_patch_ver}"
fi
mv ${DESTDIR}/lib/firmware ${DESTDIR}/firmware
mkdir -p ${DESTDIR}/lib/firmware
mv ${DESTDIR}/firmware ${DESTDIR}/lib/firmware/${lver}
}