diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-14 08:53:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-14 12:36:00 +0000 |
commit | b6fb8dadf25838f8fd8fa0542853236d75a63b7d (patch) | |
tree | 5e708523ff8fae2f11f4ece3b14fa7c05640dbf8 | |
parent | 45e883c9c5f48c73d35d48cf7096d50179ea9818 (diff) | |
download | aports-b6fb8dadf25838f8fd8fa0542853236d75a63b7d.tar.bz2 aports-b6fb8dadf25838f8fd8fa0542853236d75a63b7d.tar.xz |
main/linux-grsec: fix generated utsrelease.h
fixes #4434
(cherry picked from commit 521fc31bda433360f39180603b463ea38c48e303)
-rw-r--r-- | main/linux-grsec/APKBUILD | 4 |
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 |