From e6d8772a97913d561249930230d237c33d4525cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 16 Apr 2015 13:22:06 +0300 Subject: main/linux-rpi: fix kernel.release place --- main/linux-rpi/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main') diff --git a/main/linux-rpi/APKBUILD b/main/linux-rpi/APKBUILD index cfc5eabe78..8ede826f19 100644 --- a/main/linux-rpi/APKBUILD +++ b/main/linux-rpi/APKBUILD @@ -7,13 +7,12 @@ case $pkgver in *.*.*) _kernver=${pkgver%.*};; *.*) _kernver=${pkgver};; esac -pkgrel=1 +pkgrel=2 pkgdesc="Linux kernel with Raspberry Pi patches" url=https://github.com/raspberrypi/linux depends="mkinitfs linux-firmware" makedepends="perl installkernel bash gmp-dev bc" options="!strip" -_config=${config:-kernelconfig.${CARCH}} install= source="http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$_kernver.tar.xz http://ftp.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.xz @@ -70,6 +69,7 @@ prepare() { # remove localversion from patch if any rm -f localversion* + for i in $_flavors; do local _config=config-$i.${CARCH} local _builddir="$srcdir"/build-$i @@ -129,7 +129,7 @@ _package() { rm -rf "$_outdir"/lib/firmware install -D include/config/kernel.release \ - "$_outdir"/usr/share/kernel/$_flavor/kernel.release + "$_outdir"/usr/share/kernel/$_buildflavor/kernel.release } # main flavor installs in $pkgdir -- cgit v1.2.3