summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-08-03 20:08:14 +0200
committerMichał Górny <mgorny@gentoo.org>2024-08-03 20:10:58 +0200
commit81d4381d0500adb5d2aa0a1d1f60af98f0e138b0 (patch)
tree630fd575aa185acb11754a8a3ed9777bd8d14c00 /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 6.6.44 (diff)
downloadgentoo-81d4381d0500adb5d2aa0a1d1f60af98f0e138b0.tar.gz
gentoo-81d4381d0500adb5d2aa0a1d1f60af98f0e138b0.tar.bz2
gentoo-81d4381d0500adb5d2aa0a1d1f60af98f0e138b0.zip
sys-kernel/gentoo-kernel-bin: Bump to 6.1.103
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.103.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 ad4275026562..a35bcf4f14d2 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -26,6 +26,8 @@ DIST genpatches-6.1-110.base.tar.xz 5564556 BLAKE2B f479e7fc7a12222c9b0268825fc8
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.1-113.base.tar.xz 5796104 BLAKE2B 0b6ca23a1a97810646b3424764e71335f6749ac5462ef5b6baa37b1873b106cce103654b8efa8c91fb137fb253638bddf250247b2e4db8e160e2ea714eb23cca SHA512 eef7a965a901e749a60b3f9486d8c281d353c47637f6468d53521771dedc26de3dd8d9582adc72da4730f55dc5f1b5a4555f03281c3a836d1760c40920464446
+DIST genpatches-6.1-113.extras.tar.xz 4056 BLAKE2B eb8f6f49888245bc0f9b174f326a19658871dd3d2c34fef83514469b14d8a7ea84c0efc17f988143324779b571251881732d906975902ae77210eb7a20aec938 SHA512 09b36640d1c31ec865031810254ff2613e0945634b8afb54dfa9c4c22924b1e37f53559e9a7bca9307c2d0c15b0cccfbc588fb795b7eeb38d0f33e050ab53de6
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.10-6.base.tar.xz 257104 BLAKE2B 13309e86f5b16ff79797736ac91214698afb07ebc167eb22bbc354432f64e26dc3c19e0e4bccaf4fac7f0c858b7739317db3ffec9eef596eda5c2a45e785bac3 SHA512 55c009415c1b03c02a5e0251c8a12adf9eeba0fa7010cde100735880332127bda25bbbc59f9105c091fbc5bd67d7bbcc4fe02fbf4de7bee645bc679649ca3a67
@@ -98,6 +100,10 @@ DIST gentoo-kernel-6.1.102-1.amd64.gpkg.tar 72570880 BLAKE2B 8e984116c16e2b62e5d
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.103-1.amd64.gpkg.tar 72591360 BLAKE2B 78c4889e9afd85e881b8e7b7e640d7a356fc7805493a524a176a085730f9fed9bde6b43ae366d5262120e40c85b5749a2d0b7f46c3cdf95fefb18d31be81bd6a SHA512 482a87425ef5bb747642bf8a0e0f001c7b3d6ed1f11b772e21df8db73b3c50d47658d493a4b6f984287e24b82bbb7d7633026bc7c56f52fd51d426654a24144a
+DIST gentoo-kernel-6.1.103-1.arm64.gpkg.tar 65546240 BLAKE2B 94a689d7258f636e79a9c853ba553368b48004ca7493ce93a1b6d25574de11421661753bbd92f66f528adf99ea71c663e7fda56be09812590ae7c94d431a2a30 SHA512 84410b9f8f4c549858d18ebc7ee6fcc50dc4fde6dfc1212590dd626f6f070aa1d92eb8dda4d6008a8c7314218bbc1e89b1dacd843c83a1b4fab4dbf897b798db
+DIST gentoo-kernel-6.1.103-1.ppc64le.gpkg.tar 59801600 BLAKE2B 0b97f7cafd220db98f389f0dafc88d8acadac95ba5740a2301a15ac18e3db6550e30458faf0b248727d1c60926a4b20d8158e6954b1834252e3b8a28e54b4c0a SHA512 cf7103659e4fd4e58de6519bc23aaf264ee4da77d479f2e51dfc73064eb9f973369fd421cc9c49b122d9706fec5cce084628bf4e9702846ae8851ed2d09d393a
+DIST gentoo-kernel-6.1.103-1.x86.gpkg.tar 62126080 BLAKE2B b64cc16f8d9dc0499b9c0ab3dcfba6199035f6d81496f622859e76f9e0a6a8e240669559190f4fa6a8bf1529257a6ac9ba138d2d6c073c6db720e16463519eb9 SHA512 076b29c080a5193263fa206e799d24205b98ff815b27ae440e40b3beabc9e5c1642a674e86b71b80e05102e5c57c0024bec75424f0a4ff8864d6d0de780286dc
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.103.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.103.ebuild
new file mode 100644
index 000000000000..81911930d7d6
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.103.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
+}