diff options
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 15 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.12.ebuild | 127 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.ebuild | 127 |
3 files changed, 0 insertions, 269 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index d9a985f6d386..4ad80c462bf5 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,10 +6,6 @@ DIST genpatches-5.4-256.base.tar.xz 5956736 BLAKE2B f1f5f42e5383da96ac4dbbe9cf7d DIST genpatches-5.4-256.extras.tar.xz 1812 BLAKE2B 3942c845d2159bb2fc927c5f19a3d5fc0cd7abee0a1102e07a4bb657a213527575fac692ec408f12f679e3a1e791087237baaa6199e92d8062bcc4576fd142c1 SHA512 6242d77b0a7de7542395a5461e6aa8b2a2003f77ab81b1931511f36b42b914bad839ff2683154371118bbd81953de0604d23d75f662437686da694dbb610c8e3 DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3fbb95eef61701bf953df6e25e37a12fb12702b57f66e30ac757f28d9d1bcd0f2fbc38775d5b73922504084ff95f9fda1d78f SHA512 e3777a612facad029782fe63abc702af06197521fcf90f4c80311fd7ad94739209573c7de910dfaeafd88948c2c3f3d29bb27f4fa1069475295b6f5b29e14116 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 @@ -28,14 +24,6 @@ DIST gentoo-kernel-6.1.38-1.amd64.gpkg.tar 76677120 BLAKE2B 70769f68036cb0361eb7 DIST gentoo-kernel-6.1.38-1.arm64.gpkg.tar 69324800 BLAKE2B d4420e6f8333fbeef890da6f94989ddc1bf8721cc6ae23156e71afff6a8d50c31df1b5bb715d59d2a8cf0c413ae5bc28fd07dac68fc44cd7a99ba62f327ca7b0 SHA512 95c8f3ca88418bf24359430079d3e5023b6a47aabcff4bedfb6ac8e123d9a947050f4d443f6219d06a1370c01f6cfd0095a0645c83b84e1acd983fdb3e256ef0 DIST gentoo-kernel-6.1.38-1.ppc64le.gpkg.tar 62740480 BLAKE2B c958f52f210d174ce0c38ef9e551b4ed1307154170ec329e7518ff9569b933f4462a6b48ff608c5a03f013170f5d2463c709bec7f68e8868a85de0393fbd1a19 SHA512 9528c9dfabb83c24293b75ba51843e5c1e54bd42ea74165a33daa230ddcdab2226e6897a7f274c5a8d7419d7d71b1b71cdde4b2ba7d3f1ccdbce925fd11d40a1 DIST gentoo-kernel-6.1.38-1.x86.gpkg.tar 66078720 BLAKE2B a1618a37c735771521be4bff4e0fa776c8bc0c4ef8f1048d6ab94b5e858b5f7a765d6e2ac6d1e0225cdc04a0b8f73c490b0ee08087ad2436e59fcb80188cd90a SHA512 63baf4f5ca3677975e788607a247a9ee0daf50ed60cd21b1588ab13cfd2ef2336afd480fdbd2e7db60cb9158374114ce4cab72390db36c833de581ed315ddaaf -DIST gentoo-kernel-6.3.12-1.amd64.gpkg.tar 83486720 BLAKE2B 79b2ad6455cf1ff3b893803cf019c5ae88bc807dc7920f24b8d03ea60668f48568e00a947a91ff55935a8e71fdace193727ede4d61864a8e7de90294a72c4ad5 SHA512 7d82a0a6b84a5fe6c343778da42fef1222fcfed4f64afd21cc86aecdf764ce449f1f1e53143ffa101283a84c5df0489a839f19a1e67ce0dc69e99bb9c77bc43a -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 @@ -44,13 +32,10 @@ DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a936 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.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.12.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.12.ebuild deleted file mode 100644 index 847df860f667..000000000000 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.12.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# 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 -} 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 deleted file mode 100644 index 847df860f667..000000000000 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# 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 -} |