summaryrefslogtreecommitdiff
path: root/sys-kernel/gentoo-kernel-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-14 16:47:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-14 16:47:47 +0100
commitcdb999af22d9aa464bfd480fc9f5ebda71fc89e2 (patch)
treededc259e3cf8ed2fac9979725038b722a866579c /sys-kernel/gentoo-kernel-bin
parentd938920a33f03124f4e211a67d9291283442caa1 (diff)
gentoo auto-resync : 14:09:2023 - 16:47:47
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest8
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.3.ebuild132
2 files changed, 140 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 146f1f6eb457..1868bb92c974 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -14,6 +14,8 @@ DIST genpatches-6.1-59.base.tar.xz 3488836 BLAKE2B 5e92e2d1c4ab691284991ae953eb4
DIST genpatches-6.1-59.extras.tar.xz 3808 BLAKE2B bad1dc9ff79b84c02f4f634764c6fdf5ef437c14076048d2e0b777f0ec967fe3dc544739684b50533accdf22d3d85af2c0422ba1183ba4ee26590d02c155cf5e SHA512 451bbbb7bce1263d97bce0580729e0a948021734d6e546e318ab37da786a848d9c2376c9849894be9bc8028ee9afece670b86727ded1cf9857d236869c113530
DIST genpatches-6.4-18.base.tar.xz 1040816 BLAKE2B 61ce7d234cba40c266e92dbab80b26e9958d9501fe884ed1fe45c25a89f2385259d5776049d7ce172c05d6829a92f591652544d7a3ce3ce7c81d09ce871800f5 SHA512 559a4e9690a72dc76a0ab38f463149dc9221bad128b59fdafc1250b964af2ccf573ee0d4e593e98811f83325a0d10772a6a6b32bbaef50aee3c5a0d1938677d7
DIST genpatches-6.4-18.extras.tar.xz 3700 BLAKE2B b360eff83abdbed397db6405b6b68649a3d6f85a37716eb2f923d47dc3ae5d738ca49c29a58dd2f236c7f50dc233641e3df15b7b75a19364b0af6261afc36d4e SHA512 778791e5e9232bc432119d14a016c00e1a968af30f0a2dd931ebb4103f7f457db991eb1d9ca500d1a3c9295dbf87d9b4fab18ffaebbd46cc8c82077b27c344e6
+DIST genpatches-6.5-4.base.tar.xz 258812 BLAKE2B df197ed4a66568eb823c889b15f126c66b6acb9a2cef224e198e576d601f1c5d1ba43bbecf510585adb93445f2fd634889714a31101fb2dddec67da9052adb7e SHA512 70b21a38cd4a2d1759819341365de33590d8d3f460d12cecd781dddbdc69e87e66f81389d8a1bea381bf74188c19b667d3c7789a92e3d8f80080982ba5d39872
+DIST genpatches-6.5-4.extras.tar.xz 3696 BLAKE2B ca8bf3d3b195dbfea39b27b574ea3f3e99f843604ce8ed6ffac141e2e198a4721a943d24c0bfeb559570f00985e6371c7badb69e94542af7bb291fa2485d5425 SHA512 db11e8db7f3fbbed7a037c4a8ebe47accefa9794e8a201e6e022adcdfc628ce3d2db9ccdcb0b0133e3b7956fdab9f63fbc3140f1759b31d2c1878f4075de9d2c
DIST gentoo-kernel-5.10.191-1.amd64.gpkg.tar 66365440 BLAKE2B f7086ca26f08468b754b0cf9ce715ed763d2866ebc8ea322fb51fa2ab5146f1c7741f68b82d52a7d54442cc36cd5a114132f9ccb0809e8d0ab0da022742a48d2 SHA512 0f4918273c70f06756c19cd2c7738176695aba65eeaa7846aa6773d97e6d3ac4302be0328926f1a217135d21e2660e6e4124ced7f2304c0f1a408ad2561b24a5
DIST gentoo-kernel-5.10.191-1.arm64.gpkg.tar 59392000 BLAKE2B feee11f6bc6148ca0a65077a33cb1736fe2d588037bfada383bff1ca9ca7ea71d6f3248a91cc9b152d87a3fb9580177a68b3748c53e2bb6e0309c7a4b9e39df3 SHA512 bfe38e92e445719daddc4fd87b717c652a0fbc5b3cf3fdaab40c1014229a2bf5b504642c21e5bb478d56742c56100271a7433f113c7c231382d2f226a609f837
DIST gentoo-kernel-5.10.191-1.ppc64le.gpkg.tar 54947840 BLAKE2B eab70963c60d1d668ba562652b73bf47760d326ea2cd3fad8cbf91e75a9329283b9af38ee7391c4bc887c32464a6c8376844135231d155eb11916c926f8c263a SHA512 58a8701b46878dd470a4210f96f65bc85aabb4c8b29aed5d1d61eff2efb1f851c38b648c50afa7cc164406ccdf8ae3bc673f73857903a17c19229f77c8e885f7
@@ -46,11 +48,16 @@ DIST gentoo-kernel-6.4.16-1.amd64.gpkg.tar 81786880 BLAKE2B adbe09acd265ad50d6cc
DIST gentoo-kernel-6.4.16-1.arm64.gpkg.tar 71290880 BLAKE2B b42a0cf9dc72716eaf9d14137c06d8229e06a4431b50ae269bada18d977c9fad3eef9b7b5181cb8f7b35b88987ab2db17bd85b1742220ebc8d022f50eef066f6 SHA512 789f3bb759b470f4e29735706a73c64df0646c882c6bad3b051dd395faa89ce2c1cafceec34ff28d9c5c4adf6cca4f5eec6b875bf0e398c925431f9086f3e756
DIST gentoo-kernel-6.4.16-1.ppc64le.gpkg.tar 63488000 BLAKE2B e0604a0b4bf8d7aa7a257798148fac11e0c4a072e0a775c57ddfa74681a265a775081b91e64732e45656fa303e817c2afa8f5c281ad2c5ffdc4373674d5917d3 SHA512 4aa5e73de475bd77f5a0e155033945b5770e761433e3cd983fe5efface2b971545439e99d0c048ed3bc21aa825d3eefa4ecf6615bd0099374c50cc0fd9e90243
DIST gentoo-kernel-6.4.16-1.x86.gpkg.tar 65873920 BLAKE2B e485d659457177a9dbe88d0b246c7cd250154013e0297d3e5687262fbdad18c1f8412444189724893cb1e361c6c94add33101bd2b98a11acfc34ed64cdc3e3b1 SHA512 acf43cee6d8aeefc89432ddd8a24bd27d6afc8a2f82a3384c7b321bdbebad87ef87a0aee8877855ca5a31c1b434d504d26f98f5accfb123bb52b7d8d2b57352d
+DIST gentoo-kernel-6.5.3-1.amd64.gpkg.tar 83578880 BLAKE2B 9413bc88b067e91939378315ad666ef77ce498216b5d7b7dc512fb49a9fd7739944810963ba6928a9b9959f84509ed73f9587d9a3002185cec01980bb3416926 SHA512 d9b187b0de20ae4774f6ab1c2100ec99bd1e2c02de3403b0a707981f838ec03605703a62a319d386b4cc3ed3618e21b005df86d08379ce06753b6e08aa18938c
+DIST gentoo-kernel-6.5.3-1.arm64.gpkg.tar 73175040 BLAKE2B c17faa62cb94999d051a5764df7f3e398795dbcd0bfe13b23582a15d2c59188eff00c5d11cd376d9dc1a8c80629746948cfa62c2a337b3a0bb6382482f797ea9 SHA512 4ae0a14d7938ca325680107a094a7d5a58b9139ae28a4916493c5e114c50dbbccaedac3bb1b0012af6ef408ca844fe3c6b7ef52c234eebb92f92b0a1ae44be5e
+DIST gentoo-kernel-6.5.3-1.ppc64le.gpkg.tar 64460800 BLAKE2B 65ccb9381be1572710ded7a369eb665dcd2ffc9b1058e7133fff7a9cccb4e2e159eb4eb9e7b437fd883b92acbe9b54390ecbaa4ee40e8aea9bb37f86687046bd SHA512 0696d19cfb48b465621f2c10fd27c44ccfae37d5bd80fd84f37255ad76c8d7475700784d77ca0ffa981feefe4bc82b920bc78557745634e74bec4c5ac6b38f41
+DIST gentoo-kernel-6.5.3-1.x86.gpkg.tar 67338240 BLAKE2B 30f4105c3aa0fd516eba549705294030bd5757e4467490c6f6b95b4444ed89b5575768a15bb64a61c17a362a51505243254bcbbc806af18709553407d919dac2 SHA512 9fd0760261c40ae3cb9adf75ff457866c11454f72a79f836779a533640b5fa9d568090505be3cb502a00aaed6581b8c387f05a36b72c00ded83c2299c0340754
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.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928
+DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
EBUILD gentoo-kernel-bin-5.10.191.ebuild 3025 BLAKE2B 7fafb438db9b4e8c5d06545a3cf531eeff6d199652887b548a752544c838c6c36912188e06697e6b6acfd7442ac5e68aa0784fedfcf722eb0e3a03f1d87167d0 SHA512 b4438f05abc23c66bdeffddc232d29eac0ba50d779d29545751bd366190d8971b06854e918e4040048c173877893d6e2375fb0a7ed1e1066092e77456d371836
EBUILD gentoo-kernel-bin-5.10.194.ebuild 3029 BLAKE2B c3a524d4667afa41876e5698e892b6d9c9aa242270faa317ad56c3a64fc9d7f70466d3ce4d068e331090cb1f9d715a8ee1405cca0537d51bba07a0169d404f73 SHA512 45fb0604257313c172f0239361fc72b51f98ed5019f3d85fb6a43c31b48d51be809643cb277b9bd557dd63202566b280ebe070fff46f6639f6a6d063d55cdf24
EBUILD gentoo-kernel-bin-5.15.127.ebuild 3025 BLAKE2B 95e4eb0f4309e4141a863875ec46ea241e6e9e96260bdd3804400e11d32dd2b12bce79c1c66e0abbe6533cc9c9abf0f19eceabe46885b6feeac986287fec0070 SHA512 1f22d7d6843659d872c9ea6bd6eda48f99841e95c12aa723020633cdf30564f43e4aa63e3433f0598930230a03d2c27a1714d2b865a548edfc5725cf9f99176f
@@ -59,4 +66,5 @@ EBUILD gentoo-kernel-bin-5.4.254.ebuild 3024 BLAKE2B 1a00a8ccac9f12f20c9f3d39572
EBUILD gentoo-kernel-bin-5.4.256.ebuild 3028 BLAKE2B 022cdf6c0db736314e0bb413422f2267146a7c22273e2149f9f8e85feff555b01e28ca044e875d82eaf4e7cb139ec530561c0ba6122059f3b0be63cfe6fb99ea SHA512 c465e8d904061fea29ed34e83879ccc2dca6f2469caf78c76b44f1a696d2e21a36826c6b3a87d6b581ee12ccf72bb02bf6cb20624a3108ad595d5a59dc92b880
EBUILD gentoo-kernel-bin-6.1.53.ebuild 3025 BLAKE2B 95e4eb0f4309e4141a863875ec46ea241e6e9e96260bdd3804400e11d32dd2b12bce79c1c66e0abbe6533cc9c9abf0f19eceabe46885b6feeac986287fec0070 SHA512 1f22d7d6843659d872c9ea6bd6eda48f99841e95c12aa723020633cdf30564f43e4aa63e3433f0598930230a03d2c27a1714d2b865a548edfc5725cf9f99176f
EBUILD gentoo-kernel-bin-6.4.16.ebuild 3160 BLAKE2B 56befa90a572da973654c27f61d9303eebf75154eb8f381c87acf65b05ce70264690c36ff6d2896ead4d7aa6a26c5bbd9ff5a65ce32521cdee4910fd640cc276 SHA512 9c61b0fd4305f5ec716a3f1998875bb6268d3402466776e35e3413c2d69e255c9851cf15f0dd2f5d75d2f94208480f601f3b4cbaf09815cf63624432d5fef531
+EBUILD gentoo-kernel-bin-6.5.3.ebuild 3160 BLAKE2B c48be30980fa7329a4e268bd0743a3bbab040af1acec4bee93a6e019ff8d5cd0b2b5c4f375a32ca37b64bc5d98b67b77d0b2a7b709305de1b1479f099a8f8fd2 SHA512 6302df75ebd899875b237cc3a151b25166648524974bebae807272cb2a6a62e1ce4a79720aac42bfb7ccff7bad4ca0157b0a048e0536333358d810b9a6bb7529
MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.3.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.3.ebuild
new file mode 100644
index 000000000000..26b296bcb3b6
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.3.ebuild
@@ -0,0 +1,132 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_EFI_ZBOOT=1
+KERNEL_IUSE_SECUREBOOT=1
+inherit kernel-install toolchain-funcs unpacker
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 ))
+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="$(tc-getSTRIP)"
+ 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
+
+ # Modules were already stripped before signing
+ dostrip -x /lib/modules
+}