summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-07-27 19:22:14 +0200
committerMichał Górny <mgorny@gentoo.org>2024-07-27 20:12:47 +0200
commitd8443339fbbf7e23d62ff19411d822c4b9b33a43 (patch)
treebe281ad62654866f4a84f024dea3d366eb63668c /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 6.6.43 (diff)
downloadgentoo-d8443339fbbf7e23d62ff19411d822c4b9b33a43.tar.gz
gentoo-d8443339fbbf7e23d62ff19411d822c4b9b33a43.tar.bz2
gentoo-d8443339fbbf7e23d62ff19411d822c4b9b33a43.zip
sys-kernel/gentoo-kernel-bin: Bump to 6.1.102
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.102.ebuild132
2 files changed, 138 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 0fc90fc9ae5a..84ac7c026a21 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -22,6 +22,8 @@ DIST genpatches-6.1-109.base.tar.xz 5540948 BLAKE2B b6fdb5f6641ca8617c976f69bb73
DIST genpatches-6.1-109.extras.tar.xz 4052 BLAKE2B 562d5137c87031ff9f43b4d081b26b35cf4bd3c5fe074ee826edc8ece2ed074eeecf55c8914ca728267a9f78d907a51354c3688186d442d9fc02340224a0c71e SHA512 0370a5cfd83a1c87828396e49f003b29fc68dea1568f6de417fe488aaf045e349f0b84695f3643ad9811b4f57ef31237ffb9a97c72294139aba94557e1f67a18
DIST genpatches-6.1-110.base.tar.xz 5564556 BLAKE2B f479e7fc7a12222c9b0268825fc8200e5bc3d73b81cd2d5b64bd321bc66b4563ae17d2bb66a0b0610dbac3059564b856d16c6ee122ed51a4c72d18795575ea65 SHA512 a0e8beec29ec7c63fbad02d13acf561ae694847d482f34a9120a06692aa4df1440433b19027484d3ef6a50221411bf34d175a4c833cda56aac4578da8b0b67d5
DIST genpatches-6.1-110.extras.tar.xz 4052 BLAKE2B aeded3974b119221fe8546f59eaa9a89842b24c0dd7d1ea45be003dbf91a62194b04d01e9811abb4a4af21b0e7b77e35b521a94f6042954f6fc09958fb41a84b SHA512 729ba854dc3513d9149860015013ea8e539bbe6adca5a28c53184fe0cb722307e96998c26dc1966e25d232e19e3188daf4adece4692d2804132ef956267629ee
+DIST genpatches-6.1-112.base.tar.xz 5686744 BLAKE2B 2a45c958031096547d8db5c43413057444bc76eabb91937554f78c9beac08318cba3ef890e455cbdd85f0b08e6d759a2374237a2be75293812df3bc68fdf1663 SHA512 c0c2a19af8f2bf1e76d89e084eaf4fa733bf868c11b3263f983b060f4cc7d82869ef1659939d097acce33339e25ed4f0b0f3144499913fb1ace8aded593d8a24
+DIST genpatches-6.1-112.extras.tar.xz 4056 BLAKE2B d592f37cdd0c21afb347ff53965f6fc9ab962b8ad48d666cbc55dd91a32701918669b8fe8997757aa55d5923829c237aa27b7d819faff74dbac2fe88b5863fca SHA512 aff46e4c47e3e0398a8d371a8821afd7d6d7ee33997834dc5532e007e8b69b333705d6978f0a32496073eb6d06607cb34626a1bc932376361ce2baa9587f918b
DIST genpatches-6.10-4.base.tar.xz 15672 BLAKE2B 3dfb069409ca8c1cc8022daaeda3f45443c4e11ab1b086d8178ae4bd7e9a77fdbd8016484324248370bfa4b92e1a10cfa67d40592fafcd8540cc917c60b52ea1 SHA512 ea2f80b065c59b485446c8acc174b93a688b9e6d5de8cd9bf307a43811f6087368b528647a2371636b22dc082735b57e470e9c5d1092972c3890a9c628db723c
DIST genpatches-6.10-4.extras.tar.xz 4056 BLAKE2B b1cc5a0d37760aac34837b9f7b26240d92afa816b5456a334deaaff8e911cba25f15c5e168bcba86b80d9fbe006a4b07cf4aa963e68a92e5152033cbcb080be0 SHA512 765b58ae1ce61678dce39b27e9212844cfd991e222384c7650355a374a236918f622549d49d5d483bfbc6dfaa74120b66976e85bbfdb6b54b0e871f1d5d5ec60
DIST genpatches-6.6-42.base.tar.xz 2474752 BLAKE2B 074b24c3848ba0b2521d364d67222ab324cfacc3036b2c3b9ceebebf03afcf21d963921841f6f987422e904be35653f9dafc2a795ed6eaa050d6a37595bdd111 SHA512 6ce7c93c92a5f2951c9a60b7a058560dec8c3f9c16f00ac4b58c23f88ceaf9cbc519653320bc95f45039219eecb068247f3c27ac448c8695ed8c9e93022fdc37
@@ -82,6 +84,10 @@ DIST gentoo-kernel-6.1.100-1.amd64.gpkg.tar 72570880 BLAKE2B e8aa0a2f5455fb70693
DIST gentoo-kernel-6.1.100-1.arm64.gpkg.tar 65546240 BLAKE2B 2e673badd76cdb6dbb2cd5e4a2ba6b8848db477cf5d4f46dcde791c3b8fce1920632ba1309cfad2a5a8353e208f0eb5ed6a58d830a72ce3b6d3ff9ab25eaa467 SHA512 a18c5a2b3d37709307f6c4be17fbc8d8944764cec54197d61ba9bf2883b61324ccc0d2d3064ced624b6522c60feb22bd78ee514c9df626608af7fbb845f7870a
DIST gentoo-kernel-6.1.100-1.ppc64le.gpkg.tar 59791360 BLAKE2B 485d690f30beeb3ea27b62da14fbf20bf5977df6b23b69dda6b5fe9ab6939988bc592be94e5d5ade7bb1c86d249b1aae0a2cdb25e2b38bf74c48cb8a1135bc1e SHA512 b70e509f8fabbe843fdf6865524bd6cc325bb7ddd165c80672ff6f435880dd8455ba2ca59ff626df99431d18c496537127de930af50a4e97e02eb4f89690bbe9
DIST gentoo-kernel-6.1.100-1.x86.gpkg.tar 62136320 BLAKE2B d2b814fae665d38034a02a89b736ad366e4797fdb31410e32849abe352d189728659742bd8805718028cb6931772675bbf0ad23ca2831d8f64f7e2d37c5b843d SHA512 05d5c42cddb8506509ec664f49e170ec47918aace2160ed45aef5157795c38460e6c956314d03bb0ebc2e7dd4e0ecc0d924f4f6d945169580cc1d235bca22661
+DIST gentoo-kernel-6.1.102-1.amd64.gpkg.tar 72570880 BLAKE2B 8e984116c16e2b62e5d853b30fcaee42acc255ca1fcac84a490aeca6cf4b23de1a8e1fd21cd5edbf929a7d8d227615c607fd6b184eb9ff49dcbd6187ad3d6eaf SHA512 88958079ab1eee27931b1755d5d63b2ced1fcfd7289e426d5493769e4259238dff35a3fd66faf75559715dc172705204d92595380c6e73d6aa9fd8ce90f494de
+DIST gentoo-kernel-6.1.102-1.arm64.gpkg.tar 65556480 BLAKE2B 17d87919197dd8c0f35b3f1c569e33a8824faaeed8c2b9744d2a88f3c50c89bfefb7cc5640a533b1c13ed086f59302b035f2836585bd769bbfb564580a052659 SHA512 a08df71b201f0de383392504f3509d0c4eb2e2d09ca97e979fba7d767bf31a6b1f55ba3929d31ef63ee6b37e8c8b81e58d7ffb51f3b27bf4214d5ae016cb8d05
+DIST gentoo-kernel-6.1.102-1.ppc64le.gpkg.tar 59801600 BLAKE2B 8bee857915de42008c1af3b201559965c6155f8eb0ca8fee250d98e8e3e85a1b11305356dc4e50f67062db3e9be9f27a54edb93eae2815b83cb2c4f8c9eef232 SHA512 5115b03b54e44b2bcf8eee7516797bca8c20d382949896dce17f93bbb8533c4643c75314faf46674d65ef799360142c06cc5c46f6372ba92ac80170f4d693fd3
+DIST gentoo-kernel-6.1.102-1.x86.gpkg.tar 62126080 BLAKE2B 3566e34da7096ff048e08c1c0682c45f8bc1b62358f78ef45e509cc7a8a29625ca6655d06d4bd8121761a5804bd524ccc944c61cbcc907da262af3cd719eb2be SHA512 c89be293d9737b2f58185b1d74b5309448b8f7f1f78be412832b48b164db64fdc9f7c76229902c02d2d5e7b0303ee941faff4037f75ee74501b0002ddef3c3c8
DIST gentoo-kernel-6.1.95-1.amd64.gpkg.tar 72560640 BLAKE2B 67e26e89e23205c77aca089d6e93a7144e681ab5a71ede7119bafba2f2b0267e9f73ec2a9d244fe560ed5f7ea37159dd5e4d63bf5cce84e61eb9ba9c3e8e7632 SHA512 44091394b9369e8f64985f55fb7497212896d66d267f4ad92352d097b520271aca229df3a1feecb6a5568d1bb08d98563758f3d656768b0856b8e47de92372c1
DIST gentoo-kernel-6.1.95-1.arm64.gpkg.tar 65536000 BLAKE2B f6aefc6963310a5d40b9efc3eb8cb05cec28a285113f1bff26149ad4454aa86636c82f59c6cb2937aed1118c8e8407d1477d9ba471dbe49df9bbb884f395e79a SHA512 545b705a6068606db1c8bf1d31cc4ca80e8b522a2ebf121f414a519145bc97e94af1b340bc8a3a9b527137e2e55a058fc572cb2005836b27ce32573eb3243339
DIST gentoo-kernel-6.1.95-1.ppc64le.gpkg.tar 59791360 BLAKE2B d21ec9b8e44b7291e17b6766afea3cde882470ce89e6ab4565d967614750b2b55ea2c1bb5752aa42d8b66e361a9b1ebb4a91392cfc614b0764589409c3d35f19 SHA512 18a172b9c817a45b425fbb037b8128445ef3e08ba49e82f04a212962a8f0f491c4a3923c6f45d810c407d8171dff2a19e409320130cec1a9805fb837fd66d143
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.102.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.102.ebuild
new file mode 100644
index 000000000000..81911930d7d6
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.102.ebuild
@@ -0,0 +1,132 @@
+# 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##*.} + 10 ))
+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() {
+ local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}"
+
+ # Overwrite the identifier in the prebuilt package
+ echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
+
+ 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
+}