aboutsummaryrefslogtreecommitdiffstats
path: root/core/linux-grsec/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-02-11 13:34:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-02-11 13:34:59 +0000
commitf4a3908bf5bc3eef0a344e03ea6ff88042c4a583 (patch)
treed1e1bf367601fbd874450a91e66f45accbf528e8 /core/linux-grsec/APKBUILD
parent87ce86a112ca081c1f93d2bbaa2d92718732913f (diff)
downloadaports-f4a3908bf5bc3eef0a344e03ea6ff88042c4a583.tar.gz
aports-f4a3908bf5bc3eef0a344e03ea6ff88042c4a583.tar.bz2
aports-f4a3908bf5bc3eef0a344e03ea6ff88042c4a583.tar.xz
core/linux-grsec: rename kernel after flavor
Call kernel grsec rather than vmlinuz. This allows us to have various kernels in parallel.
Diffstat (limited to 'core/linux-grsec/APKBUILD')
-rw-r--r--core/linux-grsec/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/linux-grsec/APKBUILD b/core/linux-grsec/APKBUILD
index 806d3f7276..03cbd11210 100644
--- a/core/linux-grsec/APKBUILD
+++ b/core/linux-grsec/APKBUILD
@@ -1,11 +1,11 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=linux-grsec
pkgver=2.6.26.8
-pkgrel=1
+pkgrel=2
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
-_kernver=2.6.26
arch=i486
-makedepends="$pkgname-sources module-init-tools perl"
+makedepends="$pkgname-sources perl"
source="kernelconfig"
subpackages="$pkgname-mod"
license=GPL-2
@@ -21,6 +21,7 @@ build() {
make modules_install install \
INSTALL_MOD_PATH=$pkgdir \
INSTALL_PATH=$pkgdir/boot
+ mv "$pkgdir"/boot/vmlinuz "$pkgdir"/boot/${pkgname#linux-}
}
md5sums="7bff4dd7b5f8ef83e6a3c2e2e5d5fbec kernelconfig"