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 D90A8158020 for ; Fri, 2 Dec 2022 21:29:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7515CE0E77; Fri, 2 Dec 2022 21:29:10 +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 5CBC3E0E77 for ; Fri, 2 Dec 2022 21:29:10 +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 CA5EF341359 for ; Fri, 2 Dec 2022 21:29:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6022077A for ; Fri, 2 Dec 2022 21:29:06 +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: <1670016541.46421c053f5b38dbd67f710df893e1054e0c1ee6.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.81.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 46421c053f5b38dbd67f710df893e1054e0c1ee6 X-VCS-Branch: master Date: Fri, 2 Dec 2022 21:29:06 +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: 6c268276-cdb8-4fc4-8530-38a91ea5fbad X-Archives-Hash: 7b6ddb7eb5591a9e34b123ace7dd00c6 commit: 46421c053f5b38dbd67f710df893e1054e0c1ee6 Author: Michał Górny gentoo org> AuthorDate: Fri Dec 2 21:28:13 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 2 21:29:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46421c05 sys-kernel/gentoo-kernel-bin: Bump to 5.15.81 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.81.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 86c9f0cb0c5f..6d28cc8d4a8c 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-83.base.tar.xz 3328188 BLAKE2B 5d8da81e1c5f936ce49589d1dd10 DIST genpatches-5.15-83.extras.tar.xz 3932 BLAKE2B 42ba0ee79654687ad5c858344ef7a1787c23fdadcf312788b2f53e739bd6319b3771c89d93eef7f604bd4f9275777421fcac09f8030af81cff6b3d9482b8e804 SHA512 55873c4cac9a4c5bf030b562c927fcc663a9a092602366d170541050386d427fac2dd8ac013d13b700bd874e47655d10b2cedb5b4c1034f41819c675aea80506 DIST genpatches-5.15-84.base.tar.xz 3361044 BLAKE2B 355479d56f6234f63cdf7acad501784edc72f3e55ff6ac0e09ac26004c38aa30fff62893036ab413d0e8f1334a41568c59e075452b5c3909f88b8f48f0104748 SHA512 7a7a3b03d5aa348c7e4c5d4d7e4972c8538778367a9eb1984c1f0b3ab202ad27b92d1fd7f29dbc3fbc17cd413d3c1a571f5201355b27c22bf0f55bf7f0d57206 DIST genpatches-5.15-84.extras.tar.xz 3932 BLAKE2B 1729d46e8de60b40e69fdf7f63048d9c4142de4a4dfd75695f3303034b1b1732aee6c20a62a3f2d7b4b464e22babdd6261ae4249a79f79bcd7c817faef55ad5e SHA512 223124d0323024c383ca342969404fcc514596364a90cc98bf8a8e0105e5c2420973a2efb6a47c732775a4672fcba4d3d4386a8fa5350e8ce8a98dcb6f5718fe +DIST genpatches-5.15-85.base.tar.xz 3424456 BLAKE2B 3b5dd1fbeec6ecf40e922ad97662312346a72b81f79a40b0066f5773bd9ab63c979e4ff6564361e44b9f3f49ffd2f3cc47118934d0598d49d0e1be49b65b4e78 SHA512 f36cd6153eccc29ff7ec0e97eab85d6c0918928350b6dfeed97994435b623cc6015a9821655d0fac2b1f68370ccd8d0fbf88d8b3854ee2d9a7ded7e281eb4e1e +DIST genpatches-5.15-85.extras.tar.xz 3932 BLAKE2B 466a3564c1d693c90d925457720960f79221d99f740b5ef67152dbf957d9c44a07b867e916cbedd32c92e268341bbe05d3fe40663e55c358cf4439d3a343721b SHA512 03b9f051fe6a8415b693a64242d00a457f7640dd8fd6ad9659da8deda9ee77b8c52769bb60ca5194e781696e80f703ca17bc1277b1979e1f79e99144a30ef664 DIST genpatches-5.4-228.base.tar.xz 5198204 BLAKE2B 35942e1ffbfd792f2479ce2b97c7f191cf5fc5712ccf101ee1f5f7f0486d53da2307237fc2d50fe0353c82557df03fbdfbc669949616dfeda69970628ad98ee5 SHA512 333dd865d3f10083566ddf43ff4d159a6842c3ed92c703dbcebd0832b0fdbc53c0025856eb1608ac485c805702608e52c600e08922fb831536bc6a099f74f1d8 DIST genpatches-5.4-228.extras.tar.xz 1812 BLAKE2B dc4f0815c8915ae371db4da0ecc1066a269547ba1a967a6067121de25c06445356b6f1339088d402e7f9ca5dbb91b49ab717dc3168760cb26ff3e279177e16e4 SHA512 7ab2f0466b677b3506c080bacae1217b54b35ccb45f65000757bfa09e3ca2834a3b78c4b03730f11c6948be3e3a04c1fe3bc562585248039185d94ba805adfe7 DIST genpatches-5.4-229.base.tar.xz 5214840 BLAKE2B ede38de7b09b59ab96596aa4e47f7d2dff06e8e3e403e0b3a15092991bd21504ccffdc21b8fc5857fbd21ee89842f7a6d74fd88b5c7426ae2a5dd3d50ce8db51 SHA512 ad086f2b00e870d54b1605eac7fe537654c09830b69c316cee71a7bb5e621e6ada37ef780c4d2c3ea9678e4a72c19355acac2648e16943ba0dde4e711909826b @@ -46,6 +48,10 @@ DIST gentoo-kernel-5.15.80-1.amd64.gpkg.tar 69795840 BLAKE2B 88aac1859dc18a35c93 DIST gentoo-kernel-5.15.80-1.arm64.gpkg.tar 62873600 BLAKE2B 4eff285c6caef0120a604bc83e1bb4e9faca4217b84ddafde768587cf17c642a86761bc803a528ed7a6edec7fc7d5d5c44f1c766233aa0597461aefdf114f894 SHA512 7cf1fdbe6de6a31165ed608b9041b00824935b09e72e36a3eab0be8763d1430c23842f23a99d764387c268f9a485635d346275f746ea8eba685e6f8abbb6b610 DIST gentoo-kernel-5.15.80-1.ppc64le.gpkg.tar 57241600 BLAKE2B 7580860335c37f55ac3c676e784b84b02296324d07910d66a5a8974c2c4410e22f49c03c5ac1f20e7dc81b37922ab052cf3c918606197e51a38ab6e3cea88063 SHA512 aa9f22f64f2f652113d4d4f4ff56934c02ff32053293a05d9075052cf8151913101de38384037cffeacbc5b2f8863add45d18d1646b6bf57b49f46ca7eb23572 DIST gentoo-kernel-5.15.80-1.x86.gpkg.tar 59136000 BLAKE2B 4a0733a6d3754b7fb1b158d8238673b0e380dff52366346a03de5608bdeb7edc2987560429382beb867869adf1f5c6d7bd1594ae4e1f60fb34fc05ec42f923dc SHA512 44b79d83902ba38cc62d972670c16f3cf22ee3a1bf09afb37aa9e174a8662925dbd62aaf9090eee0323e24106fa9aa6ba630fa22cfd7df08e2988c9d9b3fd7a6 +DIST gentoo-kernel-5.15.81-1.amd64.gpkg.tar 69816320 BLAKE2B 506d2ea11e65f74f9090b82b5ee06cf7d878c69a2e77563156db4f1cdf6fec2c64bd827f7e9d095a013762a4cfe166c92f4f0800f86c2e44866ebb5366e3692e SHA512 426ce486b9f7ac07067153bb8a9e9cf893129fdb1119a852c8a38f1f91f2b684566352d0968a420170039053775a145b4a2f094c764f5bbf3b3795629e0bd175 +DIST gentoo-kernel-5.15.81-1.arm64.gpkg.tar 62894080 BLAKE2B 9eee1d74fee49f54380d2c02f1893c6de1541415f30edb1ebcc9ca9c840c80e54fb6289848d057f282a1838b4762cbe83323c78e8ee8016298297bdc86bf24d4 SHA512 2c6eea3e540b9946f4ccf0047d8590e455e63c88696356f50ada2be2ea6339c28897f9449c9feca0f06912edf4ec20c8b68c3e28cad8d1bed6fd43eda39a96fa +DIST gentoo-kernel-5.15.81-1.ppc64le.gpkg.tar 57241600 BLAKE2B 506ba660d84269d1bfa43740821ec42c154b0b6368b859e1c14af2a69cb14fddd7d810da67fc2342e6f5b866adf4746fbb4a48fed851dc10a764efc67df027c6 SHA512 f27fb006f671efadefb02d0e32d0737a9996921d0ba7703ad1693ca3ec352a15b0d262c4a977d08143b37c79fa3ff05e35acf634768a27aace3c0f039f18c28d +DIST gentoo-kernel-5.15.81-1.x86.gpkg.tar 59136000 BLAKE2B e08f78294d8b9531b2fdde62b4a1f1c258c3750ff02ef6879529806ba8e9be5f65a3faa940528ffdf9db4849c208e537a67d59df63d6383c5cdac2e52a37f966 SHA512 65fe61ff259465e77529d532a9aa84a9e0bbd4d4fe7ec4325a4756766c3ecd7303d1389272a5f196fabbd62d7eb112607194104e99a572c41f9d6ef1cfc3ba80 DIST gentoo-kernel-5.4.223-1.amd64.gpkg.tar 60620800 BLAKE2B 1fbd9fdc06da23b51f136db8eb5d2db76110116c5f73868b07162d853c5ef95094f953bc02686f2855b9b5b0954792c4eac884f6f81c1dc524d8c14e4310849b SHA512 9ed74651baff980bc578eec8cc66486d5183a042943e77d6f11e37ae26f7b8892128b1886038ec4b683762a61bf1a35ba2cd571037118557f4dd4f4494b2c720 DIST gentoo-kernel-5.4.223-1.arm64.gpkg.tar 56821760 BLAKE2B fc2ce930c0bd6d3c3efd51057e40bd1c83db3a812c8aac5996d05978aae4dbe6163012699c72fec553d83e1397e6cd9601fefbfe3105c30523ba49f1daac4a52 SHA512 d4fa5d7570c6fc7534d92ff23fedb2349196d0b07b7a8ed8fef43b40cd6a63205ffb30378340f704652b4e3a16b45aec3ab6bca9ae308548197c5c9383a1f452 DIST gentoo-kernel-5.4.223-1.ppc64le.gpkg.tar 54343680 BLAKE2B dc69045d3281260f370a97e2f77315f8488fc730980e7b3a93cd85ef3fd3044e18a0f8a1bd81d48e33acab8eb41b07fedc3679e4b1a732146d13b3552febb753 SHA512 b0463414a8a1503d393d8446c399269167d871591da08258a258f280cddb81bf8a6f20f4e3a9699cb64f2d7118bd0347b77cdb52f7340486a41b8bcbee1f6ba3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.81.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.81.ebuild new file mode 100644 index 000000000000..9c843f83530a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.81.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##*.} + 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 + 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 +}