linux3.9: update to 3.9.4; compress kmods with gzip.

This commit is contained in:
Juan RP 2013-05-24 22:46:28 +02:00
parent 930a5888bd
commit 17e4c32a2b

View file

@ -1,15 +1,15 @@
# Template file for 'linux3.9'
#
pkgname=linux3.9
version=3.9.3
revision=3
version=3.9.4
revision=1
wrksrc="linux-${version}"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kernel.org"
license="GPL-2"
short_desc="The Linux kernel and modules (3.9 series)"
distfiles="http://www.kernel.org/pub/linux//kernel/v3.x/linux-${version}.tar.xz"
checksum=89eb61870cadbe4b873a6c1640efaefea74514de84287bf0bcd3879707178841
checksum=91b029a3407fc027b6e957b8c1893c9179f47e0f42e99bc46087c6308e403688
only_for_archs="i686 x86_64"
makedepends="bc perl kmod>=11_2 openssl which elfutils"
@ -179,9 +179,9 @@ do_install() {
rm -rf ${hdrdest}/arch/${arch}
done
# Compress all modules with xz to save a few MBs.
msg_normal "$pkgver: compressing kernel modules with xz, please wait...\n"
find ${DESTDIR} -name '*.ko' -exec xz -9 {} \;
# Compress all modules with gz to save a few MBs.
msg_normal "$pkgver: compressing kernel modules with gz, please wait...\n"
find ${DESTDIR} -name '*.ko' -exec gz -9 {} \;
# ... and run depmod again.
depmod -b ${DESTDIR}/usr -F System.map ${_kernver}