diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-10-17 20:30:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-10-17 20:50:09 +0200 |
commit | 8f00f6f2c0a82e23bbb314526dffc568d5822a50 (patch) | |
tree | 0125d2e451ccb243ed8877ffce88b58fc6970dec | |
parent | virtual/dist-kernel: Bump to 6.11.4 (diff) | |
download | gentoo-8f00f6f2c0a82e23bbb314526dffc568d5822a50.tar.gz gentoo-8f00f6f2c0a82e23bbb314526dffc568d5822a50.tar.bz2 gentoo-8f00f6f2c0a82e23bbb314526dffc568d5822a50.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.227
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.227.ebuild | 138 |
2 files changed, 144 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 0edb722f78d7..f40bab62b71b 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-238.base.tar.xz 7454284 BLAKE2B 6c3793f4fde055e4ec7e6e1c5c1b1efb9168ed61dcb10dcbdd19f7bc72de9ea92a367039a2803d57bf223cc88f717c2ea1e947fc5a7727ceffa3ee2727005e44 SHA512 fb4bbb904139151f96d6e2337872fdb97d175648f4560a3978590414efb3b369656f65a44ed5bb86cfcd85102970e290be76bbc14de0418b4764d260bc511b17 DIST genpatches-5.10-238.extras.tar.xz 4060 BLAKE2B 46f357f280883621ad97b8f1680d9f6c7e63bd5b9ab976dddb0f2023acfadb5d0e7f7919f4bea46b0dc099777234aba07259e427145be889fa8ba76cfb9dbf15 SHA512 e6f23a08bce4c0683c91e7907403d497d941e93b50b86660bdcad3429b490233dad8c40f117101395e81347150c99bb6b82cb51e0248074deeb0131bdebbe834 +DIST genpatches-5.10-239.base.tar.xz 7596864 BLAKE2B 987607405ed2de7470b7ba9748df4b6a5f00f1b728f2e154d47d51acb3e40ac028bfc64640f620368877d7ab11c94ebe636fa9399408fce7aff20770a045e522 SHA512 0125f50337da1d02ef99ae2df6ae77742eaff169c70d85d229585e29fc51dccb22cb2acde3949c42f9eef93c016af596cebe7c6811b7d7041c2b66b3e29c94f3 +DIST genpatches-5.10-239.extras.tar.xz 4056 BLAKE2B 65e4e775fb186c7e46b227776dd5fa26ee472b27cb32f76513aa457b7bc85c53fd88c02f594a095ec9aff4c062270359f024f36a7c4e84dc1d2ff91f1d185919 SHA512 394f1fe7d9b0bfd3b7c27d607513bc0656f34efda1fb3a2771d180b47caea2e5c4e6a01738284649afd94c2a7569f1fc52e3f98b6ace78838ac30e4ffe9ead37 DIST genpatches-5.15-177.base.tar.xz 7376212 BLAKE2B 4ed8e73ea307a1544b5e6ed04b202c655a2a7352e6e153ab72f70667ed362ab69991823b26f260dde5ee7774749f549953acfdbcb6d13ec1b9c4c1d3708ea8ba SHA512 628aaddbeb9fb39e8d42bc495c14dbc164b07fc023551631433e9778c718651580406d5ed8f2b67280a7c8ff4cf2467bb86eeb2b93cbea03a6fb9e0c78308098 DIST genpatches-5.15-177.extras.tar.xz 4056 BLAKE2B 95e3b595edbe0f3f927aaf93fe28a0342b0d01bd889df73357c09856c5f937eb33d31e6753b1a4f59d3c472bb1c372a7f5f228c1a791182aa9f25c32e537860a SHA512 36f1ea35379d89f09614a94fe9a64d8de2989e72175ccc110723ee91de4ca2498203a2e6e1605cd06a5fc7469276fbb3b0478a5a17a0409e8acd6b2a053a4d38 DIST genpatches-6.1-120.base.tar.xz 6050748 BLAKE2B 8e81d186a9e5618d9f561fd0d49974031baa44ddb9b1885bb3ef6298d49b591e1c1582c306eddba07f3da733dea7ed82ae948838989010ee6471c052f99541c6 SHA512 7ec81a4b97becc07a15fc9e888f2e9c340334fb7ee2b9d0083123f67fdef44f7e155bdf7dd662158ea86d7eed3753017401479a5e50cc16eedde145dc77018c9 @@ -34,6 +36,10 @@ DIST gentoo-kernel-5.10.226-1.amd64.gpkg.tar 63303680 BLAKE2B d7fe1733fc5686e91c DIST gentoo-kernel-5.10.226-1.arm64.gpkg.tar 56750080 BLAKE2B 7dd5adef82039d4aca30824168d5eb56d95dfc0672e7c401e6da9dfa3cb1bc4c4eb0e56a2a3a769cfe92e3c71d19e35af5c7017567cac6d5026b3b50e280b513 SHA512 fc19ce80ab64b670b48d67913ac81bc953e73d91f9e84f4421e6e7aea4302f6ba43db786b8f83626d89b47b881f2e88cc1794aafce5e75704f4d141a09f3b12c DIST gentoo-kernel-5.10.226-1.ppc64le.gpkg.tar 52766720 BLAKE2B 830c15ec760643c636c1294a8cea2ffbb0f46589196cd10a97c09e4d131a2e32398cf18f3f4d832e0ba1a123f031953ff3f931d86a60e6e6d80d8f7f5f0c446d SHA512 e1662eaf7551b54afe01a0b23f88447e3ee7684d17d6515fe4cd9e6dea28293d440b677a1e55b83583c74c5362d6e9bb5939314368c3e7f6bbf462b60e055dae DIST gentoo-kernel-5.10.226-1.x86.gpkg.tar 53606400 BLAKE2B 08df9787879d72adef1a5924974592d8a72521a9a7be29ab077884bde8a939d4548279ae9fb2801093a0c4546a5e66be0466b4c2128e732b2847561eef5b2ddc SHA512 558b420c294b03a866d85cceb06009e9a5ff18e2c2650e221d5648ed48b19bd416e25e5c035bf1edbfbc0c29c70a8937738a5299e1e0bc1797dd0488f39c346a +DIST gentoo-kernel-5.10.227-1.amd64.gpkg.tar 63313920 BLAKE2B 9e2645f93707b3e4b4d4ead1ba2ae546f5f49f377935a7056fcda9facb16f3ec56ac021e7884513a3647ac5acf3b4fc68a3e0a0fcad9da32c0647a85a83cb767 SHA512 d43a0163c40065fd161e97df64f355096c8d82b9b3b7636cf5eec0797f362cd0c5abe1ec773e3d8de77eac3331487ee7a40fccc685501927ba8d1bdb50cd0d88 +DIST gentoo-kernel-5.10.227-1.arm64.gpkg.tar 56760320 BLAKE2B 1f956977188a1c4de61be9dda6a82dfa5b4607c969f36d7330eac22d2591e9938e6fbbaece68bf1ffba0a4967c0d333acd0533e1c6b633dddcda9d0e8b967d96 SHA512 fcb3ee4dc4b3d795fed5e4fb588b64180e2b05d50d9d10e206cd776c3e4b2fb93aab1b0c377ef2e3ba3837c161216d9ee342a59f407196c92bddd37bae171a0e +DIST gentoo-kernel-5.10.227-1.ppc64le.gpkg.tar 52797440 BLAKE2B daf733978a8062ef209f855bc919575efe5e87fcdda164fd75c5c3fa09c77c51d225aa4282c5900612789689c1850a1217d92da3cc2e23813c3e7fcd7e3f4631 SHA512 e1474a3406de968af183b246340890bfcb072b89cd838e982a7fe6790dafca124943279e18263851f56b46288b4acf7f96471e787c82bf0a98b34cf64abca023 +DIST gentoo-kernel-5.10.227-1.x86.gpkg.tar 53626880 BLAKE2B 8922e830ffd93f266f6c0423fa51c0fb58d9184665bde75ee345b273d9735448090124defd27aab59bb9e695c649a33aaff83f9f605d472bb3483d04727aa9d6 SHA512 06bd171abe1f2b061955ce26d6b3ff05d0812f6ab33fdc26d776e1e2fa10da9ec2fce3d684280e210199cfe6cd76c8198eb86fa8fde545dbe1d4a5fbd67f9076 DIST gentoo-kernel-5.15.167-1.amd64.gpkg.tar 68454400 BLAKE2B 03627247782e5241614787f80e1e60daa0182545cde0b608e23d7cda8b2f09d6f996a5de7207c35bff5313ec1cca75755ce1313a9f91c87838c8d0aa579e5246 SHA512 424e1c8c51bc9aceb6fd72eedb8a3b69aba631fcf06bfbe3c713e2c5c181fa52975966ce1565811f1f4cb37dd23e4f4c1397ac7d2214ec8bd74a3824197824f1 DIST gentoo-kernel-5.15.167-1.arm64.gpkg.tar 62402560 BLAKE2B 119d90ee2d96de64dbb0f6164b0f206be20c213db82e468c4cb84f8135995db3398210f60173f9f574372fa662cbe48fc9ef9a78a0e3ba52598717e246fe24a2 SHA512 5474b9ecbcf70ada5fa0109f05d973382003f3350f36a852963d7def00827ddff54c5900803f7c4aeb4aa05b7a4176138da20bfe2786ac39e2eab76c4eeea5e9 DIST gentoo-kernel-5.15.167-1.ppc64le.gpkg.tar 56750080 BLAKE2B 901833eae687f4894e843a3d23849eb0cc7cd060ecaab09640930fed694feabca8131695edb5f596bf72581deb77bc76dede18181ef9916c2df31670bf93646f SHA512 e618fc5f8eb572b9917e35ae9bc33fac1cb42bb8fee1935817ca03c4b5643779db02d283d1a2095951b8f85ec9cbada5a446d5f5f61c0cd5617eb3cbb5d8647a diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.227.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.227.ebuild new file mode 100644 index 000000000000..a6e656009f81 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.227.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##*.} + 12 )) +BINPKG=${P/-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 +} |