kernel26: update to 2.6.27.9, add unionfs/squashfs modules.
--HG-- extra : convert_revision : 210b5580d2b2d0d348a44d774e8ad84783d577e6
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
# Template file for 'kernel26'
|
||||
pkgname=kernel26
|
||||
version=2.6.27.3
|
||||
version=2.6.27.9
|
||||
# Vanilla kernel + UnionFS + SquashFS patches.
|
||||
patch_files="
|
||||
unionfs-2.5_for_2.6.27-rc6.diff.bz2
|
||||
unionfs-2.5_fix_for_2.6.27.diff
|
||||
squashfs3.4-2.6.27-rc4.diff.bz2"
|
||||
patch_args="-p1"
|
||||
wrksrc="linux-$version"
|
||||
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
|
||||
build_style=gnu_makefile
|
||||
@@ -9,7 +15,7 @@ make_install_target="modules_install
|
||||
INSTALL_MOD_PATH=$XBPS_DESTDIR/$pkgname-$version"
|
||||
short_desc="The Linux kernel (2.6 branch)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=52d9526ea8df33c9fab3df4564b0147b1866c76b0fd31474b92592567384a02c
|
||||
checksum=fd710a841be6119cdd2c42f92ca405265fb156e279006bb89bb874e4198b3e5e
|
||||
long_desc="
|
||||
This package provides the linux kernel image and kernel modules
|
||||
from the 2.6 branch."
|
||||
@@ -29,7 +35,7 @@ pre_build()
|
||||
fi
|
||||
|
||||
if [ -f $XBPS_TEMPLATESDIR/kernel26-$arch-dotconfig ]; then
|
||||
echo "=> Detected a .config file for your arch, using it."
|
||||
msg_normal "Detected a .config file for your arch, using it."
|
||||
cp -f $XBPS_TEMPLATESDIR/kernel26-$arch-dotconfig \
|
||||
$wrksrc/.config
|
||||
make oldconfig
|
||||
@@ -41,6 +47,7 @@ pre_build()
|
||||
post_install()
|
||||
{
|
||||
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
||||
|
||||
local incdirs="acpi asm-generic asm-x86 config linux math-emu media \
|
||||
net pcmcia scsi sound video"
|
||||
local _archs="alpha arm arm26 avr32 blackfin cris frv h8300 ia64 m32r \
|
||||
@@ -75,7 +82,6 @@ post_install()
|
||||
cp arch/x86/kernel/asm-offsets.s \
|
||||
$destdir/usr/src/linux-$version/arch/x86/kernel
|
||||
|
||||
install -m 644 vmlinux $destdir/usr/src/linux-$version/vmlinux
|
||||
for i in $(find . -name "Kconfig*"); do
|
||||
mkdir -p $destdir/usr/src/linux-$version/$(echo $i | sed 's|/Kconfig.*||')
|
||||
cp $i $destdir/usr/src/linux-$version/$i
|
||||
|
||||
Reference in New Issue
Block a user