Commit ad857f06 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/linux-grsec: force flavor be a part of kernel version

parent a9d9046b
...@@ -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=0 pkgrel=1
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"
...@@ -57,7 +57,8 @@ prepare() { ...@@ -57,7 +57,8 @@ prepare() {
return 1 return 1
fi fi
echo "-$pkgrel" > localversion-alpine rm -f localversion*
echo "-$pkgrel-$_flavor" > localversion-alpine
mkdir -p "$srcdir"/build mkdir -p "$srcdir"/build
cp "$srcdir"/$_config "$srcdir"/build/.config || return 1 cp "$srcdir"/$_config "$srcdir"/build/.config || return 1
......
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