diff --git a/srcpkgs/sun7i-kernel/template b/srcpkgs/sun7i-kernel/template index bdb9bc2517b..0e6036d48c8 100644 --- a/srcpkgs/sun7i-kernel/template +++ b/srcpkgs/sun7i-kernel/template @@ -6,7 +6,7 @@ _gitshort="${_githash:0:7}" pkgname=sun7i-kernel version=3.4.103 -revision=2 +revision=3 maintainer="Juan RP " homepage="http://www.kernel.org" license="GPL-2" @@ -41,6 +41,9 @@ do_configure() { # Apply backported kernel firmware changes required by eudev>=2.1. $XBPS_FETCH_CMD https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/core/linux-sun7i/0001-Backport-firmware-loader.patch patch -p1 -i 0001-Backport-firmware-loader.patch + # Apply backported kernel msdos partition UUID changes + $XBPS_FETCH_CMD https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/core/linux-sun7i/0001-Backport-msdos-partition-UUIDs.patch + patch -p1 -i 0001-Backport-msdos-partition-UUIDs.patch unset LDFLAGS if [ -f ${FILESDIR}/config ]; then @@ -156,7 +159,7 @@ do_install() { # Compress all modules with xz to save a few MBs. msg_normal "$pkgver: compressing kernel modules with gzip, please wait...\n" - find ${DESTDIR} -name '*.ko' -exec gzip -9 {} \; + find ${DESTDIR} -name '*.ko'|xargs -n1 -P0 gzip -9 # ... and run depmod again. depmod -b ${DESTDIR}/usr -F System.map ${_kernver}