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 BA6A6158062 for ; Sat, 11 Mar 2023 19:19:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB195E07D8; Sat, 11 Mar 2023 19:19:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 895A0E07D8 for ; Sat, 11 Mar 2023 19:19:44 +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 8BCB1340E2C for ; Sat, 11 Mar 2023 19:19:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B8DA8DD for ; Sat, 11 Mar 2023 19:19:42 +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: <1678562378.0c0c59e3a7189fbcc97c02d2085a2e1651945031.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.15.100.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0c0c59e3a7189fbcc97c02d2085a2e1651945031 X-VCS-Branch: master Date: Sat, 11 Mar 2023 19:19:42 +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: acf2ae87-1309-4506-84a2-c88d0f60caa2 X-Archives-Hash: 758ffda650ef91747c72793fe7938cd3 commit: 0c0c59e3a7189fbcc97c02d2085a2e1651945031 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 11 19:18:41 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 11 19:19:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0c59e3 sys-kernel/gentoo-kernel-bin: Bump to 5.15.100 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.100.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 48559d041b57..5368b3475209 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,6 +14,8 @@ DIST genpatches-5.15-102.base.tar.xz 4041416 BLAKE2B ab6ac9c8d03d41594f1f3c0b59c DIST genpatches-5.15-102.extras.tar.xz 3936 BLAKE2B 4069a121383a58eedd557cfe3c421ca8c033e4b7a976845c557b3faf66b33d9efc6c7b3d4dad20cdeafb7d62588a4c49bb7102abfbd7acb1c98b1afb86e8f87a SHA512 b12c07aa5c9974856482f44ecc39ae03f7ec8879d07bff562d56b0c18752d748455b519f7bd53cde5f22df1787c15d52037ee236c1150edcc20416b9c6c1e272 DIST genpatches-5.15-104.base.tar.xz 4172432 BLAKE2B 3056125f31757d4daf4d5a5df4f9e0c02257786d5dbfb44a134abffd2c8615d170f64f4d5154b04e7a5e6e825ee175430c842a7490ff6a3414954059a72a88f4 SHA512 324899dda69e2388adcc7241a5905110cfcd6a400d011c5948a983ccf5693be820b56115b5448f96fd819457574bf6ab3e7cabbf8169bc471df4b9a73b024975 DIST genpatches-5.15-104.extras.tar.xz 3932 BLAKE2B 749f1d9446c12992266e4b24771cd4273fdb6a72793f3591956c33f210a2671d587f0cc04d0e9751511bce1e03b76df53e65231393e9d2eb1169ac825bd046e1 SHA512 66de4f74decfdb0f76050968d98a6cc378c04d5d19b9c16e35fa9746e9dce235c602ebe12fd19fc2b6bf8fc9d9eab3d9461e6aad3edc00cc465ae18a776b0e4c +DIST genpatches-5.15-105.base.tar.xz 4208564 BLAKE2B 61c56a00ca87e33d7b566b319bba1e08e5dc104f2a5c21be61cb657abcc63d7b72ed88fae3adce80a6b648df7c2e715b9fbf71eaf0a43ceefcaba4d57e51707b SHA512 6ceed62dfac16a826451670771daaaaa47d92fc4971dcf72d486f802acbe111491bf01b1bcd5fca6f548d655a57bdf038a90bfc8a5ac1fe8d7796d90a2188757 +DIST genpatches-5.15-105.extras.tar.xz 3932 BLAKE2B 7739e3d8459ebc58cafa0b95f7414e204a5c4410e468e11e27704bc08f32169a285baa6661289bf3d52602779d5e00eeafb84dba7847fa4154614534026aa5ec SHA512 28947f5bd2e49191fdcc46ccdde98a22c3e983a4ee6867c8d04458972ec3199bc4648374caff1a090105d05c8bb9eaa52e758b5d352e076c0a87967c659b8e18 DIST genpatches-5.15-98.base.tar.xz 4003192 BLAKE2B 79d4fb60a5192137571109ffaefdfba23ac589102539cdde89046f627f39e65a52a44a83607232b499509b8bb4c341e2fd26ae971587c9574d4ac87d8b220893 SHA512 946a7638d19d5fd610075520e529a6c5a47aaa433b7986493f62571a7dc541278013a5006bf1e745496e4eb98de44af56f61d23679c139a719a8d5bc20c9e734 DIST genpatches-5.15-98.extras.tar.xz 3932 BLAKE2B 4e5dd4f8ba6d14764a6546cf7e64dffb3ddcc77678b7d96d2498917f30561792c904c635b0fce7191b7c0c65549fa769e89befffbea5e53a3cef64c673937c20 SHA512 337d95159432cba3b85511cf80c350a8a2f67c65b72a90b26ddc98c01d2d8de70d9b6067e0573c5c339a5bf64973d10c06b42001ee19a7add3d672e4577d0622 DIST genpatches-5.15-99.base.tar.xz 4024008 BLAKE2B 82205380a55439dbe6f8605d09078d7a349ec60180204ced6c9902f340077c800cf515f3f513c69110eab37a8daa386a82ec4ba9e84dd02299ccc45379cdc659 SHA512 72033d94d3d509ecefb5a54e82906408802118cd985f617ccf7465e23d19363668159998dadb950bef58af11bab448110e6c753eb6eb7dd107feacbda4d67f3d @@ -66,6 +68,10 @@ DIST gentoo-kernel-5.10.172-1.amd64.gpkg.tar 66304000 BLAKE2B b3a6ed8f594fb79abf DIST gentoo-kernel-5.10.172-1.arm64.gpkg.tar 59330560 BLAKE2B 3dcdd5a9f2ee57dd87b7de4bf29c249208a0b972a26cf221463f8666a083c64ed92447c33d234479543b977e0078e46d2c7aab4bfc76ac145bf63f6ed1eb1886 SHA512 ecede6116c7d3c4c294dfdff644bf2eaa465998c847952d5e9761bebfc4d8eb2a76134c0602e783680519b4ac56b721466ca0d5783e2e0e78ae7e2d0f30aab09 DIST gentoo-kernel-5.10.172-1.ppc64le.gpkg.tar 54927360 BLAKE2B a42225ced7d67ec88959038dac1f87243e690c338382fad4ffea25a5fcdff8673087a4da628f5bdc9e60d8ae87d629528820e353291d1b7f85d6a1d219c2ab4f SHA512 28dbc6fde9d695fa340a87312fb94fed9049de99854db3fc71f00b0faa64c475e4f12667ae0b2eaf1349c52c28b594af9f9b2090ddbd3a47b94ab8d9d26b72f5 DIST gentoo-kernel-5.10.172-1.x86.gpkg.tar 56442880 BLAKE2B 7255886c9de05cba2e2d4fa65c2b48a0de69c08cfc0aca94d797d1f51ee5ac04c2af0d0b651a7c0a492e70561a46ce34976f6af857e0844eeab0a853a41bb332 SHA512 aed2ea8a1e4fb4026197e80335d019b95aab7dabc3de7d3f20bc1a80186e1c21e25d5a55a874e9367172436216865238f9fcd4467f0a56ecccd8a8835046b9a2 +DIST gentoo-kernel-5.15.100-1.amd64.gpkg.tar 69652480 BLAKE2B 26b37e7b1f4f036616f7d11a1e72392e8670a4de135658a7beef1a5f0b51b49e798ec8e6fd41e816ca7ae7976671b5b66bcf73fb2471bdad7a452dc47ae17f81 SHA512 e977f08255f7ca9e1d7848172b01e779f59a3c0e42bf960ff00d0f78ee1a2bc958b72b90728fb0c308e42c0ff2acdfcf3f629c4188066554b493ff13301f988a +DIST gentoo-kernel-5.15.100-1.arm64.gpkg.tar 62597120 BLAKE2B ecacd5f76bd5ce21d6561344e906e226ab5d515eb5d09ee36b57bde9cf431db84acb98ab171f9c557a7dab255776b8b35c4ba71c5afcddb49a2da0a3e3394de2 SHA512 1e20d37822cdba8710254d3c644d71cd836be6a33f137d33491bdc1a4de4256dcda3cf2102cdc08f8611b9c900806f8111b320ce0dde4948dfe838c351b9e7c2 +DIST gentoo-kernel-5.15.100-1.ppc64le.gpkg.tar 57088000 BLAKE2B 1a5f7be262c7ff1f5e3c632202f65a64706de92270c80a583507c81b58b0657e0a44ae8f0ef338db3cac59189fab7a2fbfdfc83f51dcff2d4affc2ad3f099f33 SHA512 e424fea4113c64b55a53b563a1a0c9a04f136aad090a5f69d14adeca53f820760aa452a0a62df1e4a2723b254ad5c139721dd04fc2e967c4895dbbbeb8ab3108 +DIST gentoo-kernel-5.15.100-1.x86.gpkg.tar 59176960 BLAKE2B 129229ef1ba423b0c070970d54893e02e7c092c4aa2aa8a72f5e846bbd0ae2f0d882c68d663ba198e00ec366c5590917aea90c1a95443e58217863536eecd52f SHA512 b90ed10ffa11955150ccd8d01cef362360e251c3502ade01ca424a333157e2abaa6312019097d6cc0e2e5215f71be5e7e405409a7664b26062d7af1e13936ae6 DIST gentoo-kernel-5.15.94-1.amd64.gpkg.tar 69591040 BLAKE2B d8659c0584ae851b05d933fed2a94f05eb8c93591b07ae77b8160d397fcf69d2ea8819cbdeecd294d3238377a4450789c653012a9e50223ab98aa5a229a98f11 SHA512 72bdc70aa6c8e51b1896b5872d9bea372305866509a34fc4ac99cd88b01d191041d02c18a0499b03d119b79499825eb97d105460968ac96848274b8fb8175f13 DIST gentoo-kernel-5.15.94-1.arm64.gpkg.tar 62556160 BLAKE2B fc2122980f798c1313913adf8a28436906ccdd7bb565166ffc5039fa66360b2a7ff1c2e97d579c85cce4dfa6fb471f92d973991998fd4b2a2637adda55130921 SHA512 9f8566bba0bde6ede619a9379e8acae7d3cb1364c888509755cabf0c64daaf3d93ff0085102a2301b0d5c38aceed44e609947099ea9d9d32edb1f04e3b0ae54f DIST gentoo-kernel-5.15.94-1.ppc64le.gpkg.tar 57088000 BLAKE2B c5533a6a4842a765346270addc6ff1590ad60ac5df94be8ac0b3209098ee058e09d54d61d8c639bc09e652cb38b179257b62eb33343adad53d5c7d076c5b852e SHA512 4c4385f4b4a2776e67c95d1be5f59c1f00e312dcab740a07344a9118716f574f97064032c93e7b1c4ef97b9ce29efcfbae598297674f4768c09b787b5630db4e diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.100.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.100.ebuild new file mode 100644 index 000000000000..64a82c2b8323 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.100.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##*.} + 5 )) +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 +}