From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6A5CD158020 for ; Fri, 25 Nov 2022 20:13:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48F48E0AD4; Fri, 25 Nov 2022 20:13:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A4D9E0AD4 for ; Fri, 25 Nov 2022 20:13:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4414834147F for ; Fri, 25 Nov 2022 20:13:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4570476B for ; Fri, 25 Nov 2022 20:13:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1669407203.aac1fef50a48efe9867088416b2230e365247d16.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-kernel-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/gentoo-kernel-bin/Manifest sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: aac1fef50a48efe9867088416b2230e365247d16 X-VCS-Branch: master Date: Fri, 25 Nov 2022 20:13:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 055f7947-11f0-4b23-b55a-a6cb450d9787 X-Archives-Hash: cc9b8ca8c1b57de0bbcfb8d5c7620a8d commit: aac1fef50a48efe9867088416b2230e365247d16 Author: Michał Górny gentoo org> AuthorDate: Fri Nov 25 20:08:39 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Nov 25 20:13:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac1fef5 sys-kernel/gentoo-kernel-bin: Bump to 5.10.156 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.156.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index ced2c0642069..6a29d2179594 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.10-163.base.tar.xz 4367636 BLAKE2B 88dc5e125a09cf25abeb68378c9 DIST genpatches-5.10-163.extras.tar.xz 3868 BLAKE2B 68203dba0a18bb4e170f9e79abed707d0a521b3be0589435b659d2a9d291f16366569cd8e81d52848a4b53d92fd4df782b4a7eb2875a0bfc540553e85bbb9844 SHA512 375d5f17eed5030413143e067e0eb5c131451a45025c5506371b09aa6dac417dcce2cc941d5cc194f9ed394e2f3d1fd175fc46b97d373b988fb4c919371b65cb DIST genpatches-5.10-164.base.tar.xz 4386332 BLAKE2B 88887f7d89de037788c0a5d2bd3b3a61da549f16939cdbaf04520097b4cf935683bdefab3c0e9884362b879f3b863d0cfdb495c662f9872386a1b6d3be267c73 SHA512 486b56560d144597032c777c7ff1bfc6c828598d9ec81c46b1ef8c91dac6e451525f62136e5e96d53bf4e7862e1a8d86d716fba7eaad55e60240ce4611e658b5 DIST genpatches-5.10-164.extras.tar.xz 3868 BLAKE2B df5c97a2e0caf890fdcbc564b67226b66e1a789bb8c972761ccb912a7c1d3f0678381fec5da17f73661e302bc3cbcb3a9cbd755696e5c8a94ab9ddb9e6c8c89d SHA512 4355ad2bfb6e0d706346df3bda7bba4c7d3c6145b6707df1536db2588d72a3c0e6c42487296272149d05c06c99f5524bdf724bfdeafce250719f696cd566d43b +DIST genpatches-5.10-165.base.tar.xz 4410392 BLAKE2B 67300432c6ae3009843c2dbdb514228296716b3fe884cec9307ae75c1848839633e504d287fb059f7766f7ff545fdab0566b79938d06053b1c82d2aa6f928f7d SHA512 208dc3840efce5d0c2e57926ea7a29890f3998b56fa2def90046cdc1358dbd22a8a597aacca754f60b7b742c65a9e541fdbc5b57b9838fec287eec8131fa2023 +DIST genpatches-5.10-165.extras.tar.xz 3868 BLAKE2B 1cf0214ea5d61c180a97e99697889bb0ab5b1e7a3a7c0f3c3492e9de424af586975dde56e9d8d24c0222f88872d27cdb763c02cdb64e293e755a6ea107e22a23 SHA512 b1a18819991cbc9265bd0aafe0ad4d20402efd6e96c7d68f509bdec0177cc4509d9f71b8dc41b906643498ebb9f51721df31fdaee6dd69652c01237fcb69717d DIST genpatches-5.15-79.base.tar.xz 3195612 BLAKE2B bf8edc209ecc99da4f4c05b575b095992e64ca421e9848a75ef1ff7bca84377eec93ac3bc7d23bfd4c91d529cbf1693e231b606b27ba2ead46e9c3037db10c21 SHA512 c8cdadb66f904f2083f713a58bce743e56e27440f01fe98b3ddf82aaa43401c2fabad029060e7c01590dc294edcdfa8ec6c784f24ca87a1b9fa8703ed626e4f3 DIST genpatches-5.15-79.extras.tar.xz 3932 BLAKE2B df50c7ce655f1f81d46ab6f077963afb0997ed2f6c0b70aa49c34a445d3f8938cce7201b75221705fe27c0a6f699dc553f932eeee7960a21dd89e3c55dde9306 SHA512 31e8c8aeb98e01dd1e0b25c51cfe48d5b6bc98617833229b283d35da6d7572b95dd8141592a2350ff01554bf80d918d2137ef2eb248c483ab22fc3db20a11fe3 DIST genpatches-5.15-80.base.tar.xz 3218432 BLAKE2B f2478969a4e7a24bd7a30328e2d17d5daafa9fbd741dd7eb295c025f27c08ccf8efbde13003e084c509a8bcf5f1d28f45189a28467b31c48c2a4d344a726ec4f SHA512 60737de4d0f8e3acc02ed07a82853d9226daf54b3b5a1b990d94e78b3dcd9fae26b9e6cf8854e5074b88dd826d286440155b70c4fc19f271ce795b2bbcc61b1a @@ -66,6 +68,10 @@ DIST gentoo-kernel-5.10.155-1.amd64.gpkg.tar 66529280 BLAKE2B 04407528385fb6bd51 DIST gentoo-kernel-5.10.155-1.arm64.gpkg.tar 59668480 BLAKE2B 3decbc324ab1bf9433e11e0c3321a63c6b9c5cc1ff321e592483f9e07378d23b7810934c26ceae300fe22c78fc365248456fb79acacf3ef0d6eed53126c0a49d SHA512 abc9ae89dbb1131584329eb064a568152ec8dd7f26af9025b68fb3816301e29a723eac719da4722ef9712c3383cd248d1106c9b84cdaba90ac3c4b3f42ccfcc8 DIST gentoo-kernel-5.10.155-1.ppc64le.gpkg.tar 55050240 BLAKE2B 3ddca1091ffa524ed1bc1d08b64f1038fb6664d6d754097f9472d04003aee62f274ce51c680067ab47445e0fd100feb3dbc233cd7272a77d2358f6fc4238d1e0 SHA512 0efc36b9d9fc85dd2715d0b49a08685d3b3bc6cb297e5b1b1a82706382af1db7da27d533240f7e1de8a8b714ab1a08340ad0c9b2f6e53282875531cad36373da DIST gentoo-kernel-5.10.155-1.x86.gpkg.tar 56422400 BLAKE2B f8a4e4b56b5f77944ec456f5a5684d16967f0c2af67988a2ba7ce26b6deea7d8e2e4b94bee39c6783377dd6aecfd7bdbdbd3e3eb200bf7e02c3f0fc9664ed3da SHA512 00c948da4149f68e23fbda21a1946321f2ae059b5094c09ba5dcbfcd39a311ae3b4656499c3f38dd0b518f25cad055aec5ea9e176246fd2da38527558ec56892 +DIST gentoo-kernel-5.10.156-1.amd64.gpkg.tar 66508800 BLAKE2B 6a7d41f7aebaa3e6fd105d3297101d8b02b667d3829535ec203bee52d2e100d7a6aaead56e66e8075dd9091f95d0b9bccfb2b598947cd7c51d59359ff0bc6184 SHA512 e55f022f144201c65d6314ae275b9d5163bf0c3a3fc8777ee45968a5759989e6a9be3c0de8ada5d8e4995bdacfd2cd4c54e6a56ba08308a7f7c4ac3f633893b2 +DIST gentoo-kernel-5.10.156-1.arm64.gpkg.tar 59658240 BLAKE2B caaef2dcff1b5d0a573f10ed886d9348217d63f4e7a90988ea5b52cc0c0bbd91502fc3eba4318d9268147adc45fe9048cddb385c8566a32050380c8d214498be SHA512 d37b405cf7d1ca24f3a9f425cd3c12717e2287f057e00e74f6fe32ba141d428fced6ee0d44b926f80f109ea3efae0146871f00052737cebe51f777435a411cfb +DIST gentoo-kernel-5.10.156-1.ppc64le.gpkg.tar 55040000 BLAKE2B 9439a94d8924afd508b114b466198d32a63c16ceeebf7430daaea1592bfcca2260bf0cc30e08e190fa8a667718014981204d2f4d8808b0ab82127b0f9004c0fa SHA512 7068e8a72a418dc80d4a0dc9f9573cd4b3d9c427fec053ad57ccae62ed5a954c8b41239006376dcc8ef238ed3b39566e4f50e60f3b013d5ae92be81538e16de7 +DIST gentoo-kernel-5.10.156-1.x86.gpkg.tar 56412160 BLAKE2B c3cc6154b24aa7b9d7c9dfff2cbc7acc56170a49dc8e5ae87bfa182ca4e73b69b35af3412c25832efac0a7681c83bb20fd9768f61dd299a9bcb894d3bdaed68b SHA512 4a04f043713fc3ff6dc23da3c78eb995c310c4bb8c31bea46b0c23f50188047d9a5e8a84fd8ce26b72b4d5b4542c6f5d166e9395b0342bbe3e879e34514217b8 DIST gentoo-kernel-5.15.75-1.amd64.gpkg.tar 69816320 BLAKE2B 738b6bc811c9af719007d4333c90751117281d2dc7db5722c289dd5d44ffe52381510e927c6e48e35f6204f67049b0962ffd1e4406401f0d712baaebd8f79511 SHA512 c732f731e0d9438305142ff6f8ca1deb2935ad23b694892e0885ac40a08265e40fc134cf31351fd0602d43276d8d08dda777a6baf2492589fa0ae50b1ebe8070 DIST gentoo-kernel-5.15.75-1.arm64.gpkg.tar 62873600 BLAKE2B 823661948b075c438dff583c5b19602d2a7faa9f1e05bd5d8f036d034d468f91605600c15bbe62970ee436510ac1898afaec6d58461749a5eb34b4175a63f1db SHA512 9e9a19bd2c2120bf77918047a4ae728074a88d29d207628c077b0c4ee425ae0b9c266dfcd22dc1204e7c3871927d797aa7bbfc759fca0efd484edeeee1a2f637 DIST gentoo-kernel-5.15.75-1.ppc64le.gpkg.tar 57241600 BLAKE2B ba82e45ea411b343c92fdc8d9c06565694e12955287451bb148d34a374004f68f9e32cfe1535dcdbc3e574018d8a3119e7d8c97c2d5f2b3ccbd0acf8ce497669 SHA512 c3a6d0a85d227608d5b2416360b9d597176b83643160b6b4a61f8a6bcdbe15c89ac9b6f0aa13cd4edb9100fdb666ddeb09de765b1faf5970360bed2546e93898 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild new file mode 100644 index 000000000000..26eed75d6c06 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2022 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##*.} + 9 )) +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 + virtual/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 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 +}