diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-14 23:19:03 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-14 23:19:46 +0100 |
commit | 94a9fdfdf9884b3d9407bb42b6527dbd669ea631 (patch) | |
tree | 08a89b935f75d9e5ecbc96a29ae363afd1e4789e /sys-kernel | |
parent | virtual/dist-kernel: Bump to 5.15.94 (diff) | |
download | gentoo-94a9fdfdf9884b3d9407bb42b6527dbd669ea631.tar.gz gentoo-94a9fdfdf9884b3d9407bb42b6527dbd669ea631.tar.bz2 gentoo-94a9fdfdf9884b3d9407bb42b6527dbd669ea631.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.94
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.94.ebuild | 127 |
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 4c9d774829bf..b8104b442921 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -20,6 +20,8 @@ DIST genpatches-5.15-96.base.tar.xz 3961872 BLAKE2B 832c573ea52eb7b49ea59d975d25 DIST genpatches-5.15-96.extras.tar.xz 3932 BLAKE2B 5c34f507f83f8138d3e9f7fea2fe0619e326ba602972a6d37f40847526b9f95e13c1ce2b097b277573dc9f0bdc1739d5eba6020817a1956fc80fdc7076d22a01 SHA512 dc17deb594c99c9ab4b0c4c2272630c1cc9d03a88e4a1b936f2ec11c5750cedc00a9320018cbc543d5844727760e6f56807cad9d7a8a7fc9b2cb605e8ca874c5 DIST genpatches-5.15-97.base.tar.xz 3988428 BLAKE2B d894f115bdaab2011edabb77ca6391ad1cfd5029d9d86716bc71ee8df1f263c96df1e265cf4591e25fb7a870be40ac9b01ef4ee07a8715c5be900265044fb4a4 SHA512 7e8add203a762e34fcfa672a4af7862eb31044517c93d6ae68ee02e386251c31b514efc316c89a92413c9f0b2930767bb3b680cba90f48f125935445ec88f379 DIST genpatches-5.15-97.extras.tar.xz 3928 BLAKE2B c542e8eee62f61a513a80ad48d92812bd3967ca18963fdddf95dfcc95dd337384ab79052671026da5dc00ad87a979fbb6944e1c3880c4ff6335b1f7a132b8180 SHA512 8557ab40bff3e625b2ecde506052f0d31cb13ee2e2a2d05d1ee30ab8877f774b01bb94e450421c92c9a9e5a46df893493ece1dd5dee798ce6e9eb880b49522cb +DIST genpatches-5.15-98.base.tar.xz 4003192 BLAKE2B 79d4fb60a5192137571109ffaefdfba23ac589102539cdde89046f627f39e65a52a44a83607232b499509b8bb4c341e2fd26ae971587c9574d4ac87d8b220893 SHA512 946a7638d19d5fd610075520e529a6c5a47aaa433b7986493f62571a7dc541278013a5006bf1e745496e4eb98de44af56f61d23679c139a719a8d5bc20c9e734 +DIST genpatches-5.15-98.extras.tar.xz 3932 BLAKE2B 4e5dd4f8ba6d14764a6546cf7e64dffb3ddcc77678b7d96d2498917f30561792c904c635b0fce7191b7c0c65549fa769e89befffbea5e53a3cef64c673937c20 SHA512 337d95159432cba3b85511cf80c350a8a2f67c65b72a90b26ddc98c01d2d8de70d9b6067e0573c5c339a5bf64973d10c06b42001ee19a7add3d672e4577d0622 DIST genpatches-5.4-233.base.tar.xz 5294692 BLAKE2B 357046687c6f2797d5d7090dad357e00675eed329ccef44223dd476551cf04e9f711f1020144cfc59796657cb5b1e6d76b607ecb164e27636869a8bc8984f567 SHA512 45f6b35dbca12e8b9e6a9f99d12c44e47a6e471e5091ab75c42346f1d8bc12dc454cbb335f1549b497842c2d9f13a5930c80b5000cb86bd3db7b03347dfebcf4 DIST genpatches-5.4-233.extras.tar.xz 1812 BLAKE2B abedf631da893391a98a98cf48d264f9eaf9f9f7811bf595c36a774c8dde21f105afaf6f4e113e04de472bd6ce0c759bd41fd95aa980b7e05499d8571f3e8a44 SHA512 16b09d0a4465123079360ef9f070e0c163f45f9784714e98fe53f7174e836fe7b2562af01e5c2dc932571bb3eafe2d9afedfd60b5c8467bd8410de651ab82473 DIST genpatches-5.4-234.base.tar.xz 5429360 BLAKE2B 48e1199775c5174a4e25f9611f410f8c3959920b3af6d4a5639497560f9a7ca34210c3f7db7c5e279432e1562956528690f5360dfeaaf7f99227f74d8e8d04c9 SHA512 c41fefd72aea785fb40ae95e47019d07c73bb4a07c286e732f7bbaa4b1cc3eca0dc53cf088387998ba1a9bb791e9e021d6246d8ceb9b87dc6d7fc6cbecc6dce9 @@ -86,6 +88,10 @@ DIST gentoo-kernel-5.15.93-1.amd64.gpkg.tar 69611520 BLAKE2B 8fddebcd5f44b7aca23 DIST gentoo-kernel-5.15.93-1.arm64.gpkg.tar 62566400 BLAKE2B b6bdb09cc9d80282c94663d05ebef05bbd1be899e91232e95b8b6d6ee8bda66020370897494c61e1d66074152f33506dcc198f31a83b9a56978728b6b7787d80 SHA512 f7211bb0e00d6d53c3ff57048408eb5fa98ee13ccee363e0e64639797a6fbceed099a3d4973a9c1e1be341872c6cef1e82ae0aad6df71aff8642a9f4e533b403 DIST gentoo-kernel-5.15.93-1.ppc64le.gpkg.tar 57077760 BLAKE2B bf355f329f53e844b5265393ac4a6dd8fa8c23f3dadfbe4c376c8b5721c4d4f55d402d87ad3cd1b0295ad872d79b1beae8126dde74c698309b9752a1ec8f69f1 SHA512 8061e7eeec77136288ecc995c76261f73db92355d6d801c701d978394936e799db04d8dd679bb5e04945abb8d6e7005f58256554cdda306d0bc1e8790509bea2 DIST gentoo-kernel-5.15.93-1.x86.gpkg.tar 59166720 BLAKE2B 954b86d136c5e7181a9537e0fa69d01716a55046ea860c0d1814faab88eb09ed8af08b6350f98e66531374fbd7369731b516f6170a0b1883e82d784cd936a5e4 SHA512 bcac55c0f2779e4d8ca08bd59e36e4a5cd9acc14a23c85dcad6e7ba38e914f951114f087b5adee2f9beebc7b96ba32a677ffb0c711928ceb38685cd148148f0c +DIST gentoo-kernel-5.15.94-1.amd64.gpkg.tar 69591040 BLAKE2B d8659c0584ae851b05d933fed2a94f05eb8c93591b07ae77b8160d397fcf69d2ea8819cbdeecd294d3238377a4450789c653012a9e50223ab98aa5a229a98f11 SHA512 72bdc70aa6c8e51b1896b5872d9bea372305866509a34fc4ac99cd88b01d191041d02c18a0499b03d119b79499825eb97d105460968ac96848274b8fb8175f13 +DIST gentoo-kernel-5.15.94-1.arm64.gpkg.tar 62556160 BLAKE2B fc2122980f798c1313913adf8a28436906ccdd7bb565166ffc5039fa66360b2a7ff1c2e97d579c85cce4dfa6fb471f92d973991998fd4b2a2637adda55130921 SHA512 9f8566bba0bde6ede619a9379e8acae7d3cb1364c888509755cabf0c64daaf3d93ff0085102a2301b0d5c38aceed44e609947099ea9d9d32edb1f04e3b0ae54f +DIST gentoo-kernel-5.15.94-1.ppc64le.gpkg.tar 57088000 BLAKE2B c5533a6a4842a765346270addc6ff1590ad60ac5df94be8ac0b3209098ee058e09d54d61d8c639bc09e652cb38b179257b62eb33343adad53d5c7d076c5b852e SHA512 4c4385f4b4a2776e67c95d1be5f59c1f00e312dcab740a07344a9118716f574f97064032c93e7b1c4ef97b9ce29efcfbae598297674f4768c09b787b5630db4e +DIST gentoo-kernel-5.15.94-1.x86.gpkg.tar 59156480 BLAKE2B e1ea6c9036bf9b598ba547496d5aeec67be2e00545412b1b86c24d9d732f44e93fa714731c9d294f1465bbff0188d9b69ce44c11762decdc9085d21f03efae5a SHA512 07ead3f76b60623506b3332a0faa13b35286e7b62a1ab5b448512094cfc6ba10ee1313a7b037e2e404be69ef7376196607ffa08f45621b8e858addf2b6aa2bfe DIST gentoo-kernel-5.4.228-1.amd64.gpkg.tar 60620800 BLAKE2B 99531b57d6e1135e239c1b392c475dadd2e5cca94e05921a529c0b7ed8246c23087f9fa2d7a3b21d316b3dc5dfeb6f49aff492b1b7d112cfd1478dab8467d21a SHA512 50803fb2b45891c6ce342e16d7b3968587f5dadbe26f3937eadee59678ebf23db1e1add37f3bd1d7dfab27d270a0f403b09b279790091a24fa81ce99a490112b DIST gentoo-kernel-5.4.228-1.arm64.gpkg.tar 56821760 BLAKE2B 554bb0c19cc971551647a7d7189264808e2cb8145fa091ae16758ab7593d6c3707e23cc88501c1ec5e86170c1d91d94a080eed7dbdec2210640af8ff4b2cc7eb SHA512 e20226c43556b0fd33b267833de5ced1d3b7e8b6b8ffa060c5b61c5a96957b5a0825d569ea6a662dc8d4368b1dd69ab9fa2a42ee57d53e8456be1e927f766fec DIST gentoo-kernel-5.4.228-1.ppc64le.gpkg.tar 54343680 BLAKE2B f85a074a1b492655d14cd95b1c966b1bdc4dd997288475204810a693361f9dd17ee3d3c519a413dc157a3e5a2f47ad79c4d596a9b7b1144f6c62c4ca4dd8f577 SHA512 1025fd90c6b32f165fa37b2d27db25b1c5295f14fe55865104431bd512e2c22de58824b309382e6b6445401ec43168e4ecec31fcc052df78854333fe58ca9f71 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.94.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.94.ebuild new file mode 100644 index 000000000000..27016e1b991a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.94.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##*.} + 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 + 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 +} |