aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-01-15 12:29:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-01-15 12:30:52 +0000
commitad857f06b2bb005c9ad7ed41551a0bef0fe8ed38 (patch)
treeb64927665f8d6f26c1fa0df0e8d340e39fa5753c /main/linux-grsec/APKBUILD
parenta9d9046b18559804639a58bfc2a144fe0ad2439b (diff)
downloadaports-ad857f06b2bb005c9ad7ed41551a0bef0fe8ed38.tar.bz2
aports-ad857f06b2bb005c9ad7ed41551a0bef0fe8ed38.tar.xz
main/linux-grsec: force flavor be a part of kernel version
Diffstat (limited to 'main/linux-grsec/APKBUILD')
-rw-r--r--main/linux-grsec/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index f47ffa8d94..6f3dc50f88 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -7,7 +7,7 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=${pkgver};;
esac
-pkgrel=0
+pkgrel=1
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
depends="mkinitfs linux-firmware"
@@ -57,7 +57,8 @@ prepare() {
return 1
fi
- echo "-$pkgrel" > localversion-alpine
+ rm -f localversion*
+ echo "-$pkgrel-$_flavor" > localversion-alpine
mkdir -p "$srcdir"/build
cp "$srcdir"/$_config "$srcdir"/build/.config || return 1