diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-17 18:20:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-17 18:21:13 +0200 |
commit | 886670c551f17035cece2253d11aa8e4333ba532 (patch) | |
tree | 067de0f937e59e6b34127c62358812797a094a52 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.10.217 (diff) | |
download | gentoo-886670c551f17035cece2253d11aa8e4333ba532.tar.gz gentoo-886670c551f17035cece2253d11aa8e4333ba532.tar.bz2 gentoo-886670c551f17035cece2253d11aa8e4333ba532.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.159
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.159.ebuild | 127 |
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 44322fdc5b30..8f45db20a490 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -4,6 +4,8 @@ DIST genpatches-5.10-228.base.tar.xz 6796152 BLAKE2B ef28b957aac198478ba620253b1 DIST genpatches-5.10-228.extras.tar.xz 4052 BLAKE2B 09c4b743daf726c89054d5e1ae0127e9d22dc23b167a3a6b387cc6ffd84a47d2ba70387869990ccd510bdcd5eea5f13a5579cd0c98432076a9a7ac7f6c944157 SHA512 634705678dc6693421e8ea3e985c4fbbd14b97b962e1b4aa50daa42ce47531b8e07b4255cd3e85429b1eccf103f74267e448c072771a195d39b4b6b8b52e099b DIST genpatches-5.15-168.base.tar.xz 6757748 BLAKE2B 32b6ebb14ed20864b51fef7cf5e81bee96e4b634829d10b0f29172c41129caf856442cb7c116a4982c6ec92324661daca1a0644febac00d2d39ddd43fe1902b9 SHA512 62b37104e6ac0c9eb09de4fd1657e945be70e90d4682537e762f63ca8ef34da713619d518bf6a0fb35aac4b1541a44d91ee18d806211c7e4cc4124449de49bfc DIST genpatches-5.15-168.extras.tar.xz 3972 BLAKE2B 6cde986105f72e9282c78f59c8bb82bd3ac7c5c03adb3b3c1c657204624df2a28048ac0fe095759d5906bcd6677831d9962894b76390c2861482440120e72fe5 SHA512 6e067603b8e0e318703a59347d38d7aeb44a3097c39df07881c0f5250207b05442053a8ddf32069ead729ab4c36ccc1177ee8d82417ae2dbe16014b221d0d1ad +DIST genpatches-5.15-169.base.tar.xz 6804132 BLAKE2B 4c1bbb7881dc2fe1a15fb2baa3535b33d83421f029612567382d624afdf0e83bfcbcd34676f63c9d24cd5e91dca2e67b88b2d843ad8167bb0a423bb0de268a4b SHA512 abb6870976a156e548800e45cdff3b4aa4db723f4b6866dbfb3b6437707990d74bad4f0ca916b0e313350c8bcfeff13542089f102fc99cc3eb899349cecca7be +DIST genpatches-5.15-169.extras.tar.xz 4048 BLAKE2B 422d0230026956391a9493a7363a6099b07ff5e16799a4ef194a177b2fc84c1db666e3cc326e5648052a0a76a87367fc94dde8cc8307ac36c412c0ad85d0d370 SHA512 287ce1ffecb61297c55465b223d8fb86a84ca4805856fcdb605fd43ed81b579aaa64f696d4a2687a95c312ea285e05ccea8a3589c911f99dd4628609155c7422 DIST genpatches-6.1-99.base.tar.xz 5167668 BLAKE2B 0dfd80fa50e373b99b3ec8c2adcc80eabaa0df9606831465c2afbca34cc195f41902a5ad4472b822eb2e011356c51b257a39294ae1d123c7384f915bd0a6249a SHA512 39116b71b7da155596a158ebb1aeafb029bf5c0d1ec983efbbdb323af61fc505c3a67beac4e6f888b3b673cdc271ef1dbc3090580aa89f573a652ebe0d501ccf DIST genpatches-6.1-99.extras.tar.xz 3848 BLAKE2B aaa18ac05550c0694e3a8051e41acbf7b135d593dbbe2ebf8f757996502d1721e96cf11edb5ae87337667f340640ee1ca55de0a8266b4a2fc929dc80065df746 SHA512 0528cbbeb530d0765af843db8479ab6ce011df60be5c3bdc913c81f1299868f772e9d751b973edd75d7020cef7ac0f5645528e50b87f4ae59fac2392cf86137d DIST genpatches-6.6-37.base.tar.xz 1986828 BLAKE2B 003cfae8adc04f3ea319ecff4344662e27df5d501bcdcb1801d6b429ac85a60834a896a9222e0b9ba7c173376fa137a2470cb04f08289abd6805a2f0b07b0b0e SHA512 e21bc0eac8103091dae7d3e5d29ceebb4e47eb3e1fe63d577b0d000444837d723568c13bfac4f5deb61132dc3adc153e8de4661a15e6880b38fb097bb143bbf1 @@ -22,6 +24,10 @@ DIST gentoo-kernel-5.15.158-1.amd64.gpkg.tar 66334720 BLAKE2B 054aa0baf29da57881 DIST gentoo-kernel-5.15.158-1.arm64.gpkg.tar 59740160 BLAKE2B b1da63e9085ed1b899f41d6a142f6882dcab9f66bec90a772eaa53ad72b4ffb3822356286a93d07ae522b56ded61f04344b511b3e2892a6475db5b4da7f818cb SHA512 d808b1a493935e537b72d7d0c7655fd50eb5488a3e1e73b5bda81031828b8c6c9155d20d66ca56f6b1dd2c595459149053f5ad06fcc050ce44037c13ac03a3ef DIST gentoo-kernel-5.15.158-1.ppc64le.gpkg.tar 54978560 BLAKE2B 63c1ce29e1c261032df9622bba0fc80ef1d9de09518be7f10f5b40ff264c0ee794893803dc49dd9f290f6831e66309d48c3f9de40b924dcfe924d27a12bdf774 SHA512 6fd9500b64670486c8cca45b63e5a0d74871d35f3bc3ff20c20db2e41c80da61fd0309e07728b624ef9cbe4a6adaa3b8eeb2a26f43564233bd97f41ce9eeba90 DIST gentoo-kernel-5.15.158-1.x86.gpkg.tar 56156160 BLAKE2B 997fea1701a93f54cd4b57b2c0cacbf192832d0183a32069a9ad10fb2efd43bae9bfca5047d61367d88b6883111c60dced1f750f41d2a62a4335aa871f5aacff SHA512 735031748864bda5555a4d038135395d051af8e9bd2007d287560b5346d4d5721460a9511fb82c3ced87f3a450272a3fc53562b857b6102c7b6635c6bfd0f32f +DIST gentoo-kernel-5.15.159-1.amd64.gpkg.tar 66365440 BLAKE2B ed4f21f8203b489a3af50797e157523106a16cc6ab503cbc917041103a863019c9d5b2b027b332955c24dd101a573136e449a76844d76bece472c23bb24cc261 SHA512 db7666cc6727d8e5ec18d2e2920a800cbd447aff55981a933271036a92c454e2e1d43f989e7bafc0aa5732d91440a337815bda083ad8758a5e3925cdd18e35dc +DIST gentoo-kernel-5.15.159-1.arm64.gpkg.tar 59740160 BLAKE2B 9f2cab165f689e4dff011901cb0a29c6b21161c79567c1b645948973b34bdae4178a4b365ee08c62f512f6a2a8e5d4758977456b0824c3581943275028861e7a SHA512 bc380cb4892704435783548095d9d3b3ffb61598163200a7728f9bad47d2aa9700d14f7e5194bcb293c0450d1086c017f64158efd31b990ab757c44441cfd660 +DIST gentoo-kernel-5.15.159-1.ppc64le.gpkg.tar 54988800 BLAKE2B 17460198709c6272245897b0aa9608a4a083436ccc111a0e3b2159ef61157b095d5f727859646e04bfd55d1de9080ab1b41ec75043dd84878a3c9df454ccdd03 SHA512 04b3f41c1f1afc166b28a20245971dbe23ff04da76ef83a20188820228d3adccbe5ee5f70b99da0a6c745c62b93f702920bc1b3c0835277fef7143c174353789 +DIST gentoo-kernel-5.15.159-1.x86.gpkg.tar 56166400 BLAKE2B 50cfb64a869985ce2e1ffa9a42cf4c858bc3607a4ee90a2f6783dc2a324bc7557becf2c25b8fa6ca7b256b9f4eac5dae4d933443fe00c7df72ebb1939035151a SHA512 066cf9f2b7c2faaf86c8080c3aabdd6fbbfd5465a8a6baf47ee81a49fc98a13229d6a73539dbdffda4afffe3507ebeba36a2ef9727ae2b69d687cb1e011b2488 DIST gentoo-kernel-6.1.90-1.amd64.gpkg.tar 72663040 BLAKE2B 6dbe6f600813818ffc46010666601ce7e3061ecb6cdf572ad30d1031bede6070d44006302b9f447955f389d271ffc8d2de77663b2c4a8f3d1e0beb4f9f0a1a61 SHA512 a2b9a96d3fb7bc70a762a89e345dab66e3ffeafea3024b97160b9dae1cd94552c7fd383b3f41660713ed041769745a684c7a421402c2e2bc08dd72e7a07a489b DIST gentoo-kernel-6.1.90-1.arm64.gpkg.tar 65628160 BLAKE2B a8bc732862da36778119a7d0ce254ce43e72057ea15130f8bcbda0a66ad11fe4dbbb7befcac9d94fbbcbbea072fbab7728ae25eebea7b2ba59e2d8ae2870331c SHA512 53e3854942b596fe76025f0e782f476fc557e4fde1e7a505734af334903687744b9e9c4269742c6bde0bb101ea77263f315c47a8180cbde4cbccd641f6af5f09 DIST gentoo-kernel-6.1.90-1.ppc64le.gpkg.tar 59883520 BLAKE2B e76649abaaa9c677ef517a84a587e3f110baa0b9e16d208197048f7aa39a6af10eb10649071e6af81afe8a834c86afd62063942aff7f79ddf62c2e1fd80b2d79 SHA512 6bbe5303c41d83d79e567ecc172fdcb5bfbaac1065b045363d486bd1a8a8cb2c9a2670432fee05463db79cdb99aa6c20c1379f51472d3da8f1455eb485ab4782 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.159.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.159.ebuild new file mode 100644 index 000000000000..eff249432fc9 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.159.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##*.} + 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() { + 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 +} |