sun7i-kernel: apply alarm patch for msdos partition UUID support.
This is required by our cubieboard2-uboot pkg.
This commit is contained in:
parent
738d92e32b
commit
5fefb5749e
1 changed files with 5 additions and 2 deletions
|
@ -6,7 +6,7 @@ _gitshort="${_githash:0:7}"
|
|||
|
||||
pkgname=sun7i-kernel
|
||||
version=3.4.103
|
||||
revision=2
|
||||
revision=3
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
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}
|
||||
|
|
Loading…
Reference in a new issue