diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-12 16:32:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-12 16:32:46 +0100 |
commit | d0e460d711ba47fcff5bf5cd57355d0853795dc5 (patch) | |
tree | 2e53c3c67e31304c8a141a8cfa9f157d1b139947 /sys-kernel/gentoo-kernel-bin | |
parent | eb3ae345f026de053870dfa589779989d300ebef (diff) |
gentoo auto-resync : 12:07:2023 - 16:32:45
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 8 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.4.3.ebuild | 127 |
2 files changed, 135 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 30319989d9e1..62b9671c54b8 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3f DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0 DIST genpatches-6.3-16.base.tar.xz 774148 BLAKE2B 36b92eff5065338db81890a63ca51c7352dd775099b627e42673cd29ee2a2585d3ccf4675f9239a1c08660304d27e4d9b2307a72dbaddc088be714b5823432d3 SHA512 6aa4f1c72f85c43296891ab6d1474f9d1b0be3f716167312a8efe2d65219ecf4810a10bc42244388457add6a32874c2448afef70967700393c2ddf11665dc008 DIST genpatches-6.3-16.extras.tar.xz 3804 BLAKE2B d8e1e83f598a420856ceb60bb0d7218a90578d27ba8aa4f6f4f5c3b44bffe4b14f12050f3e41e389035dc24778909e30d44bda8b67ee156ad32aa12097d6dae9 SHA512 bd199c0baf3ad6be48acaee74a002e972069ac52ef4d35c03f523af03e95323ad792f42e3ac77aa7aa97258afcb830bac7b9a8a10208c36c332852edef218889 +DIST genpatches-6.4-5.base.tar.xz 29696 BLAKE2B 0e882d51de63cce7a7edc96c29fe46c27f607abddd0a70d2977054838d51ad623ec5ff3f4eac8e18b016f6c310ba79d326967947c17cf662391638d7fd2ecbd5 SHA512 3205df0e92db622aa397953de85605e58b4e977262a8dbb9e59174c7a55ad2c784ba417069f948dcdeddda8318389be45d54a516d9b2f45cd2948938942d7e5d +DIST genpatches-6.4-5.extras.tar.xz 3700 BLAKE2B 701f2bbb493087bcd8de7c7293c802bada8965901838b2eae998ec14749da6c46814611092b4120c25dc9ebef2313e36bcdc3593110d06c510e9db1dcf575f53 SHA512 0be95fcd6ce4ca750ea97c17bd897bd8083de63b8573080a2f3cd41d07c951293083afb739153a3cb29ea55e93b7d2063089119080b26f932c6a74e9425a1920 DIST gentoo-kernel-5.10.186-1.amd64.gpkg.tar 66334720 BLAKE2B 5f07b2c712e93102be6535c2ecb48fa3b735584c4370e869849b65de918e72a6952e602760d157b59fc79641524515691eae186ebdb235f10c79533acf4ac2e4 SHA512 c99a27afed991b2677400ce523d26be6b8b48cd355cee72c74f29fc7db1fcaaf6aa045a6037bc60e6d476821b10578f5b83d6b04d3e9a81321fe6a400c29184b DIST gentoo-kernel-5.10.186-1.arm64.gpkg.tar 59361280 BLAKE2B 34ca97dd35463808171049926f98c2404f8459a6f993514479a1e0f74f3b02b550c8d981d98c3a150606e21fc87046221783da48a6652bd2dfc58200f290de79 SHA512 39afaf4bc802f51923b7ca452f1712130b9040c05f75e8b473764ba68f72d37da1a197bbd81711083306fbd66161a3e1d1f3cb230af6c39ad6cf30c0e84615f8 DIST gentoo-kernel-5.10.186-1.ppc64le.gpkg.tar 54927360 BLAKE2B ead0cd95b3c4fe0620a6d3f5fb9dace4404f0a5f58b60f4dab2395fda349db2926a810cb20a491b80b43d0bbd19ec6044f88ce588c543915cc6549ea625b30ae SHA512 fc48e77238b293aae29398544421c2167609d201e8fddebe41f47e7cb8e3554d1ea350da1b801169bfed75fbc4223e55613a9313bc63b98d60818804558fa0bf @@ -28,14 +30,20 @@ DIST gentoo-kernel-6.3.12-1.amd64.gpkg.tar 83486720 BLAKE2B 79b2ad6455cf1ff3b893 DIST gentoo-kernel-6.3.12-1.arm64.gpkg.tar 72427520 BLAKE2B 8c34d201f9ac72176418ca04b2af429bfc3b12f18248eec70abf40d2194e98d5a3f2d5e5d571324c0a767a0eda4b67a189820be93cba63daafdae0c5da2e31a2 SHA512 7f8a79e90180c86825333d61a7ece66bca41d1c442231c08f8a473669b378e0d9eb338b3aa9bd98cadf99417753e84e20acc3745034f835cc02aa3135058e709 DIST gentoo-kernel-6.3.12-1.ppc64le.gpkg.tar 64317440 BLAKE2B 2b29eeb3d3be4a167c8f30900a2aaed09efcfde08c41978fa9d5f5fc9cf1e74abc87410f8d19794573f0c16079d18cd195c3441b95d529314b73127759a9143e SHA512 5b4b1617f55443ff6dc3d02b3bcaccb0780c2ad19d85c3608ac405daa1152b5f7514e717ae4fbc90d342ffdc4e123f5952d8a9c022fa8f136e288d82992518dd DIST gentoo-kernel-6.3.12-1.x86.gpkg.tar 67051520 BLAKE2B 762733cc15c3f9fb6845ceedb7fd9846f8be64e66dd517a3ed8dffd850d0c1a526b3648ccb8a8c2bf0770e28183c9870f7ad0d85f16b8060c4877cff9dad8037 SHA512 70ef14bd823f5c0d765462552bf9157b8adb46264ced2fa4897dd0a60a78727c9b9996fe945c3dad08777233ce8ba662dcc04fe4422f5412a3bf77a0a48b8e59 +DIST gentoo-kernel-6.4.3-1.amd64.gpkg.tar 84008960 BLAKE2B 10fd671edec759a7ea7b0a8cb801b41936bc20fe9521608bc75d06adfa50484ea79eda2e3a9edd6d52dc39f797e5a23cd0c0af3bfecc09365e3d85560a4b8a75 SHA512 27a4853e687c3791cb05ad7841716104fb8f1c765f83a071d921357349f1e1b96076df33e9a11696f1f6a9bcb8f4c3cc3c32c3b3ea6152b47602b087bbe2add8 +DIST gentoo-kernel-6.4.3-1.arm64.gpkg.tar 72919040 BLAKE2B 62029a052a591b967b6cc0c8e23c32b0395e7d85c1d2d698a2eebb9399e0c3b2c3133e3e084864b74edd87e99c869b9d64764e6964d50047710ef4e79cce1366 SHA512 925dcfc831612870fa80a7951fa0b63326bf8e67593dbff21a45149f77ace1e3327ea32b764e278923c550cc09e206f20387143005e99ff9e24d52a6f0b296e8 +DIST gentoo-kernel-6.4.3-1.ppc64le.gpkg.tar 64614400 BLAKE2B eeb487f9d02313f8b4ec5d031a862e5211801fffab22fd85dfc2c71be09096151187bd16c6b423d6cf541e4825a9afcb2fb8b3853f1ff2fd6a03d0b66a73ecfb SHA512 c3d29660fbf26a10fdfadd64c6b4865cb0597aa5a6ea89ae5e63e8e96dfb605da56ea7ae6fdb6fb1da54f77a8d476c1edccd015691eb77797b13b5801178b2c4 +DIST gentoo-kernel-6.4.3-1.x86.gpkg.tar 67522560 BLAKE2B b556423a4ae1be973ec3d0723ac5f1624c0c4fc5b2871a0d1a13da23f0693e01424aa023e10360eb49d11f1666be15ed524f62ec119d40c5afd7c75a9c019e5e SHA512 1f3bd20a0e0a07899d8ff1554acde6a1af4b11014c3137e8b28e118120c7795a49302825831499e89b6bb710b7507fdc9816f9a19382bd4e97069566c4e4f7c3 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 DIST linux-6.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65 +DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928 EBUILD gentoo-kernel-bin-5.10.186.ebuild 3025 BLAKE2B 7fafb438db9b4e8c5d06545a3cf531eeff6d199652887b548a752544c838c6c36912188e06697e6b6acfd7442ac5e68aa0784fedfcf722eb0e3a03f1d87167d0 SHA512 b4438f05abc23c66bdeffddc232d29eac0ba50d779d29545751bd366190d8971b06854e918e4040048c173877893d6e2375fb0a7ed1e1066092e77456d371836 EBUILD gentoo-kernel-bin-5.15.120.ebuild 3025 BLAKE2B 95e4eb0f4309e4141a863875ec46ea241e6e9e96260bdd3804400e11d32dd2b12bce79c1c66e0abbe6533cc9c9abf0f19eceabe46885b6feeac986287fec0070 SHA512 1f22d7d6843659d872c9ea6bd6eda48f99841e95c12aa723020633cdf30564f43e4aa63e3433f0598930230a03d2c27a1714d2b865a548edfc5725cf9f99176f EBUILD gentoo-kernel-bin-5.4.249.ebuild 3024 BLAKE2B 1a00a8ccac9f12f20c9f3d39572af89a077c3b3dd424133197f35123ee41804588b9763008011c3ee33f269c49eadefcb4d31c01371685845bcfd9fbd189ff78 SHA512 3fb6a4b6ec491d6bb4ad19c37dc18e40565d7d6ee248563c219a43323c263ff1fccb0863727258c56c7bb6f2397cfe968eb974a1282fa3a685a6ed0c3c5247dc EBUILD gentoo-kernel-bin-6.1.38.ebuild 3025 BLAKE2B 95e4eb0f4309e4141a863875ec46ea241e6e9e96260bdd3804400e11d32dd2b12bce79c1c66e0abbe6533cc9c9abf0f19eceabe46885b6feeac986287fec0070 SHA512 1f22d7d6843659d872c9ea6bd6eda48f99841e95c12aa723020633cdf30564f43e4aa63e3433f0598930230a03d2c27a1714d2b865a548edfc5725cf9f99176f EBUILD gentoo-kernel-bin-6.3.12.ebuild 3029 BLAKE2B affd41a3466ffc303abb12fd2f1aea0cbad5e54e70386e975d8be73100f4f3a5f5a1cd16cc54d5b42de5fa02a6099a77a50d476a7ed2295942cfeb8452ca49c9 SHA512 7429d6359e24aaeec895729a7952021d70e60d2f14e9a0a8da0598b5764ad0cd47bca3f211af24857a85a44a4bdfd5f914f4afa56629099ef122f3f3752a18c4 +EBUILD gentoo-kernel-bin-6.4.3.ebuild 3029 BLAKE2B ca5881dd1f012cb7003cd391c8581c214724c328f20f50f4a8d248a80b831f459f67da6da7203a61ef67fb91db4c585da622b7a532153401856c0530322ccdd7 SHA512 494035de5e3040f27dafa7ceee4915486b49065c0cd451bacf14843bab220bfa214a73b3b857706cf45db997ae7c22d2e03d460efb2087193de94b879d8ba3c3 MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.4.3.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.4.3.ebuild new file mode 100644 index 000000000000..3cd8c6516903 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.4.3.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##*.} + 2 )) +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 +} |