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 9EFB415800F for ; Wed, 22 Feb 2023 20:12:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E374E0857; Wed, 22 Feb 2023 20:12:54 +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 3F8C5E0857 for ; Wed, 22 Feb 2023 20:12:54 +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 5EFA9340A7F for ; Wed, 22 Feb 2023 20:12:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF5BC8CE for ; Wed, 22 Feb 2023 20:12:48 +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: <1677096764.1169ad060677af1f2bfd53c793c9b0d17ceef1b6.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.4.232.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1169ad060677af1f2bfd53c793c9b0d17ceef1b6 X-VCS-Branch: master Date: Wed, 22 Feb 2023 20:12:48 +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: 64187636-09c2-4bb3-8673-a9a796b5906e X-Archives-Hash: 564db4174bb916b4d7d9de01402bd7b3 commit: 1169ad060677af1f2bfd53c793c9b0d17ceef1b6 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 22 20:11:31 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 22 20:12:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1169ad06 sys-kernel/gentoo-kernel-bin: Bump to 5.4.232 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.4.232.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 58c7ca5e1e89..53b4d19b77c8 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-99.base.tar.xz 4024008 BLAKE2B 82205380a55439dbe6f8605d0907 DIST genpatches-5.15-99.extras.tar.xz 3932 BLAKE2B a78ae77735742abfdb7a622563ea1751b7da91516c6373f65a983e1e42bbe15915600528045ed6f9b413cc424506021367216abdfa0fbf5234ace650c55febbe SHA512 21671c1a8b7b3cd3a0e36a05b934c9b80c4aaef90ae8ff200572651f0559e23b7418a9df7b5a59118513cff566a2baf72c3fe4c273a38b4cefd64efd0973441c DIST genpatches-5.4-236.base.tar.xz 5467512 BLAKE2B 5c2ec5abee963eda0373e04d4f0da94d7e49b7a1fdc05f7a2f7cafba61771124503f1294289f79629afb62075855c176887f525a95a73bef4247b57915dd4877 SHA512 0a3ba2742ab21407ccc9060f37d528cdbe64dade85927aa1908613221973f14765a78ef6a71e157a71defcf1ee9158ffa1c2e7c082f508fc1140792e2311a073 DIST genpatches-5.4-236.extras.tar.xz 1812 BLAKE2B acc781fb099315e4716cdddc4a7f7ec88bcfae2228fd63c6f8bc99b3f562baf75339129f6d8e5970f5a812f6523fbe316992e1bb1606d6e06e5ca769ea1b5535 SHA512 5d772754922bf7eb2e21eac8fd597ba8c6211565a4d96a7bda6df68e089654b908bc09cd884c6e570836814ee75c84252d26228a20d138577e7717c498edad86 +DIST genpatches-5.4-237.base.tar.xz 5514132 BLAKE2B 90509a99ec10e042915362652369c82b562130e47c932c6209cb276aa3bdc20c66b07a128cf0c52872e64423813bb3f6e5aeb1f16d4b911835fb8b720eaeb0d8 SHA512 76294e5137c9b2610e15a79820fcbfa20e4f7449a2f06beaa3f7b88564a3d51f6bb7655a65313aaa636ff4c1cb470a220c8a2261181ba8aa0c4edae16c2a81ec +DIST genpatches-5.4-237.extras.tar.xz 1812 BLAKE2B 5a4e6b9593a9e9f87afd5f06f03fcdec5fb6072c6689f392821a9778e84634da193c8085ee37348adcd7059ab05ec056e9d7dc9fa27ec98c118ba18878baeeb1 SHA512 21f552b05deabff804c841247fa037e71cca35892f8d212cd5c2c0dcf8a43e455a7d4934f59e4182513dc2257a34f5a976823cf6c0f87a5bf3449365ad353769 DIST genpatches-6.1-14.base.tar.xz 774040 BLAKE2B 8e0866c762e2711b766cc75630d66c7c46221bdc47357a903c7e8506ad122b7b5ba84d102b19743d236ac5579b44d24f77b9f52f3c23695ab6a279cf7875e735 SHA512 6a753146013baf0b94d83abd690118517679d4d7dcf6e9f86cf8de35e24f80a792e9c0692f237098671c316d046d6f65f8d3512255e572daf6a8ca81853beca0 DIST genpatches-6.1-14.extras.tar.xz 3804 BLAKE2B 7f016579b130c9a4f7a8ec946254dbd682f22e5654ae777d11b265dafe2b177a4c40c5a979a760a5bd6ed3dac057b90a3120c60b958f6b748ea4731b9a5f1ea6 SHA512 2807d359459dd11b9d3356fcac609dbfb8487e8c924cc543ef37698667b1c8b74cff7b015839ca0677cf1f96b566e0b5018c057b517275886ab500cd2ca49653 DIST genpatches-6.1-15.base.tar.xz 803732 BLAKE2B 5f43fb07787e9e861b54b4977acff47c13870b24cba98296538651c656e332be2bd194b91a67d68858bb7ddf116e0e97179c5c039c64b75f4392829d091ee387 SHA512 482cb110c5d218a0b0dd4dd828862d9cfb5044b5c90f75218dd7bbf266dba1a11af11ecd913029904d6de1d572d2cbb247b5bbf1c4bb5711eb9fb03b327aaa81 @@ -38,6 +40,10 @@ DIST gentoo-kernel-5.4.231-1.amd64.gpkg.tar 60497920 BLAKE2B f04ff277248f94e2039 DIST gentoo-kernel-5.4.231-1.arm64.gpkg.tar 56514560 BLAKE2B dfdb0f036162843b839f37e28d2276fa073c8ce1c56a8016ff816410933217f46118da0c94c73ff2d917b696034a8d3f6b3188ff597425fa0c0af0b152abb5b5 SHA512 7b8efae1e45028332ecd0e3229492a4a577e352bee3b91a1ba6d356183d12e7c98c4293ec432d48fd23a24a3d558f0d543406143d9c9e4eafba0065a446fbca7 DIST gentoo-kernel-5.4.231-1.ppc64le.gpkg.tar 54200320 BLAKE2B f987fcfb24e2b75de94f831673c6128b7c943b5be328fff880de5d2a862445dc6f36fce8e6fbfdd8f9be98acd97d3c9640b5979114f49069b0333a19e0950af8 SHA512 7b1b9cd22583802c0c9531d1e36a34634e8a0b17b2b23394e54e7c1b38d3019934bddd281e9bda8f5c97320e46dc2893c002b1259c47f7f6b1e67852ea43ccd0 DIST gentoo-kernel-5.4.231-1.x86.gpkg.tar 52408320 BLAKE2B 5d1fe8ed14f155c27d21595ed037ab3afd70fc7b42329ee235210c9f91ac9ab644b57276700b73053b952007a7ea647a82483b05843de05b426f8244066a4331 SHA512 1342b96ad37c224158faad7843b03b83cfff2b54bb77842309ff1ede6a0473a6b951c0b8f830e81ae41ae3867011c52efb6b999dc46606e6b298e8a98be72764 +DIST gentoo-kernel-5.4.232-1.amd64.gpkg.tar 60508160 BLAKE2B 6571ee0f21c8634e127f0f41e35c9df53afdb651e1e99682a3be2577c50eaa94a6d6fd43393a6737352bc62e9e167ec7688c2f65cf240d142061ec91bd849365 SHA512 10be491bae0f55706506a4e200377bda270466e95f11a5c05e087ab17a640d84afa9b8ee7db2a60d3a140cd1dc57bc0162014d7f74fbbc72e5d85dacd7c72a93 +DIST gentoo-kernel-5.4.232-1.arm64.gpkg.tar 56514560 BLAKE2B d44cdcd399e21995713df549ea3bf6e2f64b066b7022120dd142304816e6412a6481d33dc9f4292a549d5b266669a45312b199a653dfab94c9493fef6c7360cd SHA512 4a6875b720322f5200dcfb7b9703bfe12e3237cb4ee573a4c2d7f8aa9070bc89a644f5ad4570946326f0267a84625c14dbb9bec0388004efe3006ea0707aa45a +DIST gentoo-kernel-5.4.232-1.ppc64le.gpkg.tar 54210560 BLAKE2B b8d39126123cf38282d4a6c80f9a4df40edcc1f1a068ddd6c858178374999c833998fddeb74eadefb02ac19cdbd01cc094177ae1a6ef85769afbfc211fda90fc SHA512 b111f3cc958b0caf0bf6ec463c0548858ec0548825488ff85be4eba0aca8672998579d89facc71f42b93a1bb4f4ae91675ea2c47724d8ad7316c851a67721f5c +DIST gentoo-kernel-5.4.232-1.x86.gpkg.tar 52408320 BLAKE2B 075d5ddbdda4042cf2a87a5fefb86a468470bfcd6ba847a66c195e08a878f66ae0199cbb831cd284f953c11e1d8a9c7b0366fcaa98b5aeddbabd45b9baf0e60e SHA512 16f05220327f99bfa865b10febd59791a37a6855b44027c80e1cd4a82946eb8fe3cf4a4e2d99266ecd94af9ab92704ea280bac074233a93b839868621a3d2d20 DIST gentoo-kernel-6.1.12-1.amd64.gpkg.tar 76759040 BLAKE2B 2f2e485ff705b26fa3b1db861acafbdac6362151e30dc73cb2829fbf871cc022641cc15cab82e0d19a25c720f84b6382b74c02d34f658a0cde90a267160f3af2 SHA512 d67fd7cf59df2e648bfdc7543995d7f46160d708a2fdd172002fc94d81d4b1bf1b1870754a6d5223a3728484170bbc6f5650c845dad27aab45da8f9f9eeb9232 DIST gentoo-kernel-6.1.12-1.arm64.gpkg.tar 69447680 BLAKE2B 83f5eea4ca23eb6e79fad8fd746759982fa1d7e6cbd4cd63d43901aef9be3e7eeb64864f6538bdea6efe2486d13a37042a5533825f924a2af393fe0f66db7a72 SHA512 500abfa834826bc3ea7bc97c1b8991e68e72edb8c69ddb316621ff3029bb7962d8c8cb34e73f71ebed2f9db4600b5bf03f925953f67ecc6b46e9db5f35c265fe DIST gentoo-kernel-6.1.12-1.ppc64le.gpkg.tar 62781440 BLAKE2B 5a29a7f274f8b3122209603fc1b05ec7940dfaa0bf9dbcf658897b99203eb091d74f8df8dc9a7fec4b2bb913695c7d78650d062d4b58ade48598f2cbfbd6ff58 SHA512 edef917a088aef0b6ec572f678febfcb448c64f70de39697e01be50855e81fc9f3638d432c98ff75bb8963ecc25bf783ad9ce7752cf4705f875415feacda9974 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.232.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.232.ebuild new file mode 100644 index 000000000000..b8ae60a3f786 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.232.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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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 +}