diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-14 10:36:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-14 10:36:56 +0100 |
commit | 5af5a2b4acc97daacc0bf0e1d4e85ec780734689 (patch) | |
tree | c3e48a276c7fda27c8e30b6b8864e178e5c496fb /sys-kernel/gentoo-kernel-bin | |
parent | 605eb6cd753ab91e58e7561ebad2e75a44bcccc4 (diff) |
gentoo auto-resync : 14:07:2023 - 10:36:56
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 7 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.ebuild | 127 |
2 files changed, 134 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 62b9671c54b8..d9a985f6d386 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.3-17.base.tar.xz 898156 BLAKE2B 0c350ad89dfc73a4c2fb5e7113d38cb1a28a1ef0ffa95db4e7e394873cba6d7eeffafb55e89cf2163d200cdc8fbea2fc9e8e29ca94a63d23250a8a8154949d78 SHA512 5ca1f7aa65935ed6d479eabd9ba2bb2674c5f49a98c828bb3879994b2f64fbd0e278c9cbd07f1082aae9c067d8ba9d24e645d0231bb411252fd5356802970fc8 +DIST genpatches-6.3-17.extras.tar.xz 3808 BLAKE2B 0ffa95929a402b7263b0e6c9a1c3107b5c6db9fcba9d1dfafcef43b2b94e941ab3b91b626d1580cf6251cadedb85a7187d84ef05f26bd44b1a8821a5f20513a1 SHA512 e32adb3f00795a617ab09f3f93753a6902c2f38a7d0cf35540731e9a98e99018d7f618eee542e896e758e42601ff49b010efcc4431599fceeddd6c4d179bde65 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 @@ -30,6 +32,10 @@ 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.3.13-1.amd64.gpkg.tar 83537920 BLAKE2B af4d1bb6e09aab9c897aab5438946877d356139efac014fe3e66c56b233469e4ae538e7c6a826a19f78ac9e274cde61e2cd2273f501268586c8d1b3cd9465c13 SHA512 806db82b571bcd239bbcabe450da7a7830b0e1c6442892a44b7a4a1da2531f2d5c1658a752ce9944acd0db533a5c9ab2ecbecdaff3fd461655d205acdb3293bc +DIST gentoo-kernel-6.3.13-1.arm64.gpkg.tar 72437760 BLAKE2B ba0f3b17205de919a98423e14a77f603af9c468666aadfd6a0020d692dda08b5c7bf563a2cbc28659bd86723c911a264839471fd32589bad78bc8fa677bde3a1 SHA512 ffd057dbd57efcce17e6c90d223771a770e3bc808b0d7430865396c06f6fbaa4804ee679c104735c7ea1ab289fb2f1aab7e163750e551d6f953a28e6918db9ec +DIST gentoo-kernel-6.3.13-1.ppc64le.gpkg.tar 64327680 BLAKE2B 8965d1fd8e16bd59fb871efd98ba75b25df4827641c1158dca29ae5acd3f89c9238500ffc5a08696927055eee140deb8b2ef2a2a093c1a9139aec584ae8a4f01 SHA512 243e7110c3cbb5893d2b4e18408b3468cb312bce358a86389ed9a43d0411e5014cfbeab438b0129dc1077a9da1e7d55a00d8a676b6cc827dd391f2904f356d9a +DIST gentoo-kernel-6.3.13-1.x86.gpkg.tar 67072000 BLAKE2B a310446562e685180f7933a7569cbef6a10d082221aae0280206d9e3749cfa60525a01973ff90c635aadfe731d0c57484fd1be45443a39ceae76bb8a061f42fb SHA512 0b0f607ba0a73b479ee60e6ebf7eb0be837df35654cc9b16913ef44abd2130af72a12e37a795186efdd32e3339d42fdcd0042b742c17f7df892e19c4c5485e97 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 @@ -45,5 +51,6 @@ EBUILD gentoo-kernel-bin-5.15.120.ebuild 3025 BLAKE2B 95e4eb0f4309e4141a863875ec 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.3.13.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.3.13.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.ebuild new file mode 100644 index 000000000000..847df860f667 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.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=${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 +} |