commit: a10585088c483c52ae4c712d858387e92a4b9f89 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Nov 11 11:50:02 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Nov 11 11:50:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1058508
sys-kernel/gentoo-kernel-bin: Bump to 5.15.78 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.78.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 6b764df17545..a3ed25266464 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,6 +14,8 @@ DIST genpatches-5.15-80.base.tar.xz 3218432 BLAKE2B f2478969a4e7a24bd7a30328e2d1 DIST genpatches-5.15-80.extras.tar.xz 3932 BLAKE2B 50940b69b0793c1ab7f19908daca488e7dce5c48d74bcb636d5faa60fc510217b94f175669a28963347911291204f0f6384322b55148c70e63cc54e21dc74d1d SHA512 9434da5bf439f12adb55e70fb8f5d675b9d452dcb2a364da9cb65a2f4cd405cc0469c2c291fdc6b0f015a0d52d08ca0475a389e45041cca532f049e1784d06b3 DIST genpatches-5.15-81.base.tar.xz 3257712 BLAKE2B 66e0d129053b2cf3ba59681318be5c6a62d469d6014535bd4b47d5368a7718db7015ec1dfab34e4db324b4d626f8f8a9219231b2908c3fc2c2d51a3f99db999a SHA512 f43d637c799216e2bb99cfbab9c51b935d02f2dadaa0f2fad238f14393340420523c25927c10fd6b69745972cdf4e7f3e23cd56eea799626c69f4fb7d44b8e49 DIST genpatches-5.15-81.extras.tar.xz 3932 BLAKE2B 0783c48eab8d9f53d07770a3df525df2ffdab8f36d3d7db2d22e2fc5b0d1fe904644b013a3d1a5ea3d967636d4ff91b3f208ea8f004adf310134b98ec5cdd0fd SHA512 be4b557066d8d2327724c8be440ebcedb01d0eadab7bfa0f9f230111cba76a2623bec0945fc887b91d6e5c73eec3eec4fa29b2e76606e7871e81a91fdc4b2bf9 +DIST genpatches-5.15-82.base.tar.xz 3300648 BLAKE2B 76afce0ccf8820124789ec68609a5479e27b7a5b3556410ce5cadee6c32d232a2f3ab44c30e862cb97b97c7715f18f25ac11505baea9cf66c807790f88c63cb8 SHA512 c057ed55a1a081fb94cbe8101b06ce28032355cc6c19913ee0a547987085fc774abe19f176b8c59ef5dbf8539934ae722c60cbbfd7feda26c5a88d322efd9aa2 +DIST genpatches-5.15-82.extras.tar.xz 3928 BLAKE2B fddcda7bbe9c39c07851f708ebfc2f9a7fe485e8fdd0ab4357df16c9e6fc2b951e6188798872e9d05dfa15f3d29676e2ed97ed9c9bf4397fbe96a8a99d3c809c SHA512 76700ad690ee799cf3842df6acb68bf3c3a25746462cc97010fe45036560d4b41c60fba839f80f12a165c96c0623ae6c11fbd994269bf153756456824f0f8a91 DIST genpatches-5.19-19.base.tar.xz 1098964 BLAKE2B c79251602e677d36db4f923ad148422c1c19d9e35b33d1eead75f317ac468ba919baa0c61a690425714bc0b29d96eb47aeb1c960ec4192ccb3905df752f81ab4 SHA512 bb0ed1e481a78f8f65229db777c5d8031edbd3d31cdc0ed45e48d4f5916b838397c1ccec5d465d957673494469290a1dffc8a4466c252395348c8160f2f5cc67 DIST genpatches-5.19-19.extras.tar.xz 3804 BLAKE2B c73e8bb8be2845ada725f71045e69fa38c99d0561e702d38e3827cf1e25ff2ab2105e3142d0f85baea59fa4a28a4521202d222c53190b741055609551ac1039f SHA512 b6f813b816f475a120543f637857f683e82cb22484fad7149bfbc5bcdd6d5119373d915ac53d6b743197910e78fc2ebdf35bcfb3612015e571629d33740f2701 DIST genpatches-5.4-225.base.tar.xz 5166864 BLAKE2B 20ffa864c45b41e82079158fc4645e5c809bda93c0de480aea22b2f1feac231c7eddaf031daae9939126297a197bb3cbcd48a696da76eda0fe8591cac817103b SHA512 da6a1febb01a772d8ba454de51fe902830461bcbd87e76f8f459bf9adbb8bbe2493914c5ebd4f291ea59bcfedea34d3aa96baf98409e84220240d70c17ab66a1 @@ -62,6 +64,10 @@ DIST gentoo-kernel-5.15.77-1.amd64.gpkg.tar 69806080 BLAKE2B bf5bd50028af7efb16d DIST gentoo-kernel-5.15.77-1.arm64.gpkg.tar 62873600 BLAKE2B 1a12189a1e45c2663686fc00da11e411d9682cadd4a90e64961b81da73e7e5b4f2d82e8f90c1ac34a1a66fd7df14946e4ec5c4bae422736d05095bb9be527518 SHA512 b2fcabeadcc74557ddc8e0f732103e234df218fb07cb508638c57536d478e6fa1c545fa92608742a0e074242123f3e726e7a3e6e1de5eda912855d274236c27a DIST gentoo-kernel-5.15.77-1.ppc64le.gpkg.tar 57221120 BLAKE2B 82833222c08fbfd9fab8255e9ccd768bed260d59b0b93b852fa0022cf207817b2bc774b34926ea6331d5d0ab6b7c09619036d76506bff87d231bbc98b1845dc0 SHA512 1fc6be941d361e41e5560744ab38c8c124ed2fe32ad99320764564c892be346fadd85a4d0e4a4bcb264102e1db7d617101329661386deaf2356929b9b61af3dc DIST gentoo-kernel-5.15.77-1.x86.gpkg.tar 59146240 BLAKE2B dbf4015773e5d8b5b46639ed730ca2ca3f66fb4f2abf74a02ed225bb4e1dc300a54c39bf0fab007f96d04fa80423822d3e17753a73f2ea721561d916dc6a3b5f SHA512 8633a6c8d3ff8ad625d9c1acce6a32f7de1db99cd71c6065b910ea0e2c48931b028a00feeff5e4a04738a36989a9e52a4446732870af6ebffbe17d9fa501c273 +DIST gentoo-kernel-5.15.78-1.amd64.gpkg.tar 69816320 BLAKE2B 7a4a20ebf632b937a7eb1659b94d18658d89238dab0e31b1230684abeb28896079ab52930dd2ce3396462597b29226502e09819aae33df42a5c60f086cc33f36 SHA512 3a3a030ab7fcaffb049446885ad6b672e52d2b2140fbabd29a42432c98d9c1c19a3e4b5d8a1785bcd2cebb69d19689d3e458fa8762eab9adfa72d4ec9401955a +DIST gentoo-kernel-5.15.78-1.arm64.gpkg.tar 62863360 BLAKE2B 6974f40b2ddfb4ccb35413f4d29448fe97c2d86b37ce01957e11b7ce5085066f4235b0ab13902051e0dc2628be8d4ca8f127a0e6f25599927a9abbda8af8d5c5 SHA512 e1dab1d11d714cf52b53bec70b79dc849741efb5bce22f7dfc71aaadc737f4748db3d84311a25652c58b741cf6d13bc41ab9995a8e67e1acdb508a5b070f97bd +DIST gentoo-kernel-5.15.78-1.ppc64le.gpkg.tar 57231360 BLAKE2B b8aae1497daf8721d94c23f9e7bff6cbd83d99214d0f85339a56cd90f00fedd426bb6f9c3db30bf4bf524fda2d93325fc78ec6da78c9952a4a4e0afc40a568dd SHA512 a1610e55f43833cfa480f2e099ba485cdfa6face9d49dc1622b1f6aa44f8e79c88e1ea002cc644ccb91b5dbe20cb587dc7f674d15539680ec2e2485b13280bcf +DIST gentoo-kernel-5.15.78-1.x86.gpkg.tar 59146240 BLAKE2B c1a5f6dd634a852a1c6c1f2e4df0b7e611d6db3da5407be05999ee29e3929d518fa0cea391fa5344f2ebd95435f8473e63e5d87a4be792609bc1068aa1b7dc11 SHA512 01b8bb0056eb761517020f919e18b551ccc163849eb92bc15873c0e175dce71e531ddba69e668ead87ac0a6314e3fb830e72834c81bc250772d06b5eb02d7c7c DIST gentoo-kernel-5.19.17-1.amd64.gpkg.tar 72540160 BLAKE2B 18c079e028902f44f236222dc9ec0ed01edca3b8df5d667b05ff1c084f10f7dc64f1383e0e7c90330e33516e9901554e04a4518d4f07fbd54575d02de5469b89 SHA512 3f70e66bf1af9c0291bc0f19ab4fd24ea5acf98eb0bde3e4e74bd2cfd786c3cfd42b00da4adf8e8a74caa7204d7b37b8b3a7f11d25b1fa8907a6da72edb93527 DIST gentoo-kernel-5.19.17-1.arm64.gpkg.tar 65095680 BLAKE2B 2895023dcd376bdcb936033408614f63a76110e68db108cb745bccbca573c66eb615ab683363428bf7fb7ec7da7c8e30fa88f5a1d41d1d54e5ef5a39e71a325f SHA512 610b12c9d6cf6124767163a03b254512dcb2b4bf5bf99459110a36b2b3965fadba75b2ebeeef4cc8a8460083460cde7c5c0fa9de95c2cd0b60501eadad5b56cb DIST gentoo-kernel-5.19.17-1.ppc64le.gpkg.tar 59043840 BLAKE2B ccbe861e45b1a40907b05b922f6f25aacb60ac94cffba372cfeacf905ab7946212e1422be0b6e59b51ce9221ab99fff3f6903ff7ba3a309f9350882f802361f5 SHA512 ea5ba28cb4dcba8b5fea921d0f17be0f4de6d5981e1685c5b2c2b9020680a04e0ae5bab528948d04e6ced8aa1a20f16a1b46988332b62b7c4b1b6b734116a6bf diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.78.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.78.ebuild new file mode 100644 index 000000000000..9c843f83530a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.78.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 +}