diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-01-15 10:36:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-01-15 10:36:29 +0000 |
commit | 633929f8f3e415b747a40334f925d0fb6e287a84 (patch) | |
tree | 801165cc1ace4d10f34d9e69c2455b4dbdcb4175 /main/linux-virt-grsec | |
parent | f6e0ced500204fafcc51310844aae4e183a0b8f6 (diff) | |
download | aports-633929f8f3e415b747a40334f925d0fb6e287a84.tar.bz2 aports-633929f8f3e415b747a40334f925d0fb6e287a84.tar.xz |
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.
Diffstat (limited to 'main/linux-virt-grsec')
-rw-r--r-- | main/linux-virt-grsec/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/linux-virt-grsec/APKBUILD b/main/linux-virt-grsec/APKBUILD index 375b56c0f..02eec6d71 100644 --- a/main/linux-virt-grsec/APKBUILD +++ b/main/linux-virt-grsec/APKBUILD @@ -1,14 +1,14 @@ # 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 |