mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 15:02:56 +02:00
linux3.9: update to 3.9.4; compress kmods with gzip.
This commit is contained in:
parent
930a5888bd
commit
17e4c32a2b
1 changed files with 6 additions and 6 deletions
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'linux3.9'
|
# Template file for 'linux3.9'
|
||||||
#
|
#
|
||||||
pkgname=linux3.9
|
pkgname=linux3.9
|
||||||
version=3.9.3
|
version=3.9.4
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="linux-${version}"
|
wrksrc="linux-${version}"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.kernel.org"
|
homepage="http://www.kernel.org"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
short_desc="The Linux kernel and modules (3.9 series)"
|
short_desc="The Linux kernel and modules (3.9 series)"
|
||||||
distfiles="http://www.kernel.org/pub/linux//kernel/v3.x/linux-${version}.tar.xz"
|
distfiles="http://www.kernel.org/pub/linux//kernel/v3.x/linux-${version}.tar.xz"
|
||||||
checksum=89eb61870cadbe4b873a6c1640efaefea74514de84287bf0bcd3879707178841
|
checksum=91b029a3407fc027b6e957b8c1893c9179f47e0f42e99bc46087c6308e403688
|
||||||
|
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
makedepends="bc perl kmod>=11_2 openssl which elfutils"
|
makedepends="bc perl kmod>=11_2 openssl which elfutils"
|
||||||
|
@ -179,9 +179,9 @@ do_install() {
|
||||||
rm -rf ${hdrdest}/arch/${arch}
|
rm -rf ${hdrdest}/arch/${arch}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Compress all modules with xz to save a few MBs.
|
# Compress all modules with gz to save a few MBs.
|
||||||
msg_normal "$pkgver: compressing kernel modules with xz, please wait...\n"
|
msg_normal "$pkgver: compressing kernel modules with gz, please wait...\n"
|
||||||
find ${DESTDIR} -name '*.ko' -exec xz -9 {} \;
|
find ${DESTDIR} -name '*.ko' -exec gz -9 {} \;
|
||||||
|
|
||||||
# ... and run depmod again.
|
# ... and run depmod again.
|
||||||
depmod -b ${DESTDIR}/usr -F System.map ${_kernver}
|
depmod -b ${DESTDIR}/usr -F System.map ${_kernver}
|
||||||
|
|
Loading…
Add table
Reference in a new issue