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 F3AD9158009 for ; Thu, 29 Jun 2023 05:12:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCA9BE0858; Thu, 29 Jun 2023 05:12:21 +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 B5CE3E085A for ; Thu, 29 Jun 2023 05:12:21 +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 CBDE9340FAD for ; Thu, 29 Jun 2023 05:12:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BDAAAC8 for ; Thu, 29 Jun 2023 05:12:18 +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: <1688010910.f9a7a646540ca86f6a428f5c29b204d664839ec5.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.119.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f9a7a646540ca86f6a428f5c29b204d664839ec5 X-VCS-Branch: master Date: Thu, 29 Jun 2023 05:12:18 +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: 47bb4459-5d8a-46e9-8af8-d1f169aa9efe X-Archives-Hash: 01e97efc73d51a3874605d4c05cd6f60 commit: f9a7a646540ca86f6a428f5c29b204d664839ec5 Author: Michał Górny gentoo org> AuthorDate: Thu Jun 29 03:42:07 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jun 29 03:55:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9a7a646 sys-kernel/gentoo-kernel-bin: Bump to 5.15.119 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.119.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 31429f633067..28fe3e1b3929 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -18,6 +18,8 @@ DIST genpatches-5.15-123.base.tar.xz 4796616 BLAKE2B 77f5ece18ead48d21a9edca96a9 DIST genpatches-5.15-123.extras.tar.xz 3932 BLAKE2B 708144e428faed3f92e76be99ae6ad3e492113f585d8d00fa099911bd528bef269636e10204317c2eccb159aef18365c8f920914617f7565bcc1e348f589f311 SHA512 93eb2ae79468046e6b056371e22b3102245ef297ac4c6db607efa2fc512e259355ce2ff96526fe212a2704d09902262471787390f837534745671d5daccc2b9e DIST genpatches-5.15-124.base.tar.xz 4885784 BLAKE2B 7ae33a4205652539bb61901bb1c9f7d3c760eeb8f0cd50780f10c060f559d2cb695b12cf1626d11a043868bdc925b319412b9931585a230d0b6fb6eed9c25936 SHA512 1e01ee6d73d10cdf325fc7a9143f7a6bc1c2ee86db3f2e074cf0165094764c862a2b52d91edff510dd567a402e659dc3e136c623fea6346664737709d9893772 DIST genpatches-5.15-124.extras.tar.xz 3932 BLAKE2B d995682455be830c9920de5bd7a0c51e1093df752e1ed4848fcec77924718f8a702ae754a0a9bdaf2c01190193778dcad33282fc8b8b0c1b63f5ea16e33ac317 SHA512 ff054292b61efaac5a9936aadf9de4eaafbb0be06e45a7b6f82855b52bf0695fdb576244dfda48b9c869b2fdfbc2cfd7d2e19ca50a4181efe9807c2048c96958 +DIST genpatches-5.15-125.base.tar.xz 4915860 BLAKE2B 96229c43a47f523ea88a8085aa3ef976b6b07ef4d438fc9118fbd8abc6868548ba807c51b6aa44f7fed99269381872af39d1c77eabf14f4b34dfed7a04af9be1 SHA512 7c65da0e4fe7772d3e9d631c707eda473990386d70851e533f47c52dd9ec4362be18caab5b685d2abbfcca25ef91705fc353c77c2cd0c4f209ba70e39a225e53 +DIST genpatches-5.15-125.extras.tar.xz 3932 BLAKE2B 9cd0bb8e60765eeb2ffb6b7470879ae235c8dce5a1ded0b29e2b4dd69612ba9613a0bf57477dbccaee445d99cd4fbca9cce47a6ca4b2c5d8f63c88d416e9063e SHA512 161b7052020538722417f0f2c4408e4e2505636798d960320ff14854bc167037e1479e9505c0ce52be8d9e4ac4066b3ff976d6175ea23838272d508a4732fbe6 DIST genpatches-5.4-251.base.tar.xz 5798892 BLAKE2B a519f23086a440d560e5301b77aa1a627e97d9c2545adddc6fdfe9b55b35dcbef285a6e92d4ab615b517177723875a53b6b5f1dc9c237dec3f23acb511e08be7 SHA512 c8d228cb18f2c64631ee5a40d7de58e78c7fd2c452f54101d0e6f67149d5d3df30076b461dada5bd862e4b97daf30a6d15c3f50526b46156d9ffca946b3c65d7 DIST genpatches-5.4-251.extras.tar.xz 1812 BLAKE2B 440f5d63b80e31753c46c2c2bb07bfdd257cac6847dfaed63a19c9e255da0e6ca31f5535718572afa143918bbab9d8651b0d8462f5bce619866d78acbc063682 SHA512 54d1ea7625daff0c8d50f8abfba616378d8bc4c62cdfdc03648bec9312803464d0c662bfa619c357a73247c00b22b9725896cec5aaefc66ef811e0f97ff62e91 DIST genpatches-5.4-252.base.tar.xz 5808300 BLAKE2B d5cb4fe312f469a331269eca8604d9c43feca79bc6778af670fad859de3098c31cf0408fb58d95f233564e0ab2eff7a45ad041b8fc6bb97be0f93dd911224b62 SHA512 4970b66f064f53db230877fed6434e39aebb727438465667af6eca8603b712089830789c16bae5fe0249dfed0cb4bdbf1ce695cc7a1ebb6ab64bb61b1b38a5cb @@ -92,6 +94,10 @@ DIST gentoo-kernel-5.15.118-1.amd64.gpkg.tar 69550080 BLAKE2B 8df531d9e79e6317bb DIST gentoo-kernel-5.15.118-1.arm64.gpkg.tar 62515200 BLAKE2B 542954db565bd268933a29467be104c6aa9fb6ae55358e5b5c152bd2f8292f31b12ce67ac99c357dbc712b1daf2d80d6e0744b3543e3f1dd2c188924167f9e1d SHA512 026382360d0fd02e27a6eddc970101ed86d59d26ab0b0c143abcb56ec34f42931296b7cde2c051609ebfd66199b283b860cc2f467e4b98cf914ba44203c182b9 DIST gentoo-kernel-5.15.118-1.ppc64le.gpkg.tar 57098240 BLAKE2B 4a009311f62d99ce6713b3db0cf38ec6202add56e2127f0ba53ad6ae4244cde27774c09c9547eb15c2d22b35e7fd168bc46cd8d6c831cc7053d96f1911a040b0 SHA512 427e9ef000eb81360986376a7cd0e201719d979e3cbca63e28ea80e958f14293698b8f99b5af9c9580e46bf82955a6c5b90df501ff4b033d06cb800ed28ab474 DIST gentoo-kernel-5.15.118-1.x86.gpkg.tar 59115520 BLAKE2B f5961878e7b401be9f36ec52e27e187c174ff7c4748da4983abb229bdcc48b7565624982b804781b4d8def4665dcc71c07530a9a17ba999078f5a44b6bcd534f SHA512 e5a9d59b8d551ee5dfad17d72f6637515d8a8b5ffb06b7890f60bf4ad30d5566559492e9df13e8699ef2323fee3f9caee5c0a7336e77e492abb60ab438681a51 +DIST gentoo-kernel-5.15.119-1.amd64.gpkg.tar 69539840 BLAKE2B a239e9c01376db99ce4b87a3a322cf771d422470ccdfcc52a5b5d1baf1814f9e6e25c2c6bfd6812101711e3182aa157ad375e85f24c1919ff894187102c3735e SHA512 0c66427b1cbc6e8218f82e86eec1bb046331cecf325df5cd158ffe7d09cd350ece3e963d4c5e9348a5721da8bac4b0363a021522ed7be9fae84e6aaaed02ceed +DIST gentoo-kernel-5.15.119-1.arm64.gpkg.tar 62504960 BLAKE2B 8b7071d478e124e8dd30045dbe0c5036dd733a08779dfa7d6ad43a83919837906b0566ee9e4640e21f5b2876d11409238e7ec1e03776778cf1e1133fe0bee225 SHA512 1043efbb4f19d7fe6659127a94dc307925d33b397967e3c851363b6ecfc9bcc17733929deff98176e3ee99da8ed86242e552ebe0c85fff376dfaf45aa31d1551 +DIST gentoo-kernel-5.15.119-1.ppc64le.gpkg.tar 57098240 BLAKE2B a2df0752cf27dae8b8faa318742dd664b719e80e3776f1cf4b5f0d6586a5dc802371f947896d86537c67b23f30a039ecc3adafcdb9380a26d014945dc3aab428 SHA512 ffd7d66308e006d42fc21ccc984dd1b2c650988b4763595bf79abb52f3b9896798868e66566fc47ba528050be2b2b77d29fc7cb604f9ae38d008345a55e2310a +DIST gentoo-kernel-5.15.119-1.x86.gpkg.tar 59115520 BLAKE2B f0e624897ba26d0a7152fb49b85015f10481c734592531ff926906c23c758b009f8797fd446df43bf46657e1f8bb8404bdc94fe724d1b40b43c698bcfed5068e SHA512 f5cfb22d7d58615e9d5fa6748fbcd22c360dc69202dc61e1f60546cb86c1c881b126065fa0250fa6a2b197ef6b309ff6e5feba0a2e96d3a4b47cf41875a46300 DIST gentoo-kernel-5.4.244-1.amd64.gpkg.tar 60528640 BLAKE2B 304077b1c25137f15984e4ce6593519186eccdf491eb98046a12194651ad973d9cc3a9bc83f9806b637e3898443c9fc0f97449528df6dd91c03ff1948dadb528 SHA512 a518e841d3b02afec7118cc344476fea2d643c9e71289bff6085e3bdd7b77e098e609b1d24336426192b5c22789f34e779d97441c6d5d22cd2b9d61b5712a9ff DIST gentoo-kernel-5.4.244-1.arm64.gpkg.tar 56535040 BLAKE2B 11eb5cdfaa750cb84a64f804af672834d971e8bc8df67d3c86dcb3274d710f4d4fca4ff8d611b520dcc3a9fb4c36be1892b7fc38d06bca84545ecdb4ac21cfdd SHA512 ba63594c7546afbace4eee7102c05d66f8d93d596baf889b0224d753d806c96715a8f2088237ae1142ab7b1b5cda96fab38a2af1600711402ee25aa2b5ce016d DIST gentoo-kernel-5.4.244-1.ppc64le.gpkg.tar 54210560 BLAKE2B 879d7c2ea090a0f09a5852cacd2409baa0efcc8436f266f02730f107ec3dfd90ba561a35bd83c5b5a7bbd68a193a4e5062f5bae1cd5fd7aa7079ea4d59b2f2cc SHA512 2bc13bc6f4823c2316d31c25494345abb79db4261320209cbce07b504eae4e70e41bc95af6ab4c01685fdba610836d5dc4de21e446972c31073ac0ef8ab80da4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.119.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.119.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.119.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##*.} + 6 )) +BINPKG=${PF/-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 +}