kernel: add kernel-firmware subpkg and depend on it.

Bump revision.

--HG--
extra : convert_revision : 246c9e5718de9d371ee09fefab229faf5a5c4d2d
This commit is contained in:
Juan RP 2009-08-11 18:58:08 +02:00
parent 45a58485eb
commit 144caa8cb4
3 changed files with 22 additions and 3 deletions

1
templates/kernel-firmware Symbolic link
View file

@ -0,0 +1 @@
kernel

View file

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

View file

@ -1,6 +1,9 @@
# Template file for 'kernel'
pkgname=kernel
version=2.6.30.4
_kernel_ver=2.6.30
_kernel_patch_ver=4
version=${_kernel_ver}.${_kernel_patch_ver}
revision=1
wrksrc="linux-$version"
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
build_style=gnu_makefile
@ -11,9 +14,10 @@ short_desc="The Linux kernel and associated stuff (2.6 branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b52d3949219d912763f6614f1c68d51018f820ca6267f8d194dd5ac8b85159b8
long_desc="
This package provides the linux kernel image, kernel modules
and firmware files."
This package provides the linux kernel image and the
kernel modules."
subpackages="firmware"
triggers="initramfs-tools"
Add_dependency full glibc
@ -22,6 +26,7 @@ Add_dependency full coreutils
Add_dependency full module-init-tools
Add_dependency full initramfs-tools
Add_dependency build perl
Add_dependency run kernel-firmware ${_kernel_ver}
pre_build()
{