summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-23 18:14:08 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-23 18:36:24 +0100
commit694fabb94182121a8787f11d231421dd39bfec2d (patch)
treecbc1d30de57962bdf10c5226dfae96a0f31bfab2 /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 5.15.149 (diff)
downloadgentoo-694fabb94182121a8787f11d231421dd39bfec2d.tar.gz
gentoo-694fabb94182121a8787f11d231421dd39bfec2d.tar.bz2
gentoo-694fabb94182121a8787f11d231421dd39bfec2d.zip
sys-kernel/gentoo-kernel-bin: Bump to 6.1.79
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.79.ebuild127
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index caa1f071d02d..77fc8eff7ff3 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -20,6 +20,8 @@ DIST genpatches-6.1-86.base.tar.xz 4574456 BLAKE2B 905d051daa077a0aa697ae78187cc
DIST genpatches-6.1-86.extras.tar.xz 3812 BLAKE2B 6e0dfca04eea9e737e68e8bd94f246628ac5a3e1ad911c41c7c61ce33baaf27b42805af53b0e7969d902078fe989e2b3122d92445b721f92209f5fa5a79eddbc SHA512 4daa5eeccb39c9c033541bb5dd123f16358f0a67f0b087ed0ed22243d46d429a7695f05bdaf84a229f3f483eb73b688b5dcb18110a87f9ad22b84eff24f765fa
DIST genpatches-6.1-87.base.tar.xz 4590376 BLAKE2B 03810f1354881a70c49256a9b71651016c78aadf9d29e82e6077fec4d3a46487c530a987ef6785e78b149fe7f9c1f235f877382cacee59f6239366d4ac3bc5b2 SHA512 dd828b301272d8d0d80a9f51ce0b9b31f493b482af2cac7ab66b1307e3df44d88c7df4b968178d876bb6770b8408346a307aa5f22118f2bac7a35a045659a195
DIST genpatches-6.1-87.extras.tar.xz 3816 BLAKE2B fd1c417c05893ce152db9bd88d6345ec6b17116a202e121e63f5ef4eb25341a87a11d66d19de6ef5355b7876ded0052c1fd3ee6d4847719e3671713135c216fe SHA512 3e705f0ff695b0f9cec228820ef1c469c7a571bf3c24b223a169fa630abf0b96d4e3e8396e3a866defb9f2c435a6c21269cb62f1bfd2de4b27b1c8d5846fc4b9
+DIST genpatches-6.1-88.base.tar.xz 4653064 BLAKE2B 4f97e2991c632a38a16175613f6c2d86e303e6e41d79763c19408b1ffa0345dacdb030de9ed1c101e78ade7dcf9bc68348ba8446b6086ece860b6abc89ea55fb SHA512 ce94b5037088a23ac22213df20de4b9212dc54afb29a725736642641a6c7a63c4dbc3739c9cd84f8d2b4da202d30fb2b1d5847779a51cabbdd058a29833d1bbd
+DIST genpatches-6.1-88.extras.tar.xz 3816 BLAKE2B 5d1aae241a64b9f1dfba85746b70dd1af5a96263f9385d5b264956239c2dd9237d6022819b61cc927177e10721c59e6b4c254e95ac9de771547f0a4c6e7e7960 SHA512 d083e6384786114c05ed5e4198ea90bd84b9959651f20f5c3f7786889583a607777845f4e377a8ad7a6684b91e97ee06cbb524e5827b46684872467eca6354b6
DIST genpatches-6.6-16.base.tar.xz 750868 BLAKE2B 13af5286f51a69dd0ad7b2543bcf0d933865e14c4c865e495f3225a8740bd7579858cbbd72a2099333e8dc241900c166730d4c812183f2636bf3d4049156a71b SHA512 70864a69f8bdb28f8fa3515a33be510a2c529a5c3bc767aede2dae1c290869491d776336be9983259685af9fee2d2bc61c821d0103c47e91b69078bf81fe2c63
DIST genpatches-6.6-16.extras.tar.xz 3704 BLAKE2B a33d9a80926abd8318f124fa6aa25f7181b88a6965c17908232ef2b866a27a5e856e464895994599265e0e57d8e1f81561758df4670f25ef5694e5d5f535ba95 SHA512 8ee1686a16886320b698ac0e3767804fc9bbaf595335203fb2899c727a0ca0f3e551ac13b3cbb97cec8d91e77257aa1da75669f1c41d263960875e9d31303b1a
DIST genpatches-6.6-17.base.tar.xz 894152 BLAKE2B ff9c821916d3b1350ac30a44673eee52df18d5c7766ccfb7e682740889191080e947ca6f78b8f2af3b1b2b879326c0b530a53f7443a54ecd124b27e89e99e6bd SHA512 45b6df20d995ceddbccf72db94062339e021eaa4a121d0591a936e39b1e56c8f2581dd1fde03505914adb787445b4cfd998f7847f640785dfa1c05e7959125aa
@@ -86,6 +88,10 @@ DIST gentoo-kernel-6.1.78-1.amd64.gpkg.tar 72642560 BLAKE2B 2bfb45a9fe122e46811c
DIST gentoo-kernel-6.1.78-1.arm64.gpkg.tar 65638400 BLAKE2B 74289d5ff6bd089d8bfbd1a1a9c417cc2e4110a20a4ed71ad72de3f86468fc097145cb8b8ae69b86bb5876a73018ac63699c7eddfc7a33dca4453b2e4c333074 SHA512 f03a22693ae0f7b99347942014996ebd5b9ab9efa5d8099fd02bceb746830f15821153402edbf996bb67ca55ad3a2d097dbcb0d00fecb4f69c6ddef644096fda
DIST gentoo-kernel-6.1.78-1.ppc64le.gpkg.tar 59883520 BLAKE2B fbf098b1944ccacf9fd7dc8b5c02b73a44a7334acbb6921dca83f8dc3801e733e963bf1b62cdefc3501d061c263e732ed6d080cb031324edea70965db33e16db SHA512 1b4ce9c8bf664acdb467cccec0b9debedc5d4c7e1f66c8969ae3bee84923d3e8765226079923b09ec600f27e90f43bf6b9fdb70446188bb86b4b4bbbd4634d09
DIST gentoo-kernel-6.1.78-1.x86.gpkg.tar 62167040 BLAKE2B 44fd3313ed8fd3f53aabdebe537eea2591ca9c47b21cc5deb676fca702877efc57d5da845dbb998bb3d3af322e16518cd6840f09b13adf7cc5952952ccfd7cfb SHA512 644c13c5afae208a0531d5999e0d8ab7659c4a2df5a2f22b6e723e07d904bfa39665344ffd92ff0417be01bdaf30a4fe5d272f885fd5f6c4b1aabc8fc77c6446
+DIST gentoo-kernel-6.1.79-1.amd64.gpkg.tar 72622080 BLAKE2B 7d8bdc32720c40eb166f1cbec3963a942b943f86edda40664f52840ed42f3f24b9c7aadf3932f554bdb608624d14a7ba9df190fbe1418d3ad3ac497a628547ea SHA512 d51767dd4caf7bd75d5d0ee41c18ac51abe3e56602eeec6b836d69b0abe9e76ec2c8e73c15410928e2d4a3ea8f288b37cdf63e27cc5fd8dd86241c3c82e75798
+DIST gentoo-kernel-6.1.79-1.arm64.gpkg.tar 65638400 BLAKE2B 9945bbe90f410f05590330ac36ac90815ce6dcd8bf791a0554f0f949d266b4496d739f31d445c57acc278e0920abe479221a47b480c3ec0f6a47a8993e06bf5a SHA512 9ac49f8428c258f427641f2206f2af4f2d06a4b9b75957e9d5f8c91d0730dfb6483a70b7e179cc7930e204c4e42b5c74e25762d4839e7d0b45261ea85e0b7826
+DIST gentoo-kernel-6.1.79-1.ppc64le.gpkg.tar 59893760 BLAKE2B cc5b027025366e9de243ed9c6b26b9a272f77db5f9a9d4db288159cd2fc86f60b359562ef8609b83d5034465bbc53cb0451dc245cf0518a02bb1eeb2daa8cf05 SHA512 ec5c97b66c1c2cab2a2bed69f6f2784f97b9030a270451ce36d3318a3fc27ac2a10e1c2928285b29b95c37aca8be60e1d95337b8479a11616aa941c0b50d6607
+DIST gentoo-kernel-6.1.79-1.x86.gpkg.tar 62177280 BLAKE2B c7164aea8e1dc19e2fdfc64dd7261fa387794b20763d8fad3bd23a195a51f05af0f12c55d65986bdc21b85dbb3e2ff5a42f9d23bd968373fba269d3d1659216a SHA512 b1dcede826de6847f94a02beb378d620c06c849c73a62fab4ac36d0039da7036f392eaf61b25150e97ad29fefbd712bb6ea865cb88a644b60447e2a8979420d1
DIST gentoo-kernel-6.6.13-1.amd64.gpkg.tar 146032640 BLAKE2B 322a4c9fba664b7800a9d0e2a229196f0224df8d85768d20a4988daf0c7e990761eda5761bca4a5c56624ff1739ddb92932a07f6bc6305fc6dec5d9924e6b4be SHA512 a920135a123482bdecc390dd5e6da9b29c5d94b1f330af6020af7aad2e67d1cb177e15689a7559c31e495e2610ddc32b99f4fff7045a0f4ce0605f26dd71f3f2
DIST gentoo-kernel-6.6.13-1.arm64.gpkg.tar 118630400 BLAKE2B e5345a1cc613116fca4942d1720efab5437f48043594eebbe47f7a5b218e89ad9aa10f471e896a2b9cab092a4ab3ce61b996c7db8142a6c929a0b65ef6d79169 SHA512 834bcca05da9a196408303181c5f43730be97c24bf4de13acff303aa40027e01d6b594c2fa23ce3b2ffbc37f322150592e11ab732f3586a05971e41ba711ca6a
DIST gentoo-kernel-6.6.13-1.ppc64le.gpkg.tar 64358400 BLAKE2B d7c85ab1ffe7300bbcb6556b119f378d74a7282f33e764517cd35f6bfa0d35107497d00efc0a0258b4bd5932955d03b679b795328b5a827add330184b4ed8cd2 SHA512 80a855ebf8bb439683d5cb2a90e19c277e422e523bcfe5911b5e6ab82ccde01cee03bc3fb96105c5f1b8bab7173d93fc74c6d26ce117073052fc31772a7f1775
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.79.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.79.ebuild
new file mode 100644
index 000000000000..1a845828a60b
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.79.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs unpacker
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 ))
+BINPKG=${PF/-bin}-1
+
+DESCRIPTION="Pre-built Linux kernel with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+BDEPEND="
+ app-alternatives/bc
+ app-alternatives/lex
+ virtual/libelf
+ app-alternatives/yacc
+"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ cd "${MY_P}" || die
+ default
+}
+
+src_configure() {
+ # force ld.bfd if we can find it easily
+ local LD="$(tc-getLD)"
+ if type -P "${LD}.bfd" &>/dev/null; then
+ LD+=.bfd
+ fi
+
+ tc-export_build_env
+ local makeargs=(
+ V=1
+
+ HOSTCC="$(tc-getBUILD_CC)"
+ HOSTCXX="$(tc-getBUILD_CXX)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP=":"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+
+ # we need to pass it to override colliding Gentoo envvar
+ ARCH="$(tc-arch-kernel)"
+
+ O="${WORKDIR}"/modprep
+ )
+
+ mkdir modprep || die
+ cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d ${BINPKG}/image/boot/dtbs ]]; then
+ mv "${BINPKG}"/image/boot "${ED}"/ || die
+ fi
+
+ # strip out-of-source build stuffs from modprep
+ # and then copy built files
+ find modprep -type f '(' \
+ -name Makefile -o \
+ -name '*.[ao]' -o \
+ '(' -name '.*' -a -not -name '.config' ')' \
+ ')' -delete || die
+ rm modprep/source || die
+ cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die
+}