diff options
Diffstat (limited to 'system/easy-kernel-power8-64k/APKBUILD')
-rw-r--r-- | system/easy-kernel-power8-64k/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/system/easy-kernel-power8-64k/APKBUILD b/system/easy-kernel-power8-64k/APKBUILD index e1dd52bdc..50f12a741 100644 --- a/system/easy-kernel-power8-64k/APKBUILD +++ b/system/easy-kernel-power8-64k/APKBUILD @@ -3,8 +3,8 @@ # KEEP THIS IN SYNC with the other easy-kernel packages. _kflavour=-power8-64k _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 (with 64K page size)" 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 -bb55fe8fbe2850608d748b920e7421f114eda88fd4264e0d96eaab844ec36798e4a6ff9c0c8cbebac9367dad9a84e8ac494e79b170822b4113d1fbd13286a05e config-ppc64" +b4f8d49567243ea97731d031b1850d8b764177597c14a4ec56af0235c1cc5d69a336985db89fc941ea3b9c8ba3eac7ef63f4c7370a945f7b8fab3ba0c0f140aa config-ppc64" |