diff options
Diffstat (limited to 'system/easy-kernel-power8/APKBUILD')
-rw-r--r-- | system/easy-kernel-power8/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/system/easy-kernel-power8/APKBUILD b/system/easy-kernel-power8/APKBUILD index 795bf82a7..3afc9b44e 100644 --- a/system/easy-kernel-power8/APKBUILD +++ b/system/easy-kernel-power8/APKBUILD @@ -3,8 +3,8 @@ # KEEP THIS IN SYNC with the other easy-kernel packages. _kflavour=-power8 _pkgname=easy-kernel$_kflavour -pkgver=4.14.127 -pkgrel=14 +pkgver=4.14.138 +pkgrel=15 pkgname=$_pkgname-$pkgver-mc$pkgrel pkgdesc="The Linux kernel, packaged for POWER8 and POWER9 computers" url="https://kernel.org/" @@ -20,24 +20,24 @@ subpackages="$_pkgname-modules-$pkgver-mc$pkgrel:modules _pkgmajver=${pkgver%%.*} _pkgminver=${pkgver%.*} source="https://cdn.kernel.org/pub/linux/kernel/v${_pkgmajver}.x/linux-${_pkgminver}.tar.xz - https://distfiles.adelielinux.org/source/linux-${_pkgminver}-mc$pkgrel.patch.xz + https://distfiles.adelielinux.org/source/linux-${_pkgminver}-mc$pkgrel-patches.tar.xz ast-endianness.patch config-ppc64 " builddir="$srcdir/linux-${_pkgminver}" prepare() { - cd "$srcdir" - cat linux-${_pkgminver}-mc$pkgrel.patch.xz | unxz -> linux-${_pkgminver}-mc$pkgrel.patch - patch -Np1 -d "$builddir" <linux-${_pkgminver}-mc$pkgrel.patch + for patch in "$srcdir/linux-${_pkgminver}-mc$pkgrel-patches"/*; do + patch -p1 -i "$patch" + done default_prepare + cd "$srcdir" cp config-$CARCH linux-${_pkgminver}/.config cp -pr linux-${_pkgminver} linux-src } build() { - cd "$builddir" make LDFLAGS="" cd "$srcdir/linux-src" @@ -46,7 +46,6 @@ build() { } package() { - cd "$builddir" mkdir -p "$pkgdir"/boot make INSTALL_PATH="$pkgdir"/boot \ INSTALL_MOD_PATH="$pkgdir" \ @@ -89,6 +88,6 @@ src() { } sha512sums="77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8 linux-4.14.tar.xz -61eda169a4bd195202f1cf82a6d7c8ff10e420cfa1ad67ab8346ed868e154196e9c13002bf4849d6afe6d7115bcd139c6bb395791446ec2f69aa2adebfdf675f linux-4.14-mc14.patch.xz +f81ad5ed82bc1141b97be22c3767d3c1984bed50ff847f3596609bdece05a70ba8e73fb7d5aa3163898b7e77c8b5eb4d8be4f2e9f84f17579f8b70c96f465317 linux-4.14-mc15-patches.tar.xz e41d9111219342ad13367902242444ecdd847a93575c3f9709d6c6a075bc650f4a15be9db1a8798435fc0a0b56d41705829bfe0d2c2d88f8d1c28931e27ef5be ast-endianness.patch -fb71111ce161fb37203f5f24b0106272f6b203d21877684d65b3a851542b88222dfcf9ee37a6426788621831193ab3aebc8ab20b4444492ffe7cf58dc0a72abd config-ppc64" +dca57ab8f44951fe3ce2c5b0ed33680e51063ead66d1c6a201244231b57b7a780db06285bf59e8afe8b855479a57c9990abf9c7c649c0a73ef8f4c3e6f9cb10d config-ppc64" |