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 8C7BB15800F for ; Thu, 12 Jan 2023 18:48:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76E8FE096F; Thu, 12 Jan 2023 18:48:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 5A818E096F for ; Thu, 12 Jan 2023 18:48:03 +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 6722833BE61 for ; Thu, 12 Jan 2023 18:48:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A347285B for ; Thu, 12 Jan 2023 18:47:59 +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: <1673549275.0767baf8b259c991c1476d7d1a6bd2217fce6f6f.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-6.0.19.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0767baf8b259c991c1476d7d1a6bd2217fce6f6f X-VCS-Branch: master Date: Thu, 12 Jan 2023 18:47:59 +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: f06d22cf-6f4c-4d48-90d8-f2f23bc56216 X-Archives-Hash: 0ca96d433639a4b9fe59bbc5ac8d9e0e commit: 0767baf8b259c991c1476d7d1a6bd2217fce6f6f Author: Michał Górny gentoo org> AuthorDate: Thu Jan 12 18:47:22 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 12 18:47:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0767baf8 sys-kernel/gentoo-kernel-bin: Bump to 6.0.19 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.0.19.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index f7c528c945a5..a9f379061eed 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -16,6 +16,8 @@ DIST genpatches-6.0-17.base.tar.xz 1012800 BLAKE2B 66ba9821444aa24e2e2a4b400417c DIST genpatches-6.0-17.extras.tar.xz 3804 BLAKE2B 46529c32e888478e4542e581837bb51322f68234470ba8a66a2f532bbe1469cdeebf7895931084d7e177562d201720bb8d8b6d32d92f27854d4728beee17423e SHA512 aa1125ef91fecafb21ef0cea18c9d8f0569e46c0ae24460cbe864e48c7bfba5c287bb05e958544592962e77992d6acaf2306041faa6f2542026d923a7140b43d DIST genpatches-6.0-18.base.tar.xz 1058696 BLAKE2B d196ac73218aba9a040cbb227010f8a698f7073d9c18e59b38dec48f2c86cb013544d66d57f2c2a9a6ad81646d753ece44222426f62348ff0dbf6dde1ea3622a SHA512 55aa267c66bc1baf908b6f1ee4e38c0ec8dbfbeb699635727efccd7d8561459cc49c973bc9a59c61a320550781dcb274d4e70d274bd46f59bbfa4b8cf8117147 DIST genpatches-6.0-18.extras.tar.xz 3804 BLAKE2B feeb5ba822e8d1fd70fce07f7e3f74b5678ca17fa54c81e64f364d45ee8801edf5d1e88ad237d9944288163b7c776ea0a9d8ab19aef43aa436f814e50c9fd10d SHA512 a40804af99da5f085046a121e2f400229a9c091969d17dcb0ee2f21ee837ad08dcc56dcfd0f826883dfb3f61f36d9277880b9819fc17e8a318f5720853e81b98 +DIST genpatches-6.0-19.base.tar.xz 1107844 BLAKE2B e185f0d47ac23c92668d523a32d56a3b8c7dbb67db40e7cc776b267e6e5ffec4d25d10ec85df396687d96460937eeeb47bb4a9e6213199ee32f0c2a0f5e034a4 SHA512 beb49081cf89405825638cb49eb95fd8fb0d2b59790a663c629b4c4bf5c7c55e424cbf96fe9bc83220c14270ed2fee39481ad79f287aded00c7bd0cbf755c400 +DIST genpatches-6.0-19.extras.tar.xz 3804 BLAKE2B b3111f38985093d7ae6936f7ceedacce53fda92163973d79984a9bf19c127ba7dd203f55bf5c57b69591310851c91127848edec87eb715c4d20ab8051bc8d30e SHA512 2212c66beddfb576e90f8c4015ed64aca1cae44367f5ffca98c949e208e68eba6b357b00a6196671cefd7811a3f1f2e188337dcf10457c8b7955129d096c5bb0 DIST genpatches-6.1-2.base.tar.xz 15048 BLAKE2B 84d1f7b4cb2c13e70b0d542853856f05de48739400f66253fd277167144ae0c259579e539d43ce65d2ee206a2820ec2ef288d9296c68a4dbd674c43d378102b9 SHA512 e349b8b535e8ab9f70cd01c513480cf75bd10dd2f2d5ef15f97734ecc9e481f137dc1cfa4c50f8a1a2f3549bf0142f83f7224603f881e66af130cbe1f8023496 DIST genpatches-6.1-2.extras.tar.xz 3808 BLAKE2B 70f549904446897e8f955146dba039b43681e03e0d72049e35473ac6ff5d05a1a72c124d410fdfe065d5652c0f0312c6eb4907afbb475e3cd9828c3f0edb6fa2 SHA512 9f92c3b899a8b106649003acccd33cb3cfaf9838ec421998d3b587893b2e6705068fdc0ff7b52ae78203dc793b6064742b721e68bb1e8d7160c48b419062448a DIST genpatches-6.1-3.base.tar.xz 331284 BLAKE2B 66670841382237e0d222ba04fea65c98420c15160c7c9073b3107efc2779aceca0bea1643be6c06d5d1ea15558cf53676d25921013bd437027090be4acb85228 SHA512 5873cfa3f67a8118d92b141406298760b54c8b3625081c5dae79fe0c07e3eae20474cbc85601e871a6bdb5b3ed2f70e16e1939d8e4af67db7598af845853f0f1 @@ -62,6 +64,10 @@ DIST gentoo-kernel-6.0.18-1.amd64.gpkg.tar 75960320 BLAKE2B be535f34e767fe798573 DIST gentoo-kernel-6.0.18-1.arm64.gpkg.tar 68853760 BLAKE2B 8e0eb41a2d69caa0ec6ffeda227a70a3cd0f30489391b8d4bf52c6a4babe7886184e3b20656540764f53dd0fd6ebd054fab0e79f1e3bff3484fc731813684852 SHA512 0575de47a4c46e1afddcce36099d6f070cbe531d9d1221094ef794401cdb0dfce9dae8a80f1ebf3db58a6f057c03c156d2d81e5d032c9c9f3ff31d9c614a2c52 DIST gentoo-kernel-6.0.18-1.ppc64le.gpkg.tar 62187520 BLAKE2B f6f853514d5144f5806b1abaf0900ef37e7f6a7cb278686e29ef3d071556db553b647863b11474767d47d716130457cb81ec17039c9e9f05e77f7eb383c78fd6 SHA512 a1c8becd7d5a98ad4c5f2c692bd790315b8aea619d0051a0983357e915395bab50d707268362bcf5341404209d81a4c3946e48eff787ea573e6e83ec5f75984d DIST gentoo-kernel-6.0.18-1.x86.gpkg.tar 65331200 BLAKE2B d20f6532681cd7bb60a01e5331415ec4907cf09e376496689bbfeada36cc767e027703858eee9f752e49f71fc9aa4815f9bd525b9af3aa957595ea07ed08b1c9 SHA512 e7abc12350c8458ceef1840ad54e041e943dc42b2db1b838afdff05da5d2221956dcf96581f7c89944fbd5b724eabc3dd93cbe34b034f286b83c306faf7d3bd5 +DIST gentoo-kernel-6.0.19-1.amd64.gpkg.tar 75950080 BLAKE2B 1d7b2ea9ca9a42c6e8be02f7370605b3556c5b647bfa874d5161eaeea8fd3b4089f2e75fa79bc8ea679b78beea1170f16f2d6a8b1e6e3ce811ddfdc217f6ad76 SHA512 3d28839dc1b0ec89fea4eda41216b76515f5a81a89b947dadb49ffa82ab8f0d4b8442c375ff5760a2c3967b048bbfdc6c791bc038dccfbd0bdfba298da978f7d +DIST gentoo-kernel-6.0.19-1.arm64.gpkg.tar 68864000 BLAKE2B 803880fea6d252060de065c1adbd095cc17531ac3f13e833e486378254fd7540693f1c454a69e669d44ad205543e45e0c3b382c73f89658fefdcd37a6eda2bf2 SHA512 158e2eb02392d9354adb9c15d9809ec56a5b2cd9f77aa79d1efbef44fbae0cb3d20043f1c8c3639a8ec6502ca24e89fab91eaada307f1bb86a1356bc8b174826 +DIST gentoo-kernel-6.0.19-1.ppc64le.gpkg.tar 62177280 BLAKE2B 68a77a6d9704cd8ca9e7329ff4629ade5393d0c65750ae9fd2ef93e34a2bf9ae796df619fe79c7391c1f7e236c9671d8f92dcec35ffe918ad84e2b4b8bd542fc SHA512 1108eb3caf22c7b0d9b98504900cb0d2c1e583f90a722ffcd28bafb5f4a0e0f64da833b4b51a9cce2e9b77e84269b6f019c68b368c827f003081ad4b3c693da9 +DIST gentoo-kernel-6.0.19-1.x86.gpkg.tar 65351680 BLAKE2B 398261b34e3bca83f6f69c08eb53ca176524fe13926c19c36fb05b4e00046fd14dcfb08656ad513ef3981ec6a70dde9e10320f0a1e36f3893b57606e100989f4 SHA512 758d2b37d9ec578e5ff3d1fb27279a588f668aea96af33ee89751cee6ba6df48568deaa958e246c9984330104ad8f29ac81cfb504b8389b5ff3a302243b8fad4 DIST gentoo-kernel-6.1.1-1.amd64.gpkg.tar 76697600 BLAKE2B 77999e02b8fdf5b4071ece990aed1044557ca87ed2999a94017319094c708d87af7ccdc2d784782f9a950c52660fd2663b2b2d336e94a6b0e351de53e9b28d15 SHA512 26c99f5cb710273a6bea1160ba13a01eafba3e7f0f911cb358aaa9f97e6f570ed423152e9bf310aeeb761652652bedec961e8ff5cf9fc589cd41b29dde93d389 DIST gentoo-kernel-6.1.1-1.arm64.gpkg.tar 69304320 BLAKE2B 2bf8beea4688e5618cc60342fc202ccd4ef5995495768de73276e078260054070d085923afb79e006204b6cdf4505afbfac1ca7c305cb907d63a110909dc52f7 SHA512 d9e6aacf0c861b2febfbb5f00993de78cb8d4bcf743f1b45243c18e19a6785bfc661d2554dccf717fb3df841127ee38a9879274d3ab9f4b29fdeb23f9e5d856f DIST gentoo-kernel-6.1.1-1.ppc64le.gpkg.tar 62709760 BLAKE2B 9339668dfadc464ed02b86b69a23d30f4a20ec4e5cb6932c50707db66ef8713b94f8e11a5af0bd110c698d9702030c1983da3acc939afa6eb439205c8cf09ab0 SHA512 6e7416e48a82a902b9fe0f6b642e73552964e6fd615a9e53efc9e2d5bc85d29f18f0fd71ba2b7da883fc431878f9503226676f1bd1c8d06cdad4558815eb7948 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.19.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.19.ebuild new file mode 100644 index 000000000000..877c81f2e72e --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.19.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##*.} + 0 )) +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 +}