From cff722f2e7a0382623bcdb0eb769bd50199cd25e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 26 Jan 2014 17:54:09 +0100 Subject: [PATCH] odroid-u2-kernel: misc tweaks (not revbumping this time). --- srcpkgs/odroid-u2-kernel/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/odroid-u2-kernel/template b/srcpkgs/odroid-u2-kernel/template index 2edb5736db6..55648c1b124 100644 --- a/srcpkgs/odroid-u2-kernel/template +++ b/srcpkgs/odroid-u2-kernel/template @@ -2,6 +2,7 @@ # # Latest commit as of 20140123 _githash="452f4a053d69404a1f69fd3aa4af8ee6524ab2b2" +_gitshort="${_githash:0:7}" pkgname=odroid-u2-kernel version=3.8.13.14 @@ -9,7 +10,7 @@ revision=2 maintainer="Enno Boland " homepage="http://www.kernel.org" license="GPL-2" -short_desc="The Linux kernel and modules for the Odroid U2/U3 (3.12 series [git ${_githash}])" +short_desc="The Linux kernel and modules for the Odroid U2/U3 (${version%.*} series [git ${_gitshort}])" create_srcdir=yes distfiles="https://github.com/hardkernel/linux/archive/${_githash}.tar.gz" checksum=b351402dda80802c006574e319f39c22ef8ca48e049d65a9224fb518d67ffa3c @@ -68,7 +69,7 @@ do_install() { vinstall arch/arm/boot/zImage 644 boot - hdrdest=${DESTDIR}/usr/src/odroid-u2-kernel-headers-${_kernver} + hdrdest=${DESTDIR}/usr/src/${sourcepkg}-headers-${_kernver} # Switch to /usr. vmkdir usr @@ -76,7 +77,7 @@ do_install() { cd ${DESTDIR}/usr/lib/modules/${_kernver} rm -f source build - ln -sf ../../../src/odroid-u2-kernel-headers-${_kernver} build + ln -sf ../../../src/${sourcepkg}-headers-${_kernver} build cd ${wrksrc} @@ -156,7 +157,7 @@ do_install() { odroid-u2-kernel-headers_package() { nostrip=yes noverifyrdeps=yes - short_desc="Linux kernel headers for the Odroid U2/U3 (3.12 series [${_githash}])" + short_desc="Linux kernel headers for the Odroid U2/U3 (${version%.*} series [${_gitshort}])" pkg_install() { vmove usr/src vmove usr/lib/modules/${_kernver}/build