summaryrefslogtreecommitdiffstats
path: root/testing/linux-vserver/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-23 12:30:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-23 12:30:57 +0000
commitf517008cf59235c8c99e24b8f098dad12ae1921b (patch)
treebbae9612b2858215dcd1a8d4c68e6b41515c71b9 /testing/linux-vserver/APKBUILD
parent92f49a48eee6ada03ccd5a55b870bb7588c88029 (diff)
downloadaports-f517008cf59235c8c99e24b8f098dad12ae1921b.tar.bz2
aports-f517008cf59235c8c99e24b8f098dad12ae1921b.tar.xz
testing/linux-vserver: upgrade to 2.6.30.7
also: - depend on linux-firmware - disable IDE stuff, like grsec kernel - move kernel.release to /usr/share/kernel/vserver
Diffstat (limited to 'testing/linux-vserver/APKBUILD')
-rw-r--r--testing/linux-vserver/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/testing/linux-vserver/APKBUILD b/testing/linux-vserver/APKBUILD
index 4901257fd..00f574a26 100644
--- a/testing/linux-vserver/APKBUILD
+++ b/testing/linux-vserver/APKBUILD
@@ -2,12 +2,12 @@
_flavor=vserver
pkgname=linux-${_flavor}
-pkgver=2.6.30.6
+pkgver=2.6.30.7
_kernver=2.6.30
pkgrel=0
pkgdesc="Linux kernel with vserver"
url="http://linux-vserver.org/"
-depends="mkinitfs"
+depends="mkinitfs linux-firmware"
makedepends="perl installkernel"
_config=${config:-kernelconfig}
install="$pkgname.post-install $pkgname.post-upgrade"
@@ -28,6 +28,9 @@ _prepare() {
bunzip2 -c < ../patch-$pkgver.bz2 | patch -p1 -N || return 1
fi
+ sed -i -e 's/EXTRAVERSION = \.6/EXTRAVERSION = .7/' \
+ ../patch-2.6.30.6-vs2.3.0.36.14-pre8.diff || return 1
+
for i in ../*.diff ../*.patch; do
[ -f $i ] || continue
msg "Applying $i..."
@@ -58,12 +61,10 @@ build() {
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_PATH="$pkgdir"/boot
- ln -s vmlinuz-${_abi_release} "${pkgdir}"/boot/$_flavor
-
rm -f "$pkgdir"/lib/modules/${_abi_release}/build \
"$pkgdir"/lib/modules/${_abi_release}/source
install -D include/config/kernel.release \
- "$pkgdir"/usr/share/$pkgname/kernel.release
+ "$pkgdir"/usr/share/kernel/$_flavor/kernel.release
}
dev() {
@@ -113,7 +114,7 @@ dev() {
}
md5sums="7a80058a6382e5108cdb5554d1609615 linux-2.6.30.tar.bz2
-f89295707f68c2b349534b490c9d5f2d patch-2.6.30.6.bz2
+7c91fa862b90d74da3aa83446d69a412 patch-2.6.30.7.bz2
37e45dcf0eb69e8cc8665522dde28f1a patch-2.6.30.6-vs2.3.0.36.14-pre8.diff
ca05fd252783b82e01610e775cf56498 net-next-2.6.git-5ef12d98a19254ee5dc851bd83e214b43ec1f725.patch
-d6c121ed9e568fe4179afc428ff824b6 kernelconfig"
+c0c7c1b1364f7140a1277c110d0bbb83 kernelconfig"