aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-14 08:53:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-14 08:53:43 +0000
commit521fc31bda433360f39180603b463ea38c48e303 (patch)
treebe9e93e380ebc133afcf0799ff7b327d7819ef57 /main/linux-grsec
parent4bc340f61d05de36d6df6dedd65cbae0a2884629 (diff)
downloadaports-521fc31bda433360f39180603b463ea38c48e303.tar.bz2
aports-521fc31bda433360f39180603b463ea38c48e303.tar.xz
main/linux-grsec: fix generated utsrelease.h
ref #4434
Diffstat (limited to 'main/linux-grsec')
-rw-r--r--main/linux-grsec/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index 43426489a7..b587e025bd 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -7,7 +7,7 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=${pkgver};;
esac
-pkgrel=1
+pkgrel=2
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
depends="mkinitfs linux-firmware"
@@ -171,6 +171,8 @@ dev() {
# external modules, and create the scripts
mkdir -p "$dir"
cp "$srcdir"/config-grsec.${CARCH} "$dir"/.config
+ echo "-$pkgrel-grsec" > "$dir"/localversion-alpine \
+ || return 1
make -j1 -C "$srcdir"/linux-$_kernver O="$dir" HOSTCC="${CC:-gcc}" \
silentoldconfig prepare modules_prepare scripts