Commit 521fc31b authored by Natanael Copa's avatar Natanael Copa

main/linux-grsec: fix generated utsrelease.h

ref #4434
parent 4bc340f6
...@@ -7,7 +7,7 @@ case $pkgver in ...@@ -7,7 +7,7 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.*};; *.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=${pkgver};; *.*) _kernver=${pkgver};;
esac esac
pkgrel=1 pkgrel=2
pkgdesc="Linux kernel with grsecurity" pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net url=http://grsecurity.net
depends="mkinitfs linux-firmware" depends="mkinitfs linux-firmware"
...@@ -171,6 +171,8 @@ dev() { ...@@ -171,6 +171,8 @@ dev() {
# external modules, and create the scripts # external modules, and create the scripts
mkdir -p "$dir" mkdir -p "$dir"
cp "$srcdir"/config-grsec.${CARCH} "$dir"/.config 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}" \ make -j1 -C "$srcdir"/linux-$_kernver O="$dir" HOSTCC="${CC:-gcc}" \
silentoldconfig prepare modules_prepare scripts silentoldconfig prepare modules_prepare scripts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment