summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-23 11:40:18 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-23 11:42:49 +0200
commit477d69c8ca33265b92a0f6fa94caa3c895a2b4eb (patch)
tree55da84535f1e1c34d85c8127dc9c2125bfa7231d /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 6.1.114 (diff)
downloadgentoo-477d69c8ca33265b92a0f6fa94caa3c895a2b4eb.tar.gz
gentoo-477d69c8ca33265b92a0f6fa94caa3c895a2b4eb.tar.bz2
gentoo-477d69c8ca33265b92a0f6fa94caa3c895a2b4eb.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.169
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-5.15.169.ebuild138
2 files changed, 144 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index b9ae10c8f864..da94c94914fa 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -6,6 +6,8 @@ DIST genpatches-5.15-177.base.tar.xz 7376212 BLAKE2B 4ed8e73ea307a1544b5e6ed04b2
DIST genpatches-5.15-177.extras.tar.xz 4056 BLAKE2B 95e3b595edbe0f3f927aaf93fe28a0342b0d01bd889df73357c09856c5f937eb33d31e6753b1a4f59d3c472bb1c372a7f5f228c1a791182aa9f25c32e537860a SHA512 36f1ea35379d89f09614a94fe9a64d8de2989e72175ccc110723ee91de4ca2498203a2e6e1605cd06a5fc7469276fbb3b0478a5a17a0409e8acd6b2a053a4d38
DIST genpatches-5.15-178.base.tar.xz 7578036 BLAKE2B 2b8da3b41e178d6362e7dd783ee6a00f14d5f2103ef74f8e791a705dea94fa701b4ca06aec41ea277efa943d759a004b4760f61ec29b45a167b46a4898ba8a25 SHA512 bd29d8b6e4ad66fb5d7beb92b7cc8ea57f07ec1f0d311e345904f23d311b081499641ff5d45bbedc256ac99510cb8011cbcfb43d385b8f7ff059fa4e233e82d3
DIST genpatches-5.15-178.extras.tar.xz 4060 BLAKE2B e697a3db43b97846bea924160efe1073736db1ca4c0b9634322a18de6e2da7d1b57c07dbcccd167811aa128072e81884b29e5abcee219e9e095457544bcd1149 SHA512 18e3a1a48c4c0dde29fc25e3a4d1aba2a843d3453363d76533918c71033f35f6cea3d325f0724c60227bea74f9b68fa6a2c870afa3230bad7312d1766825bd2e
+DIST genpatches-5.15-179.base.tar.xz 7600676 BLAKE2B 5654c1db636059018715b1ec3ae0c3f7b5f7cf9e88e4ccb1df9843eb6fc130b204d5e7aa76f77ad21502030ed5050df760b59f2af59fe2074fd9e16e3703d7da SHA512 0900b71b1c43d507a06463a657bb5739964a3badcd189c7aadacfb43758da529a07215cda9fc66fec1e9e25e07ed3d8c0053cb37b0779a01a545a3993cca516a
+DIST genpatches-5.15-179.extras.tar.xz 4060 BLAKE2B d8f7885fac420f6f64dafcd5edf3500c8745fc076a382a9c62cfe1a5fd86a2c1d880ff8fdd0bd12649760ba115abc43de9da76e559330c0272f88c43926fa990 SHA512 01a08098524bf56987a55707b767911270b19b7e7ba032ad84ed3942fcdd073c0bf92443fc7cfe24ce1e88ec065f37f1a5c5c20adf3594151bc933a71c92f9d9
DIST genpatches-6.1-120.base.tar.xz 6050748 BLAKE2B 8e81d186a9e5618d9f561fd0d49974031baa44ddb9b1885bb3ef6298d49b591e1c1582c306eddba07f3da733dea7ed82ae948838989010ee6471c052f99541c6 SHA512 7ec81a4b97becc07a15fc9e888f2e9c340334fb7ee2b9d0083123f67fdef44f7e155bdf7dd662158ea86d7eed3753017401479a5e50cc16eedde145dc77018c9
DIST genpatches-6.1-120.extras.tar.xz 4056 BLAKE2B 2295b59dea7ee450c0d6b109da2fc341e96030616635800a02847f93c4cd0191229c6d74bd68994ac42d2a96691856315127a060cd3873af34357f12ab54193c SHA512 8e1b92d4ab4cb327868f4e06c7bef5a099339c3cf2331ceff3aa3731632d1f8f7b427da5f892540a64f8afd86d89048100b93c8a08d40a99f5760a35553dca25
DIST genpatches-6.1-121.base.tar.xz 6065048 BLAKE2B ef60651e53c53c2e918da2c9dd4759cde88472e2f6aecf4ed6a86f089a282bbdf7acab040c7660e52ea09e441f6008f17ae3d49afcd339e8b91d50cba48bda18 SHA512 e34af3822f10164dc0729d0803c6f3ea05e57c6ac157567bdec6d8d0a3e78fc72252606f3b3160089e7b4b8167ee76b13088cf1d238cc3db2841e2dde63b82aa
@@ -62,6 +64,10 @@ DIST gentoo-kernel-5.15.168-1.amd64.gpkg.tar 68485120 BLAKE2B ad2eb042db715e24b9
DIST gentoo-kernel-5.15.168-1.arm64.gpkg.tar 62433280 BLAKE2B 1472cda7454c884f6765dd7b4532dda53b076ad457f85e1d316239c7af5404b3810c378ebb2689056931abb5656338499bf5569e7399e3c5fb62252952dcdc9e SHA512 fbd0c02bb285daccb73f7fb4bd0f73357cc51501d62a48a7bc1f70d8b5d78e441f9118aebf39c9a352167c5dec9d61b8d93317f1c097bb5b32f49f7e5b41a61b
DIST gentoo-kernel-5.15.168-1.ppc64le.gpkg.tar 56760320 BLAKE2B f8e3f7c28dd2ea2ab37b3f48af075738a9e3fc63736eaed54cbe8ee4aab002a45056de71108f35e68b07685e9e7ed2e73dd413d0205fee1463b741650b5a0722 SHA512 02e5acd109f904d00849ec881c474dfd0d0be1d9ba3120f7ad64e198fc4935dffe2865f106d9bd95b8ce9f4f3a7afa4957b1c952f385a8b1cc0cb58421acee07
DIST gentoo-kernel-5.15.168-1.x86.gpkg.tar 58624000 BLAKE2B 3ebd6c502441512499cee99f4da3c7b8a2950d4ec0da8cefb0a4f194a346f7347af11795b4a39026efa3c1c78e388e9a051e2e8bcad3c5675871d8c9fba05e1b SHA512 b0037034a45f6c1fe9e1381051afe4285c578d63bdd9774f97480029f28fa7b7004a950d59736bf794b78629185d3f87a81b9dd1c66e02ceee68735808c68ed1
+DIST gentoo-kernel-5.15.169-1.amd64.gpkg.tar 68474880 BLAKE2B 937f3211465609c1e87ce3b31d49f1cceecf48e7c9c6de7ce2cc6322d7de471281714219a5b82f96207afaad41240c827b079bcfee566e13f10e099ab60fc4c7 SHA512 614e86bc8e794d108b0838f7cd673e90c04cc5aeaf4141879f1737838fac71d73ddae683a80997a692074c8a74a0dc810195315f50b4717cb4d0209e63c5147a
+DIST gentoo-kernel-5.15.169-1.arm64.gpkg.tar 62423040 BLAKE2B 8788e1f93da7f48385f9533fde291d7ca326f428d21ea53371a3284683dec7186d01ca98e3431a8a41ed0df9323227ab5ef25d140d677772cec036e9ce10ec94 SHA512 616ef3465d5fffdf97af736b951b52d392bc2b9e93f3f46c754c049d088647e4bbd7018b192a13c131441a131f52e1bd86a6f4769dc0ae04961bd4ad0576b301
+DIST gentoo-kernel-5.15.169-1.ppc64le.gpkg.tar 56760320 BLAKE2B 09ff26e5e48231bf18396b28c84893c203ed688e5d396ae5b0c29d0aeac24f097afb862bd306e8e332c8ac7a03dda93ab6fdeabad5cefffe14414a0533c97441 SHA512 fe779f7c55503ec8fde62c4afc225728de59cd7ce8be7832fb51581e2f658bceffb9b452d3e7a4dd8f05f87b11103e1c3f5741a37d3eba541c85e9af2276c1c6
+DIST gentoo-kernel-5.15.169-1.x86.gpkg.tar 58634240 BLAKE2B c69199b516c5bb070c8caad05ef598644340df341a8b81b9ee11215a9d39b482b8de7bba52636cd772b44dbe07064e4e0c33f8048538a5ec8d7896596d6c16e1 SHA512 d12215b112f8f8995ba6db5b5d40429454ea292918c9de80958e012617efc48c202e90d2e473a72f71f444a21296814e2c45e3e21cdf3c89c57a923c899700ba
DIST gentoo-kernel-6.1.110-1.amd64.gpkg.tar 72591360 BLAKE2B 9cf5b83a5d7c1edfc9042d90f19c5b025c845921548f7bcf18176de33fc575d70ffe990a7116549261d51d7f8b8d23388d4f9fd720112895fbc78d9716002f2a SHA512 dfac30054325bc1d38b14e3ed84ef3ee969695c7b899775f6050dcaff37d22d400a9d3b36e22288836bc89a016c65385e8303542998122f01a08b43024e15d45
DIST gentoo-kernel-6.1.110-1.arm64.gpkg.tar 65566720 BLAKE2B 53783496918cae61de0cfddb69b81992a388b1ffb36baa68d0d614805f6a67e5f422aaebc188f16faaecb0558c5d60379db8a4f66c4b843134ace937f7517a51 SHA512 4b0f3802a871e6c73e70a6bc4c856b62748da5a86d4f1b340c472f9238d71d34d89db34106b8565d99873137c9c1849f0732634332f4767a87ba76e593df9494
DIST gentoo-kernel-6.1.110-1.ppc64le.gpkg.tar 59822080 BLAKE2B 8567c0c93616d69b4a464730b09528c789e2e5ea4b1771b4235803c70091b1990a8c6b41e36cbfbce92992277b2afe202b8806437cf4fc68e0ec6f3c3898fc09 SHA512 a8748b00b9e600720966f1ca2bdef5cb9a06fe11010491ef67dbd9f2798af46e859c0c14ff32921a70cd13b83fef763e0d20bc7467dcb7a49b5faa28572371d7
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.169.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.169.ebuild
new file mode 100644
index 000000000000..53b01d5e35e1
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.169.ebuild
@@ -0,0 +1,138 @@
+# 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 HOSTLD="$(tc-getBUILD_LD)"
+ if type -P "${HOSTLD}.bfd" &>/dev/null; then
+ HOSTLD+=.bfd
+ fi
+ 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)"
+ HOSTLD="${HOSTLD}"
+ HOSTAR="$(tc-getBUILD_AR)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP="$(tc-getSTRIP)"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+ READELF="$(tc-getREADELF)"
+
+ # 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
+}