diff options
-rw-r--r-- | main/linux-rpi/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
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 |