diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-06 19:49:56 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-06 19:49:56 +0100 |
commit | 8a5ac30a4a4c8113100f6d901eed8faedefe332c (patch) | |
tree | ee2f0a6a6f2a5da39dd1f1dbd95bbe9ca94a9de8 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.1.10 (diff) | |
download | gentoo-8a5ac30a4a4c8113100f6d901eed8faedefe332c.tar.gz gentoo-8a5ac30a4a4c8113100f6d901eed8faedefe332c.tar.bz2 gentoo-8a5ac30a4a4c8113100f6d901eed8faedefe332c.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.92
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.92.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 16cbeb2cb624..5380a965ca20 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,6 +14,8 @@ DIST genpatches-5.15-94.base.tar.xz 3895440 BLAKE2B 20c0f62124507de410d5a7c08b68 DIST genpatches-5.15-94.extras.tar.xz 3932 BLAKE2B d29c5514f83ebc748f4187c255e985aabab31bb6a64bd0124ec1b9655fa183f5ac1cf173dfaf1a3cf1a7f9ee2bc5c10bdf83524af312778197a6e4879250432c SHA512 15346f1d3aadb0481bcc0e521a4e335a6d3ff00ec45f0386577efb6c9798b871f17b47af77880bb7d8a8b2b530dc1b4c79047f916c87d1babba103b8a61e5efd DIST genpatches-5.15-95.base.tar.xz 3957200 BLAKE2B a910caf40f1ec10a922cd3cefb2ee2c53ad1b35191de46be0edec4c97680806ddbada7e8d91615dd61f5626eb62f113dc2f5e8dae05357d9175b14477ed4d1ef SHA512 7054d26bb789713a22d3934e9605b4ab0ec7e8172014b275b2cee3de6f3e5f386d944d5f9853cda855c02fa89b787c93f1e055590afafb1ba591c71745a36c3c DIST genpatches-5.15-95.extras.tar.xz 3932 BLAKE2B 8a15b3053680594c780d8df8f1cb7597c3fd15b325edf8080b3fe499937bcb9ba4587b4d2f0c0f5e8074452439aa1d6f336c5d06936a94ec14fafa291b8823d0 SHA512 25546d9f6cc4ad788f08281589ee4cfd6844b3191354e3fab929a89f9e20b647ac03be765d76b42601bcb4c36241d70e50d90abd97aac80c6bcbff66af95e9ca +DIST genpatches-5.15-96.base.tar.xz 3961872 BLAKE2B 832c573ea52eb7b49ea59d975d25af9044503bfed0595082873d09496b4bf4b558e97af812c244274488100fc87b3d2e3b9ba8b3fb023d3623173a13ca034925 SHA512 4577060888eeeffe76e67026b2f6cc1743dc7501c6f3606fa06805a97abc54c59324aecb74d4c2ed65433090c50f432c7a3167b61e84cfb168dfd09dac300c5d +DIST genpatches-5.15-96.extras.tar.xz 3932 BLAKE2B 5c34f507f83f8138d3e9f7fea2fe0619e326ba602972a6d37f40847526b9f95e13c1ce2b097b277573dc9f0bdc1739d5eba6020817a1956fc80fdc7076d22a01 SHA512 dc17deb594c99c9ab4b0c4c2272630c1cc9d03a88e4a1b936f2ec11c5750cedc00a9320018cbc543d5844727760e6f56807cad9d7a8a7fc9b2cb605e8ca874c5 DIST genpatches-5.4-233.base.tar.xz 5294692 BLAKE2B 357046687c6f2797d5d7090dad357e00675eed329ccef44223dd476551cf04e9f711f1020144cfc59796657cb5b1e6d76b607ecb164e27636869a8bc8984f567 SHA512 45f6b35dbca12e8b9e6a9f99d12c44e47a6e471e5091ab75c42346f1d8bc12dc454cbb335f1549b497842c2d9f13a5930c80b5000cb86bd3db7b03347dfebcf4 DIST genpatches-5.4-233.extras.tar.xz 1812 BLAKE2B abedf631da893391a98a98cf48d264f9eaf9f9f7811bf595c36a774c8dde21f105afaf6f4e113e04de472bd6ce0c759bd41fd95aa980b7e05499d8571f3e8a44 SHA512 16b09d0a4465123079360ef9f070e0c163f45f9784714e98fe53f7174e836fe7b2562af01e5c2dc932571bb3eafe2d9afedfd60b5c8467bd8410de651ab82473 DIST genpatches-5.4-234.base.tar.xz 5429360 BLAKE2B 48e1199775c5174a4e25f9611f410f8c3959920b3af6d4a5639497560f9a7ca34210c3f7db7c5e279432e1562956528690f5360dfeaaf7f99227f74d8e8d04c9 SHA512 c41fefd72aea785fb40ae95e47019d07c73bb4a07c286e732f7bbaa4b1cc3eca0dc53cf088387998ba1a9bb791e9e021d6246d8ceb9b87dc6d7fc6cbecc6dce9 @@ -62,6 +64,10 @@ DIST gentoo-kernel-5.15.91-1.amd64.gpkg.tar 69785600 BLAKE2B e2f1df3e9d6409ca8bb DIST gentoo-kernel-5.15.91-1.arm64.gpkg.tar 62627840 BLAKE2B 04318a73a507d9b2d8ee9c8aff5d7c8439a800e9ef83d26eba3c450909e80a5b8b034c1f2ab656903880e630bcb531901fdc564475c7338316da2323e508efdd SHA512 6d73782e2f3d2f72146856dc41a3658bd8ef1a8e125a21fb88fd90fcb07ec7a8409b6fcd743efe4d9604f201f020444b45fdc134a0c969ebca744249401b7aff DIST gentoo-kernel-5.15.91-1.ppc64le.gpkg.tar 57088000 BLAKE2B 46bff58c40b5cd44e70a606130f53b65aedcd40d9f0e323e0ee818f069c04a1e031f7b9d740af858f024985f612f190516c3c491411c5ddfde19542dc6542ddf SHA512 fff65ea834936e0ac0315950ddab66b8bb9fe0e1e42a3adbfbd970114f69891e0ae9b177ed64b191c39a6d6ff44b24f335a60dc58cebfff902093a022013a20b DIST gentoo-kernel-5.15.91-1.x86.gpkg.tar 59156480 BLAKE2B 8c8ebe4b465072a830ba6d2b173501ad3d8029a7798b2b35edc49b9f3e05ffd79de743d1c42281487928cb0fdc69c9c3b3689d907e812a4a4deb707c4cbf1994 SHA512 5f0b2bf3eddd5388a0d678d654185d40850b1159cf537bf3827d0d387c1dc2a3a7cb7ae90b028fb4f47dcc7ce68821558f108f1012a311e66972ef289d7e74ea +DIST gentoo-kernel-5.15.92-1.amd64.gpkg.tar 69591040 BLAKE2B 9c06216211dc26c6cd71935ab09aa7aefe3f3ff0e3924aeffc4f546aaa3ba88b8bdfe65d541aa5436a3ea03861969b0145bd0e3542fda4528436710ca6a76b55 SHA512 1d25341ed23297bab664cab405f9d80ac12f42df87dde2c1c10d16a3efbeb726105def4cc905c7d1367f9928fae345e399c19dbadb64645249c178d4a50c72d1 +DIST gentoo-kernel-5.15.92-1.arm64.gpkg.tar 62556160 BLAKE2B d322db2ae8666d146cb3c150b1940edfe98faad40003e87687d459060b0fc4de6572964f0ec248ada708aae7718fd5eec4c2c3c15c53bbffd4e61ea8b25c9572 SHA512 87581ca06a022298b79fe69754aa560c7a7b482317d693ed8a1df68339d22bf312c35b9ae8447de4137be17c094448aaeb44ed214ab53524e87165de7dbd82bc +DIST gentoo-kernel-5.15.92-1.ppc64le.gpkg.tar 57098240 BLAKE2B 42ccf3776ea093058c7bb3d0151c3e8132aa13bef0153ddce6bdb2a8084155c213b3e47958cfce2a83980bd5caa91aa8693b11179f81a49d271f9b6596397c8f SHA512 97459a023774fd3e06f48cf363397ab7c824534bfbdf9debcd2b504cc133503065e8713a990a9017026279521518642d99fe62f44f581de0fba47f45859e0eaf +DIST gentoo-kernel-5.15.92-1.x86.gpkg.tar 59156480 BLAKE2B ce0bef94fdc6b8c9d85993a57eee3d54e528f019d12cadc2915ea098ddecdd12fbfd579c01634235c20d9977eb0b1e1ee787214bc75ee976376fa100fc8158f5 SHA512 a0d74e68a7ae78d2fe2a166a478ff281c4062a62c7f94f58dc100bc101a509089fbe5191793f419347dfd078f18d49e0225b4ae05ad521486392c39df6cf822c DIST gentoo-kernel-5.4.228-1.amd64.gpkg.tar 60620800 BLAKE2B 99531b57d6e1135e239c1b392c475dadd2e5cca94e05921a529c0b7ed8246c23087f9fa2d7a3b21d316b3dc5dfeb6f49aff492b1b7d112cfd1478dab8467d21a SHA512 50803fb2b45891c6ce342e16d7b3968587f5dadbe26f3937eadee59678ebf23db1e1add37f3bd1d7dfab27d270a0f403b09b279790091a24fa81ce99a490112b DIST gentoo-kernel-5.4.228-1.arm64.gpkg.tar 56821760 BLAKE2B 554bb0c19cc971551647a7d7189264808e2cb8145fa091ae16758ab7593d6c3707e23cc88501c1ec5e86170c1d91d94a080eed7dbdec2210640af8ff4b2cc7eb SHA512 e20226c43556b0fd33b267833de5ced1d3b7e8b6b8ffa060c5b61c5a96957b5a0825d569ea6a662dc8d4368b1dd69ab9fa2a42ee57d53e8456be1e927f766fec DIST gentoo-kernel-5.4.228-1.ppc64le.gpkg.tar 54343680 BLAKE2B f85a074a1b492655d14cd95b1c966b1bdc4dd997288475204810a693361f9dd17ee3d3c519a413dc157a3e5a2f47ad79c4d596a9b7b1144f6c62c4ca4dd8f577 SHA512 1025fd90c6b32f165fa37b2d27db25b1c5295f14fe55865104431bd512e2c22de58824b309382e6b6445401ec43168e4ecec31fcc052df78854333fe58ca9f71 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.92.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.92.ebuild new file mode 100644 index 000000000000..27016e1b991a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.92.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##*.} + 4 )) +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=" + 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 +} |