diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-08 18:07:31 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-08 18:08:52 +0100 |
commit | 3ff29313f5ecaf9f12a1dd1ce61408877fcb5061 (patch) | |
tree | aa7a7af72f6da7cacd3461b614e9e01676c1ff12 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 6.1.62 (diff) | |
download | gentoo-3ff29313f5ecaf9f12a1dd1ce61408877fcb5061.tar.gz gentoo-3ff29313f5ecaf9f12a1dd1ce61408877fcb5061.tar.bz2 gentoo-3ff29313f5ecaf9f12a1dd1ce61408877fcb5061.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.5.11
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-6.5.11.ebuild | 132 |
2 files changed, 138 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index c3fca6f97ea2..347981d711db 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -24,6 +24,8 @@ DIST genpatches-6.5-11.base.tar.xz 690272 BLAKE2B b647ad0ef234e1470b72e4cefc091b DIST genpatches-6.5-11.extras.tar.xz 3704 BLAKE2B 21929f8a381175f9c33ac9df5f17388eb2f99adb00fac7783c612a2712db1d4b2f179b2fa6ac548b77a1d0e4c9c9d88e32cb393531c7e6ca680f9c98a037927a SHA512 f3643139bd6b2b324c477998b69418b80e40ae675dbef9bb34e26f138a10244ffcaf551de7c49623b8aa797ed7b9ba82e680a62b7996ed1bd1f8002b29b09cb4 DIST genpatches-6.5-12.base.tar.xz 720508 BLAKE2B 429f4fbc3292ab46250bc1716212f369f888ee0219ab19baaf8a7e3634c012bcaa64820639b5650b5346cc93fffb3b00c8ba5ad48c3f0030e5db6102646ca60f SHA512 1b5de16a305f7cddc3125be3786347a037e25b8b53ad05c35c8efd57e624dbd7cf152898c3084847d6c9b77f5bc6df378644434e877434d40ad4fb0d08d6a37d DIST genpatches-6.5-12.extras.tar.xz 3704 BLAKE2B 3d18f544a455d1184eb9687a5c53c7dd348b12f736313a3bb9d3417e0f4458a8e7f962451ede58f45016af700014fea87cc3336b30ede9f899dd75369eaadc57 SHA512 0a8c8a23d99962e5f0028ef1ee8ba79cd20af0ccf6b08e554405ee964cf542b6758d0e2456612a410d7fdfca5572e4af7c4d1c3b65a9b426412c1b480b2d6475 +DIST genpatches-6.5-13.base.tar.xz 741136 BLAKE2B 3e13a5bb6effb4005e2c1e604722cffb27583aa78ba0642ae2eacb2f5905fc19fd16212b502196e58d0ee4064779623b44af03e34c6bef0635104bbdfa49253d SHA512 5b63c998dfe984b5435e7e951889dbd1bf4cab2d8db41e89978ffd06ca58ba3e8687e740bb42514e0da5e5ae19998234f87e8220d5eb550e21fb6bd7c665e139 +DIST genpatches-6.5-13.extras.tar.xz 3704 BLAKE2B 9473c94b0d34075ba0652c672d7b0b732258a5c57d933b8782e8cf6d394143a2efece463d2692bd71dd0915ead6af1dbf2b10d7ed80eddebeede3a7619b7822b SHA512 489c266ef698bb03a8a7bd3fc552266b787f9036c473c003b7d20135e5e7ec9bc3f3c5caf443f702c6cb029d8d95c23a302a8c8171769b0fe44720da700dd8d7 DIST genpatches-6.5-9.base.tar.xz 574412 BLAKE2B 339dc1d19a323c2143fdd394b324e8d73b6e21b833e48096b6ae312b188bd9f39811fcd7b93f900c6ceb6982eb6ca108b2ec617b8dc98fe2ec255ec3b002e31a SHA512 42873d29784c0d85434d7eee81ef2000a42164e20ef74c875b81ed8df96ec3632261485c38e17ffa41d94df200b69d8d0e663eb8c90ea741234e860aad9026e3 DIST genpatches-6.5-9.extras.tar.xz 3704 BLAKE2B f45e43b281c9ad49870e72a7d4e3790f316076f438a5b45fbc53bf3fc29173675fae1e1b8ec170aa7609e0a87e79afbe033ffe7ee64d1ebdf2c1200fcdcbebca SHA512 888a87e165c64ee71b04b6f103666b4f699f790aadb58314253f63e82b0c245646f29fc3f139da2eb6a08db7c8f40c5239a359e81e3d7ff2b0d60b219f8756a8 DIST gentoo-kernel-5.10.198-1.amd64.gpkg.tar 63139840 BLAKE2B ef7840035ca70fa40147551529e6fea01ec8a0a21b20d92eee53d38f65543c29dea9a1425680becb4944eed2cebc8404baa2d4463e0cd543358e015c10b17ccd SHA512 f5ce69bb2ed049a155b02e0ee6605fb6c62b91f9edb62e1a673a3b12a4d33f6e5ea7ef5e068b6fc909b1480dacfb5c32658be99ac591d6cd4c75a23ea20ee872 @@ -70,6 +72,10 @@ DIST gentoo-kernel-6.5.10-1.amd64.gpkg.tar 83722240 BLAKE2B cc31076b25edf689f797 DIST gentoo-kernel-6.5.10-1.arm64.gpkg.tar 73635840 BLAKE2B d7b0dd04cfed53281d679e6687d581d0d12c9096da1d36ecdbc38f83287a18b55bfa335fb8dabb623bb356df76321a61db147aa2a499a40072adffa210bc0a25 SHA512 ec9b958d660768dabdd26c633ed39b37f6264231849f7bd86d65a60938f496f69b0cb2cb1afe9d3a95987b8ca5c495507f5ca9d6e6df9f95ac87ccf46e0bd914 DIST gentoo-kernel-6.5.10-1.ppc64le.gpkg.tar 64532480 BLAKE2B 5c6e81f5ee141dd958671aca5aaa10314198b3fc38d025f36263c1d1086e09b723b3c96688c2175ffc94f8e3a93316a47b2b8d185499e6fea31a9aeb36fce24c SHA512 ababeaa3f298d5503c6db664c67fbc73e32e0efca4cf14c00399808e86c0a3346b6304eb36264541d5a9ccc7e84091f63348d296442c09abce8f74951e360d55 DIST gentoo-kernel-6.5.10-1.x86.gpkg.tar 67563520 BLAKE2B 9ffa4f434169c7672a202b6e4890cae9c68c212a8f3d584309ee1a29cdd66f27e36d5c73e66800473d3c9c42fd9df25346d22d9a933b2852e266ce6be9298525 SHA512 ebc3fae801e529c6262bc7d1eee12af3191038dcf6a1934367b253820e5e63956ded88aa5b6acf4bc0b2d72b8368eed7206485b64dbbce6449582ca25e4ec0c3 +DIST gentoo-kernel-6.5.11-1.amd64.gpkg.tar 83712000 BLAKE2B 896adaf4edbe9bdade1da95515f5c4f056b814839e093b4e4e74a4e5e4fe7471673db48e94bce2edc04b973174db802c2e2cadac6b427e53a7b13857bc09b159 SHA512 01eaed7c135bcfe2173bb69b10594c8485ebfc8e6b87dcd91c54dc77da25f29f08922b2d368ac1f5542536b8923369d99402dca083d47f4c2afbf4b250d778e2 +DIST gentoo-kernel-6.5.11-1.arm64.gpkg.tar 73646080 BLAKE2B 661d9a80b48e57a7c72dbfc639d24ac77ef3ee7fce917ae97fe2634527563fe6dd5629368b3e68310ad4dd452865b49405119dd571143215accdc1dc7329fbda SHA512 f4a3f1d1e6d7ad55b562db09874b4032f2e9a7e63305b6c6f1978d2196105c93eec34263c32220ac79c3d522fc3a5401cd2284e0d751c207e126cb74645ae10d +DIST gentoo-kernel-6.5.11-1.ppc64le.gpkg.tar 64552960 BLAKE2B 6742c0029df5085ce79629afd339603a6329934f290bb7c73bd4f588a03167f0dffd47a301b0916766e73e1507d20fc0e1ca028a4ab780e04b625a8e22b27c5a SHA512 740e6dac602814e27bbda38dad083b3fb9e04514cdab5460a43f8e01ed65e7976cb9f7e70a2101a4a740f00f0773c52945e7e0dcafa617f2731cba739f0b080e +DIST gentoo-kernel-6.5.11-1.x86.gpkg.tar 67553280 BLAKE2B 3557022f61b72c975a9f2920bb617d428106aca88017e092d22dce4956dec4eb6418b2393960bc7deb5243caad0b4011abfb4bea91d7553a72442c6d3a8d8c34 SHA512 380d5962a59655c502ce72905d967ba0d5f36bbfa8373169d2ba94fcdb5d77968cd6cb247d9d96a0dc36deb41c4b38da04b6e35d1febdcf87bced1279fc7d8b2 DIST gentoo-kernel-6.5.7-1.amd64.gpkg.tar 83537920 BLAKE2B 90f9ab1b3214bfbfbad8450488c52e60d2534f9ff4eafcaf5d3c219b2d48b39590c3b5456ee10db41038cf0cab6d6468b4e8c53f714098d1611511ff5ee1cf69 SHA512 0ca65fb868f87843fab41942d7783a385151adf2ef203b17a9ae7753f85392812588cde1481b86febffe371ba71d0e6482cfdda12b0d4dc607025375a1db0e4a DIST gentoo-kernel-6.5.7-1.arm64.gpkg.tar 73390080 BLAKE2B cc4e26bc1a73405e4039c943cb0ba73bf215694cf5936e0f20bc9356c9dc3adf042901c9db771cfb586ccc6f524fa444539fc49019c77b4ac2ee0cd29dd97ebb SHA512 4a55ef7726e114f180627d3c0b1d7077812f7920a7bfc726e28e44d810f2a9af1bff74a8c0ff73d396247ea865c0045c49fbf054961e620127f12d483a9630ce DIST gentoo-kernel-6.5.7-1.ppc64le.gpkg.tar 64430080 BLAKE2B a79c67c1bef8d40eba08a9afde1919276eece3748ba35940609c2380c09926751bcfcfb6c415f869183e39e82758f9ec55feb401a40f5040c707ff1c879c6497 SHA512 9934976e2d009e72c63efeee9deba67fcef7a2e624d9660cdaa812a0479144931efe0663aa5e07124e0105277f8930a6bb9ae3f2fc90fddddb9069da71c51055 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.11.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.11.ebuild new file mode 100644 index 000000000000..c378c0fde329 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.11.ebuild @@ -0,0 +1,132 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_EFI_ZBOOT=1 +KERNEL_IUSE_SECUREBOOT=1 +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +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="$(tc-getSTRIP)" + 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 + + # Modules were already stripped before signing + dostrip -x /lib/modules +} |