Skip to content

Commit

Permalink
sys-kernel/gentoo-kernel-bin: bump to 5.9.9 for arm64
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
thesamesam committed Nov 20, 2020
1 parent 8265fc6 commit c9e48ae
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys-kernel/gentoo-kernel-bin/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ DIST gentoo-kernel-5.9.8-1.amd64.xpak 63386669 BLAKE2B 6ebe70d1085d0ea33361ab398
DIST gentoo-kernel-5.9.8-1.arm64.xpak 61440507 BLAKE2B 4704fa85533e68763346f3b4ccd462473424404c1e8f0302a69300e48ccc265857c2911aa36b11b38a0fc908d5ba681c4d35038f5cee473172b83ab331075cff SHA512 0df3f58142b0015457de82134b4c3535f8826f6108ef8aa32e2097cc5294fab35a76135fd4a4fdaed50e2b52be149833bd3e9137546f5beca90c7861f3c0c579
DIST gentoo-kernel-5.9.8-1.x86.xpak 56613649 BLAKE2B a43bec4bc59613576749cbb58b6eff8b4e120410ae2dbb3b38b3596eab0a4d5dd56e427d91e4ebe044be9794f36e11dd89174a9ac01678eb4f268813370fd444 SHA512 b1d0a1bae0adc8788d46e19bda9875c49a611da6e4fc786d5a79efc8a5a5bbcb8eafb9f8628029685650235d5ec853d7a40b2ec0dd367c9b2d4436618ce1f2c3
DIST gentoo-kernel-5.9.9-1.amd64.xpak 62935632 BLAKE2B 75fd3d10a25112a79d1ade40dde1ee525fb6ad1c2437ae094610664778523851a41c897b73360631fed4a364cd516a5c7736f3c775ec093c18b4a1f36676536f SHA512 338b6494309c62d22ac7fafce5d81a3ec78368da8e0276dcad1aac1d7b3abb13a0218eac50912035b39a9bd47cd140110a2e0277ac42cb65e336f5b3e22d2caa
DIST gentoo-kernel-5.9.9-1.arm64.xpak 60808290 BLAKE2B eb2e7e90416c80bbb75bd94ab8caa32b54d28a7e084d682930a3f331a59f0293175a65b8e2787ae42e3906cd93874a97d9e40c12d0295ad5f8a8bd5003f1e592 SHA512 0fae0efe241a3cee62ca1e492c96da552562516c61a6976ae593a50c4320c424f489b360c282c944a5c491a1e7ed929ab77ce886539e58f4599b5096c8714553
DIST gentoo-kernel-5.9.9-1.x86.xpak 56074565 BLAKE2B 796c3852f6587c53cbe0ea56c47e20fdcfd1ca6d07ad8bc9268d522cc259ef3346bd7f8fb837e1a7a1d99d189876363d908ce2911e25d97023c3f47d1272ba30 SHA512 51241930d16f82a51072bd34377fd26a4c0110e6063cfcb2fd27322b83607d73724f1539642fc9f5559ce02c2975b1e206583749830fee0f86e015e6a5f6a001
49 changes: 49 additions & 0 deletions sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.9-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit kernel-install

MY_P=${P/-bin/}-1
DESCRIPTION="Pre-built Linux kernel with genpatches"
HOMEPAGE="https://www.kernel.org/"
SRC_URI+="
arm64? (
https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
-> ${MY_P}.arm64.xpak
)"
S=${WORKDIR}

LICENSE="GPL-2"
KEYWORDS="~arm64"

RDEPEND="
!sys-kernel/gentoo-kernel:${SLOT}
!sys-kernel/vanilla-kernel:${SLOT}
!sys-kernel/vanilla-kernel-bin:${SLOT}"

QA_PREBUILT='*'

pkg_pretend() {
ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."

kernel-install_pkg_pretend
}

src_unpack() {
ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
eend ${?} || die "Unpacking ${MY_P} failed"
}

src_test() {
kernel-install_test "${PV}" \
"${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \
"lib/modules/${PV}"
}

src_install() {
mv * "${ED}" || die
}

0 comments on commit c9e48ae

Please sign in to comment.