Commit 633929f8 authored by Natanael Copa's avatar Natanael Copa

main/linux-virt-grsec: fix flavor/version

We include the '-virt' part in the uname -r. This allows us to have
linux-grsec installed in parallel.
parent f6e0ced5
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: <bpiotrowski@alpinelinux.org>
_flavor=grsec
pkgname=linux-virt-${_flavor}
_flavor=virt-grsec
pkgname=linux-${_flavor}
pkgver=3.12.7
case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=${pkgver};;
esac
pkgrel=0
pkgrel=1
pkgdesc="Linux kernel for virtual guests 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
......
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