summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-03 17:45:22 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-03 17:46:54 +0200
commit81de59d836205d4a895cb3741065bc3458d9f55e (patch)
tree09ef51edf1f0707ffea15a71b73f025c3af36a56 /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 6.1.43 (diff)
downloadgentoo-81de59d836205d4a895cb3741065bc3458d9f55e.tar.gz
gentoo-81de59d836205d4a895cb3741065bc3458d9f55e.tar.bz2
gentoo-81de59d836205d4a895cb3741065bc3458d9f55e.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.124
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-5.15.124.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 54479c05fd8f..a91200a3c5b8 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -6,6 +6,8 @@ DIST genpatches-5.15-128.base.tar.xz 5056336 BLAKE2B 7b25accd5e2c987050480abac7b
DIST genpatches-5.15-128.extras.tar.xz 3932 BLAKE2B 64d34eee4a4ee36c8d2431d8341723eb0ec32be703fbb3927e7984e9ea365b7907f38b2f013e725221bfb7d867eb63da4e784506615e1cacf9018c58981a2ce3 SHA512 b735304d7990925485ca45f1cd0f6434a96af45269bb3e10b9b67a41f84440654f62831a5160125f8d0c1ff4587ab00294caa1fa5223e8daf86dc0393bc8a695
DIST genpatches-5.15-129.base.tar.xz 5079636 BLAKE2B 9dc533ca9995f272c9f69c277e02f028cf04a1161b6ff18082dc132861549bf9a297a99768bd779ccf0c5ccd26e2bae321e8e233986c23123b3fa549f47a4c35 SHA512 43fd5a4739883915187fa04a5c04e106233ce8e76492240585b6b7dca8f74687c8326117383f84f8d4b8fc1de602b2a9aedfa596ce5a1275777fd15ae0f7a142
DIST genpatches-5.15-129.extras.tar.xz 3932 BLAKE2B 899d47c7df1aa674c6438d2e0e5f70aae7ff0be55ab663d533191721791673f60c90a00b8b42167d99e750a428a65604af84f47aa385049ac91b6599db547b72 SHA512 ff342b8a47ccea5ae86bc4a499a145a331e9c5c52f2ea84b1baa8b17e11d5aa6504fca9d594960c903cbaea65cdd53aa6e634128296b0c76cdb6d4e9bc9c1ca5
+DIST genpatches-5.15-130.base.tar.xz 5153200 BLAKE2B d06514f48706208faec58f2a0f15da99e6e5ca6e311678b307f1734d6d0bc1f86252c6a68f144fec10298e05d27bdcc9d2f09bc2be81b2afb0c2cd2c1cd42d55 SHA512 21943da272b5279b4b85a1ad16a05b6ec21157adf6aa925d97d3ad34cbd46f084df7ecbe6519915ea9ed26de47312aaec92d2a76c30eb5b8da1289a4e3f34d28
+DIST genpatches-5.15-130.extras.tar.xz 3928 BLAKE2B b4b1c6d6ff12356679a50263b39108cb8f9123baa6a3641a33d102fae71fcefb49303582e2509884183c251dbb4a5cff3183cfd60122ed5ecdbd859505bea6bc SHA512 3f0ac344f138b8f7bfbf136a814c4fa3eab7740657cb9b6284fbe6e0465dbbd4c0d411db8cf8621c53f91df05acc42611e5948d9b6b56e75e8b9be658ac555a3
DIST genpatches-5.4-257.base.tar.xz 5959056 BLAKE2B c3c4f47328f4e3ade669e1cb4586a2420618b647fe6cb5d96210cdb8d5baf767d6eb6d9efd4ac48eadaf0f2b108569656c43b2b43a687b635daf9c91475491a1 SHA512 1231ad3f7ceb0451d9aa5a96be803eb48a5656fe63476ec55ccb71a96eadd2c12d2e44074b302b9c2770569abda60275c0ed161b3786d2dd7be6b0a49d4e4f55
DIST genpatches-5.4-257.extras.tar.xz 1812 BLAKE2B 480e82ea79feb52785fc6643c883093f42240395a1d953cd1e5331c012cf64c6f4b292e878a938a9c5bb297e96ab9f80656839de6044c9f1e76c668c2c8e1ec9 SHA512 5322116802c6c0a44abc81911bb83fd7d4aa5b5f7fb4bb35ca78c47c6c0afb188e21a24cc5ac4e2810affa13689c902e97062d66a751630cf0722a2b28b1d83b
DIST genpatches-5.4-258.base.tar.xz 6040776 BLAKE2B 722214955565832dc7ae8719e4c6a6a6c44822469ca73ffc7a4d6ac4ebd5b8c2e04b127ddad873f3b434cd21803b54c385f7de750386494b0995a19aa44cd2c1 SHA512 12b0c24ace3e4376bb377383d14224822f4244caeb687d070be331687f0b98f4c0c85866dc65b78450b76e7628e4ab403b15164b1ff98c45f720cf7d98070442
@@ -38,6 +40,10 @@ DIST gentoo-kernel-5.15.123-1.amd64.gpkg.tar 69519360 BLAKE2B b644beb7b232d75461
DIST gentoo-kernel-5.15.123-1.arm64.gpkg.tar 62525440 BLAKE2B 1288329713e7e16c2550bceb36ff0348fdd9f83414adf6947ee809eebc2a5ff705c7929fa9c6c43a1029ef1428778ce77579d99c80e53d236cae4daa334cff1f SHA512 a3fb7669608bc296973ae6533fde19f2f11f2c8dfd0c6c438d683a82a41f5e3cdab7fd9969e49274d81f78a0c27aa838a0355f82307312151ba61194a2f3607f
DIST gentoo-kernel-5.15.123-1.ppc64le.gpkg.tar 57108480 BLAKE2B 8ac937c177a64c368e6bd1f0581c7eb584638f2b583c6fc17dcb41dbed5e8c4827d718de3b0ad16c4e4fb25b143154b9867e8649bc0311c5717c98a560327d74 SHA512 52df73e38c062d53cdfe279df592c09731599639a154004727bcd8138aaf89235c50a5ede6fd470c920f4570ea48e24d657bfc055e7472d3f1919993f6061d59
DIST gentoo-kernel-5.15.123-1.x86.gpkg.tar 59136000 BLAKE2B 85fd5f0bbe476749cf195b145fe6c04b38b60f3bcbcf93b74d25ca080519361d535f70bdd5687af2dfdc655f935098ec4c9a724ab4ab3a1d84b7557fba3ff6e3 SHA512 2c0d5a15af2dfe9da7aff5fbc9984c92bdb85974e7a5660f6217d33faaae4b74073bd381c051d7948d53aed8677d4e8c64f71903edeba850ea61c9b06636ad9d
+DIST gentoo-kernel-5.15.124-1.amd64.gpkg.tar 69550080 BLAKE2B 326a56dc3786d8d8a9b53a33550f75727f9bf433daadbee586f0fdc6eb71bf21afa0b9f4e657dd9c7104b65555d89b7e014f377c32822d7453aa7389cfc629e8 SHA512 d63160509917c5e90df671dc163b720eec3b638f3daa6bf1f6cd59bc85006dcea47bcb37c4b524f705d0f1344fccf2485ea0a764b713681efef7dab7cc632581
+DIST gentoo-kernel-5.15.124-1.arm64.gpkg.tar 62525440 BLAKE2B 5d35e755983bb2271e1e3beca216ac4c7d30b5d9847a4c9ff9fd36cfc70cf19035620633362060e12399f50a75c05900a45c475a5d94e022004c84db9bf5b12d SHA512 42b1a812c8b9dc2f06bb00b7cd251035f48f7fed3bd6034c41c2deb7fb7343075c45a1fd03e59949f2d849c687480bd1ad79ff94e2a7a232d70bfb66cadd642a
+DIST gentoo-kernel-5.15.124-1.ppc64le.gpkg.tar 57108480 BLAKE2B d3a69a0d1e6141e937df65b74b02a4c13081eb867c496f3e3bc91a7ffc2c1716ff7058395da6c7fb1fd5b399e56ba535f91452c7f24cb7e90c5757292606a140 SHA512 17d7745ed971b9cb01d62a6b31e049c44dd5ca461e53d4a0609097cefc52df16c6a4ba1060a22d0423efd2dfb805273c15b88aba109357eee855b67fd1a3a398
+DIST gentoo-kernel-5.15.124-1.x86.gpkg.tar 59136000 BLAKE2B 299dd60bb17a13066be2303b42ec3f4f921ea1551d4de1ed8643639a5be5d148659a2f091e2b6e7a839d2fea4455bfd955c78988627d311d2da0e6e547026451 SHA512 a3e6edb8000d17ad96f29506af645ddb39b1a66381f557522abe0225694d34cb9f559f8e09cb4ca0cce6dd97492b812bd94618b63f087cf79e4afd66a5d036a4
DIST gentoo-kernel-5.4.250-1.amd64.gpkg.tar 60508160 BLAKE2B 053d8d9b0749cf81edaec06ddb8cb9a48bb2ad7c3648e08504253e24a8365e2882e09abf0cab2f8a667e99a348b652aac79050e54c8d0e074b53cd5a159573c5 SHA512 50a07346595729a8ad462c36423724a3e74c2496892764be54034b4318ea7f1a4aa1a6bd7fdb0401b78e48fee6755f603e59bdf10a22fa810f371fe472877f8b
DIST gentoo-kernel-5.4.250-1.arm64.gpkg.tar 56524800 BLAKE2B 7a170a4f462ffeb2a17e394857581d3fba3dad5fb4f48bf6c891ecbf7eb73c7c6b03e3e7164c90af6944bc055d43dcd1431192e310c54c4b28aed1f652666e92 SHA512 875dde5172de80ac27a53b8a4e38e7744f7ca6361ffbd80fdaa6a6491c1d5d44064bfe010a0ef5ca638f9bbc58c1e1bef7b32f087a4aceb672c9ffb1892c3921
DIST gentoo-kernel-5.4.250-1.ppc64le.gpkg.tar 54200320 BLAKE2B 5e18420429060f5f2c58ceacc570bfbc715f4d76fb80efe6544fc7a2924f37ec4d8739edc2a49a607f89d4243c1aed714fddd8f6ff9bf1283fa673281cbcfa6a SHA512 aacebe370ee7187945db2ee8481d633f6f41da9c045c7a5a4f8cbb1407efb2fd1cd1ad1abe881c54bcc706610d50f3ee0c4ab1f2f039c951e98cc26f158c0f93
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.124.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.124.ebuild
new file mode 100644
index 000000000000..83c6a5e4fa8f
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.124.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2023 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##*.} + 6 ))
+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="
+ sys-devel/bc
+ sys-devel/flex
+ 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
+}