diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-16 12:27:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-16 12:27:58 +0100 |
commit | b6fa31c964a602f8461a77d5b83355e8750c12eb (patch) | |
tree | 323fa7af31640b3ea8bb57fa7a927713f3d64769 /sys-kernel | |
parent | 868fd5dc8aab84930cfaa5252b8be06b35552765 (diff) |
gentoo auto-resync : 16:07:2024 - 12:27:58
Diffstat (limited to 'sys-kernel')
29 files changed, 1152 insertions, 231 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 1918dae91771..2ad4664bfb81 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/asahi-sources/Manifest b/sys-kernel/asahi-sources/Manifest index 0adc553f93f7..f9721c056080 100644 --- a/sys-kernel/asahi-sources/Manifest +++ b/sys-kernel/asahi-sources/Manifest @@ -1,14 +1,12 @@ AUX asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch 1826 BLAKE2B 4e170e302c1d52b3f5b8d4f6e79eb096fe859745042d5539745df97a8e78cdca50fad24204cd5667620a3c65f93406dcf54c3eb51a3f45d9cd10369ca83cfe12 SHA512 afd78d1b42eae94472ba45cb259db811d6258af6b46e4f9cd64e30fd3c47728063c815199431f6c700c45f8a5d91fbfbf6e2c07a5f38dae7371cc8a2edae6ecf AUX asahi-6.8.2_revert_spi_stable_asahi.patch 1451 BLAKE2B 749163f2c8d1d6f7b667f5123afdb99106e9341375767cb652039d48415f101542abc6150b8f559a1b594209d1d29eaa158a3f9c1e0a450e1dff620a0c5e7e4a SHA512 7145725dccdeeeb304e97070f1dbec450165296919101e111ae1e188fd6d7c55cc68fbddcdf50d2bfe0e052f4aeb401a9cace8c59636afb4940405725a7ea327 -AUX asahi-sources-6.6.0_p16-enable-speakers-stage1.patch 3053 BLAKE2B d93a2b91a526fe3db72b7308953ce3c0789d8fdb64d14cbb96efeb0923632be46350cd0e7c07163ce05ae52bc0b8825229cffd7c4b35afacb678c963dff9e050 SHA512 86d1c7f3392523039b2803fe5f4ee3b386e1284445d2072c747f1d4936a4cc5e1aa3b8b17b80ebb97b70bcf2b4bd6603df373a94fbc23ca3cc1f89c0b6ad6407 -AUX asahi-sources-6.6.0_p16-enable-speakers-stage2.patch 1609 BLAKE2B eb51b5aeca1f44589373c212aa6e8e3dd0f0c2ee5a7e78e9a6a48ad9ce3337b649a4727b801b583dc4c43857494a8c43caba061ee564c7358d3db308fde91231 SHA512 9da0942b20f0566ff4eb1e4da5ab670cce41293abaf266414ad3b93f4790ef52e8ad92830ddee26fbd1f0287238bf261d8a1edc471427b1581f5cce00880973e -DIST genpatches-6.8-12.base.tar.xz 687664 BLAKE2B 3c27ee511c258f3659d7f8cd5b6d470ffa10a2fc95bd536b272e0bb20c368dfc8c512f23fdc025e85ad90d6f628a58c80d8d15ec0ef8898caf7461162cf2dec2 SHA512 cd845b49341366190834b9782c9ffa270608a35e616ff483b40094913f6d01809421b80a7830117b606e57e6bb0ed9b0ed6dc14220826364fc9d2ee6a5916ad6 -DIST genpatches-6.8-12.extras.tar.xz 3736 BLAKE2B 15a15ca3097dc42ac5855e59fe61c961854c1afa8adc719c761ac58bb7c869d3240c228b0963a91927a9bc0af6998b4c40e4d286faf7d2defc2f21029d11c114 SHA512 4f1c8c07e81c0d1ed110bd4512d2a16c3e202c47d8ab6bedf5213cf6c2f8675e9b543e52dbce50fbbf550d88252e2c1c19c2465ddd7907f11a2979fa92466a7c -DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068 -DIST linux-asahi-6.8.9-3.tar.gz 235275610 BLAKE2B 8ee3ff2572a02851d66239c65187312a0f67aa492d9c3b3a734e291b250acbf9450960c745687ff98a339e4cc14a2eab7675c08d39f88de0c0aa7c320d20bdc8 SHA512 ebd854b357a1d0a7663129f48956da559bc23a4347836dd0c3a3eb8cd47013ed86d83711dc2b7a221c28f51bd0c42c0b1ea2302ef45ee4a2ddfbfacf33e6efc2 -DIST linux-asahi-6.8.9-6..asahi-6.8.9-7.patch 6483 BLAKE2B 7a50c83ce70f50f7ac27ca55406edae8941d271d89270eeb3c97fe446f14fb8fd07ef4f9aa3288af24ab8958aff0d250a6762edd87b7453592147216cb65e2f9 SHA512 7d26833d6ca717c48caec655fd78107367c67112b04181be781fb5746d8a00d7927198d67cdd22a4e57b131b0738125087972cd0ba7b0e7e16f04bb3d3301378 -DIST linux-asahi-6.8.9-6.patch 5163031 BLAKE2B de6411c7f6bb95fec4162648c89d6bf6be5e863d4647877c4cbbb9e4c8540b12b1dacd42c26a1d3561a36fe6c79650caf5e0481338764a10101cec53921043c7 SHA512 0cc24bf50c16cb6fc59bf9bd025babcdca081bc789da5791d0fd914c65d31342cc632998fe4a667296ee3ed067b311dc105e994e2a77d569bac3a8ed48fb5ecc -EBUILD asahi-sources-6.8.9_p3.ebuild 2006 BLAKE2B d2d171d67b32a49b2d7f5ece2d401b2db5313234f4627d9a48472966beddc5e68864ab3a3dfe432248e0fcc3246c0ccd755ced7a9c417e989d95fce52973e842 SHA512 2953fa7747bc02df18301ebd5f159b4e49da25a7d2efa70029d3b4c00ed062ba8fd4632c29b976e482823c9b4f91d9c2320231330a5eba8adc04d5cc043da1b6 -EBUILD asahi-sources-6.8.9_p6.ebuild 1857 BLAKE2B b82b3d2159cc22bcf8758d690166b0059d6b3ceaec5fdf55c3f0b6a3111b00ca24e07452645585bc01e844e28baa81adea1b44b7223136346c6d0166ef7ca0f3 SHA512 af2256bd0b6e8dd24e8ac18de6f1f0d9c8240f1499caa80968f4a3fe45cb68ed3b82dc0b2996a5cf5f165c9e76d4cafa4e7b358d3c9679b3a9f8a218f45ce0c5 -EBUILD asahi-sources-6.8.9_p7.ebuild 2096 BLAKE2B dae5f47b023ec53259b1f93ca1b38f3f936177128b9a02655b8f5c1c994c3a14cab699477207a8286e74f784204649d2f5f2a555e2d682fa7c4466096173002a SHA512 92209bc607792dc4b72328f133a7d623229f6fd2c5fd72dc4165f7fbbe1f3328818860cf2a4f07dddc806bd02c8971c7f04033b43383fc2b49fd70aad8310bc2 +DIST genpatches-6.9-10.base.tar.xz 602768 BLAKE2B 614634ed1d1132be830e91a13dc509022a6a476b678f63dd4f3c428e7c37eec46f47a32f927f3895ff65a6ab5b046a3b0ca2df88a94678f898292d0970859734 SHA512 7826d46d8faaf64fb268f8dc940621f434f8729e706b4178adac2a2c353bccd854e5fea6c3489d5d0c48d469d6f6e26befa01d5a0deaba48f3e6140eb096de5e +DIST genpatches-6.9-10.extras.tar.xz 4052 BLAKE2B 607bede5f0c3d38f72fba841861caf6f90e7f0068373d951a6aa21a29cb7523bcd6faeeb5602c6a7395a802d35e657aaee1172582ecddd0c4143fc21ea9c4b3c SHA512 b9e59d200cb06ea3287557e1ca1cf7116df61019f423fa8149195d36d7d2b143265341bef5430c4f761b0926ad823775cb2c83c852d22dc4acdb0d9628da12bc +DIST genpatches-6.9-9.base.tar.xz 548708 BLAKE2B e0130d225056f77c92e566eef9db643ecdef6faf2f81e8329859830850bb5409e212aca0ab0da85b9b1e3377121221259044dac650986ec05feac46f4d588a5d SHA512 714016638f866b536b85edd24e3e44513048591aa270dbee1460c5893b3e8b0508f299d86a202deacd10f105c0da48038d78219226b2808e17012d1811df391e +DIST genpatches-6.9-9.extras.tar.xz 4048 BLAKE2B 7be69cb63abf9df9267bc61e3e365672dbd1c0b3568d48bf949b660ff1abb483b28846eb36a162ddd9bd91473c25462440fd41a7ba3bac70467ad45fa88fdd29 SHA512 955cd846bb020d08888aac04ebc5c1e56429e11ac59601a3e068971ad05aee59b75a24722dc7fe2645ef4414424d21e117e2eeb24ae72a5949476a213f3383fa +DIST linux-6.9.tar.xz 144034416 BLAKE2B 4cf86c3cfe6e6534745d42dfaeca59b17ea1168c4e8b615c80e6d8aac735f11283cd85fa992b440b5d4452917e94b9f08397a64af0be5894e3df23c68892377e SHA512 fed3b4cd1fbfb4d94618587c1934273d2ecc8b6e42a3d586ff8a5f24980be930f2ef803aa2923ca3bfa5e4e619f967f3af315368f24fa76f610b10443624a579 +DIST linux-asahi-6.9.8-1.patch 5296308 BLAKE2B 7a6640235488d11ebaa230d022fc89d85633830a9082d5fc7a62ed7a46272a62dcf3b5f68387bc2c2cbe14a5fc9167d31a896ddbeefe1d8d70557077d83d90df SHA512 0c0de341a98fa91da4670c14a704d5cc0aaaf80ad74af86b9df2a13762a0f9196f0c32b32fc80cffce4f65c459d92a9363bee7c2c5f02e35d5ecd0ee0118b5d4 +DIST linux-asahi-6.9.9-5.patch 5356022 BLAKE2B c3b5fa8be8320d391f11e7f02b7aa4c67055484539da5a241e3557d075db6c60daea15abcb992dd04cc2dcd7b8fd67bf2a17b21225737a492f0b70a987403189 SHA512 49bb4812e467b0ef07a71b0f6c1a16b8ee627be9c9c0862b87b419080712d77f0a8b5a83ddb54b92776defc79afa8241749cec97e262d98c29da874801decaa3 +EBUILD asahi-sources-6.9.8_p1.ebuild 1722 BLAKE2B dfa32aef22b6995527c63423e2941e114482cf82f66234eaf6a41190f3ffb1f4a3ae33b8fe164215feec8d699e8f0ac988cebc98f3d6ab42375b71185a294bcf SHA512 b48cbbf09c2c059632aaf4ecd9cb260b279577e023ecca6fbe291ded7da2ea42d12dbc0c58cc9e1878148286fe2dc48a1bd03da91263f6efb82c9eac87cff776 +EBUILD asahi-sources-6.9.9_p5.ebuild 1724 BLAKE2B 4e3b0ade0f7a3ffd6429f40d1263500f85c85d4120d4520eedcc90d2187e708fa029fc9cdc560ccf9fefe7889b495b648cdcb6d0595af2410b1009bae0ea0a62 SHA512 cceec565e1e986994131d10c472588aab742614c8e60c4875ab646df07407c4ba89e567f52de3bad7c9920af68369cad87a04c12c71eeda80eb9172a002ef244 MISC metadata.xml 606 BLAKE2B 81abc1eb15c66fbc4b2039b161e0bc06e8c6ce5e58727fca8ef80778db4dd04bc48486479d795c91e6181cd4e3f974b3ff7e3f6479e98e8271ccf4bdfd22b02e SHA512 c5e3349ebbbd7d04a0ac261c93df705b34882a3ed2472f28d90ef902377f5a89d3b5454e94b7f40c39c5d1745aedbd1267a607c189ff09917e77f0ed78009395 diff --git a/sys-kernel/asahi-sources/asahi-sources-6.8.9_p3.ebuild b/sys-kernel/asahi-sources/asahi-sources-6.8.9_p3.ebuild deleted file mode 100644 index ac1ab4ff4d6f..000000000000 --- a/sys-kernel/asahi-sources/asahi-sources-6.8.9_p3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -K_SECURITY_UNSUPPORTED="1" -ETYPE="sources" -#K_WANT_GENPATCHES="base extras experimental" -#K_GENPATCHES_VER="5" -K_NODRYRUN="1" - -inherit kernel-2 -detect_version -detect_arch - -if [[ ${PV} != ${PV/_rc} ]] ; then - # $PV is expected to be of following form: 6.0_rc5_p1 - MY_TAG="$(ver_cut 6)" - MY_P="asahi-$(ver_rs 2 - $(ver_cut 1-4))-${MY_TAG}" -else - # $PV is expected to be of following form: 5.19.0_p1 - MY_TAG="$(ver_cut 5)" - if [[ "$(ver_cut 3)" == "0" ]] ; then - MY_P="asahi-$(ver_cut 1-2)-${MY_TAG}" - else - MY_P="asahi-$(ver_cut 1-3)-${MY_TAG}" - fi -fi - -DESCRIPTION="Asahi Linux kernel sources" -HOMEPAGE="https://asahilinux.org" -KERNEL_URI="https://github.com/AsahiLinux/linux/archive/refs/tags/${MY_P}.tar.gz -> linux-${MY_P}.tar.gz" -SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} -" - -KEYWORDS="arm64" -IUSE="rust" - -DEPEND=" - ${DEPEND} - rust? ( - || ( - >=dev-lang/rust-bin-1.76[rust-src,rustfmt] - >=dev-lang/rust-1.76[rust-src,rustfmt] - ) - dev-util/bindgen - ) -" - -PATCHES=( - "${FILESDIR}/asahi-sources-6.6.0_p16-enable-speakers-stage1.patch" - "${FILESDIR}/asahi-sources-6.6.0_p16-enable-speakers-stage2.patch" -) - -src_unpack() { - unpack linux-${MY_P}.tar.gz - mv linux-${MY_P} linux-${KV_FULL} || die "Could not move source tree" -} - -src_prepare() { - default - cd "${WORKDIR}/linux-${KV-FULL}" || die - # XXX: Genpatches do not yet work with Rust kernels - #handle_genpatches --set-unipatch-list - #[[ -n ${UNIPATCH_LIST} || -n ${UNIPATCH_LIST_GENPATCHES} || -n ${UNIPATCH_LIST_DEFAULT} ]] && \ - # unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST_GENPATCHES} ${UNIPATCH_LIST}" - #unpack_fix_install_path - #env_setup_xmakeopts - echo "-${MY_TAG}" > localversion.10-pkgrel || die - cd "${S}" || die -} - -pkg_postinst() { - einfo "For more information about Asahi Linux please visit ${HOMEPAGE}," - einfo "or consult the Wiki at https://github.com/AsahiLinux/docs/wiki." - kernel-2_pkg_postinst -} diff --git a/sys-kernel/asahi-sources/asahi-sources-6.8.9_p7.ebuild b/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild index 2303feb47dc1..ef7185794376 100644 --- a/sys-kernel/asahi-sources/asahi-sources-6.8.9_p7.ebuild +++ b/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild @@ -7,7 +7,7 @@ ETYPE="sources" CKV="$(ver_cut 1-3)" K_SECURITY_UNSUPPORTED="1" K_WANT_GENPATCHES="base extras" -K_GENPATCHES_VER="12" +K_GENPATCHES_VER="9" K_NODRYRUN="1" inherit kernel-2 @@ -30,21 +30,18 @@ fi EXTRAVERSION="-asahi-${MY_TAG}" -PREV_ASAHI_TAG="asahi-${MY_BASE}-6" ASAHI_TAG="asahi-${MY_BASE}-${MY_TAG}" DESCRIPTION="Asahi Linux kernel sources" HOMEPAGE="https://asahilinux.org" SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} - https://github.com/AsahiLinux/linux/compare/v${MY_BASE}...${PREV_ASAHI_TAG}.patch - -> linux-${PREV_ASAHI_TAG}.patch - https://github.com/AsahiLinux/linux/compare/${PREV_ASAHI_TAG}...${ASAHI_TAG}.patch - -> linux-${PREV_ASAHI_TAG}..${ASAHI_TAG}.patch + https://github.com/AsahiLinux/linux/compare/v${MY_BASE}...${ASAHI_TAG}.patch + -> linux-${ASAHI_TAG}.patch " KV_FULL="${PVR/_p/-asahi-}" S="${WORKDIR}/linux-${KV_FULL}" -KEYWORDS="~arm64" +KEYWORDS="arm64" IUSE="rust" DEPEND=" @@ -62,10 +59,7 @@ UNIPATCH_STRICTORDER="yes" UNIPATCH_LIST=" ${FILESDIR}/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch ${FILESDIR}/asahi-6.8.2_revert_spi_stable_asahi.patch - ${DISTDIR}/linux-${PREV_ASAHI_TAG}.patch - ${DISTDIR}/linux-${PREV_ASAHI_TAG}..${ASAHI_TAG}.patch - ${FILESDIR}/asahi-sources-6.6.0_p16-enable-speakers-stage1.patch - ${FILESDIR}/asahi-sources-6.6.0_p16-enable-speakers-stage2.patch + ${DISTDIR}/linux-${ASAHI_TAG}.patch " src_prepare() { diff --git a/sys-kernel/asahi-sources/asahi-sources-6.8.9_p6.ebuild b/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild index a0aa5d1ee2e2..4b6fa5c16640 100644 --- a/sys-kernel/asahi-sources/asahi-sources-6.8.9_p6.ebuild +++ b/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild @@ -7,7 +7,7 @@ ETYPE="sources" CKV="$(ver_cut 1-3)" K_SECURITY_UNSUPPORTED="1" K_WANT_GENPATCHES="base extras" -K_GENPATCHES_VER="12" +K_GENPATCHES_VER="10" K_NODRYRUN="1" inherit kernel-2 @@ -59,9 +59,7 @@ UNIPATCH_STRICTORDER="yes" UNIPATCH_LIST=" ${FILESDIR}/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch ${FILESDIR}/asahi-6.8.2_revert_spi_stable_asahi.patch - ${DISTDIR}/linux-asahi-6.8.9-6.patch - ${FILESDIR}/asahi-sources-6.6.0_p16-enable-speakers-stage1.patch - ${FILESDIR}/asahi-sources-6.6.0_p16-enable-speakers-stage2.patch + ${DISTDIR}/linux-${ASAHI_TAG}.patch " src_prepare() { diff --git a/sys-kernel/asahi-sources/files/asahi-sources-6.6.0_p16-enable-speakers-stage1.patch b/sys-kernel/asahi-sources/files/asahi-sources-6.6.0_p16-enable-speakers-stage1.patch deleted file mode 100644 index 1e5d9c74f1c1..000000000000 --- a/sys-kernel/asahi-sources/files/asahi-sources-6.6.0_p16-enable-speakers-stage1.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 385ea7b5023486aba7919cec8b6b3f6a843a1013 Mon Sep 17 00:00:00 2001 -From: Hector Martin <marcan@marcan.st> -Date: Fri, 15 Dec 2023 20:38:32 +0900 -Subject: [PATCH] READ COMMIT MESSAGE! macaudio: Enable first round of models - -Enables j313, j293, j493, j314, j414, j274, j375, j473, j474, j475 - -*** WARNING FOR DISTRO PACKAGERS WANTING TO APPLY THIS: *** -*** YOU ABSOLUTELY NEED THIS PATCH IN YOUR LSP-PLUGINS PACKAGE *** - -https://github.com/lsp-plugins/lsp-dsp-lib/pull/20 - -Do NOT enable speakers without that patch, on any model. It can/will -result in nasty noise that could damage them. - -Signed-off-by: Hector Martin <marcan@marcan.st> ---- - sound/soc/apple/macaudio.c | 20 ++++++++++++-------- - 1 file changed, 12 insertions(+), 8 deletions(-) - -diff --git a/sound/soc/apple/macaudio.c b/sound/soc/apple/macaudio.c -index f5b349057a67e1..d2ced87e88c0e1 100644 ---- a/sound/soc/apple/macaudio.c -+++ b/sound/soc/apple/macaudio.c -@@ -1490,23 +1490,27 @@ struct macaudio_platform_cfg macaudio_j180_cfg = { - false, AMP_SN012776, SPKR_1W1T, false, 10, -20, - }; - struct macaudio_platform_cfg macaudio_j274_cfg = { -- false, AMP_TAS5770, SPKR_1W, false, 20, -20, -+ true, AMP_TAS5770, SPKR_1W, false, 20, -20, - }; - - struct macaudio_platform_cfg macaudio_j293_cfg = { -- false, AMP_TAS5770, SPKR_2W, true, 15, -20, -+ true, AMP_TAS5770, SPKR_2W, true, 15, -20, - }; - - struct macaudio_platform_cfg macaudio_j313_cfg = { -- false, AMP_TAS5770, SPKR_1W, true, 10, -20, -+ true, AMP_TAS5770, SPKR_1W, true, 10, -20, - }; - --struct macaudio_platform_cfg macaudio_j314_j316_cfg = { -+struct macaudio_platform_cfg macaudio_j314_cfg = { -+ true, AMP_SN012776, SPKR_2W1T, true, 15, -20, -+}; -+ -+struct macaudio_platform_cfg macaudio_j316_cfg = { - false, AMP_SN012776, SPKR_2W1T, true, 15, -20, - }; - - struct macaudio_platform_cfg macaudio_j37x_j47x_cfg = { -- false, AMP_SN012776, SPKR_1W, false, 20, -20, -+ true, AMP_SN012776, SPKR_1W, false, 20, -20, - }; - - struct macaudio_platform_cfg macaudio_j413_cfg = { -@@ -1522,7 +1526,7 @@ struct macaudio_platform_cfg macaudio_j45x_cfg = { - }; - - struct macaudio_platform_cfg macaudio_j493_cfg = { -- false, AMP_SN012776, SPKR_2W, true, 15, -20, -+ true, AMP_SN012776, SPKR_2W, true, 15, -20, - }; - - struct macaudio_platform_cfg macaudio_fallback_cfg = { -@@ -1558,9 +1562,9 @@ static const struct of_device_id macaudio_snd_device_id[] = { - /* j313 AID4 tas5770 10 2× 1W */ - { .compatible = "apple,j313-macaudio", .data = &macaudio_j313_cfg }, - /* j314 AID8 sn012776 15 2× 2W+1T */ -- { .compatible = "apple,j314-macaudio", .data = &macaudio_j314_j316_cfg }, -+ { .compatible = "apple,j314-macaudio", .data = &macaudio_j314_cfg }, - /* j316 AID9 sn012776 15 2× 2W+1T */ -- { .compatible = "apple,j316-macaudio", .data = &macaudio_j314_j316_cfg }, -+ { .compatible = "apple,j316-macaudio", .data = &macaudio_j316_cfg }, - /* j375 AID10 sn012776 15 1× 1W */ - { .compatible = "apple,j375-macaudio", .data = &macaudio_j37x_j47x_cfg }, - /* j413 AID13 sn012776 15 2× 1W+1T */ diff --git a/sys-kernel/asahi-sources/files/asahi-sources-6.6.0_p16-enable-speakers-stage2.patch b/sys-kernel/asahi-sources/files/asahi-sources-6.6.0_p16-enable-speakers-stage2.patch deleted file mode 100644 index 5a83346337fa..000000000000 --- a/sys-kernel/asahi-sources/files/asahi-sources-6.6.0_p16-enable-speakers-stage2.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 6a24102c06c95951ab992e2d41336cc6d4bfdf23 Mon Sep 17 00:00:00 2001 -From: Hector Martin <marcan@marcan.st> -Date: Fri, 15 Dec 2023 20:40:53 +0900 -Subject: [PATCH] READ COMMIT MESSAGE! macaudio: Enable second round of models - -Enables j316, j413, j415, j416 - -*** WARNING FOR DISTRO PACKAGERS WANTING TO APPLY THIS: *** -*** YOU ABSOLUTELY NEED THIS PATCH IN YOUR LSP-PLUGINS PACKAGE *** - -https://github.com/lsp-plugins/lsp-dsp-lib/pull/20 - -Do NOT enable speakers without that patch, on any model. It can/will -result in nasty noise that could damage them. - -Signed-off-by: Hector Martin <marcan@marcan.st> ---- - sound/soc/apple/macaudio.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/sound/soc/apple/macaudio.c b/sound/soc/apple/macaudio.c -index d2ced87e88c0e1..f347f08b7ad01e 100644 ---- a/sound/soc/apple/macaudio.c -+++ b/sound/soc/apple/macaudio.c -@@ -1506,7 +1506,7 @@ struct macaudio_platform_cfg macaudio_j314_cfg = { - }; - - struct macaudio_platform_cfg macaudio_j316_cfg = { -- false, AMP_SN012776, SPKR_2W1T, true, 15, -20, -+ true, AMP_SN012776, SPKR_2W1T, true, 15, -20, - }; - - struct macaudio_platform_cfg macaudio_j37x_j47x_cfg = { -@@ -1514,11 +1514,11 @@ struct macaudio_platform_cfg macaudio_j37x_j47x_cfg = { - }; - - struct macaudio_platform_cfg macaudio_j413_cfg = { -- false, AMP_SN012776, SPKR_1W1T, true, 15, -20, -+ true, AMP_SN012776, SPKR_1W1T, true, 15, -20, - }; - - struct macaudio_platform_cfg macaudio_j415_cfg = { -- false, AMP_SN012776, SPKR_2W1T, true, 15, -20, -+ true, AMP_SN012776, SPKR_2W1T, true, 15, -20, - }; - - struct macaudio_platform_cfg macaudio_j45x_cfg = { diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 4802b6db4e79..988474d9626a 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,6 +12,8 @@ DIST genpatches-6.1-107.base.tar.xz 5516960 BLAKE2B a4c1128db49bc5dec2aad2999279 DIST genpatches-6.1-107.extras.tar.xz 4052 BLAKE2B e37572e0575345470b87d07d8e3a0a7e8f7284d9ebb987152232f5a09c54508da833d60982cddce2fe5997e2791866b61a07555f631ea75c130d094bb5ed4925 SHA512 b0f2f6758677b163da436205f7493932aa925854446dfe1f687f829b0ef2d53b371992bf2001b217a0b4ec6c236a99833c98f168b877df45aae6819e39d0598e DIST genpatches-6.1-108.base.tar.xz 5541376 BLAKE2B 59ef9110b100cf6064c6c6e556bec827138f44dd636d55a976a1ec4af4699f95258962ce272867a1bf172b6a2e1d4f7b25025d5b6c48c9c6c7a6d8f13834b297 SHA512 f250359fd14e11ee176fedaf8bff84a553a7cc559e56c29fa2b6e04217d4e1a63b072e1c73a021a527e37101704b99136e06e008553220d7a35eee3848aadb90 DIST genpatches-6.1-108.extras.tar.xz 4052 BLAKE2B b6ad898a5a66a1a6ef293bc4a4a886ea29f0a1f985b3b85beec7c4e935e90ac9f642e7811261e413cc39b5a0ae36fd257d0afeb4a9c52aa29956070b4b52c50e SHA512 6fbabfbcd35db0dd77da03c138a6a225f7255cc3566007368ee759ce154f23f11edb8434be82992f153deab19c6b5549d00a7cfd54c4d0e49eaf2e4d39b86597 +DIST genpatches-6.1-109.base.tar.xz 5540948 BLAKE2B b6fdb5f6641ca8617c976f69bb731147ae1d1d24f1da6686ac8cc2a1a9775c2a3c890c24609042617b9397a9abdf9abd6806fa5933e215de1dad6d0f67277a5e SHA512 e2f0837a9b5588df44a1936dc5dce2c1aeddf1d56795600513aa22a08195da4c358935e7d347ec09d4d25aa5db6c5a036e7a718bfc442796c4994736c6dc4daa +DIST genpatches-6.1-109.extras.tar.xz 4052 BLAKE2B 562d5137c87031ff9f43b4d081b26b35cf4bd3c5fe074ee826edc8ece2ed074eeecf55c8914ca728267a9f78d907a51354c3688186d442d9fc02340224a0c71e SHA512 0370a5cfd83a1c87828396e49f003b29fc68dea1568f6de417fe488aaf045e349f0b84695f3643ad9811b4f57ef31237ffb9a97c72294139aba94557e1f67a18 DIST genpatches-6.6-42.base.tar.xz 2474752 BLAKE2B 074b24c3848ba0b2521d364d67222ab324cfacc3036b2c3b9ceebebf03afcf21d963921841f6f987422e904be35653f9dafc2a795ed6eaa050d6a37595bdd111 SHA512 6ce7c93c92a5f2951c9a60b7a058560dec8c3f9c16f00ac4b58c23f88ceaf9cbc519653320bc95f45039219eecb068247f3c27ac448c8695ed8c9e93022fdc37 DIST genpatches-6.6-42.extras.tar.xz 4048 BLAKE2B 0d86f11ef43c33b1014423a4417be73e4ace2eb5d9c38c7a63e8bc424eff7399137239138de1b89a70247f1b174766c9672cb05743aeaa14ea66d8bab67593bc SHA512 5d264209a734c4cbc48dab228b7d8570b735748b1c01f80beb2803dca3027ed78303ff937aecb1d8e3e6f2e2d4722aa0c1b5c77a4d45f2a9c53cfe1c0ac0affd DIST genpatches-6.6-44.base.tar.xz 2571884 BLAKE2B 117eb333385bbff1ec4056dc9fd7374260a33f243fe20462b914eee658a57b90e9115e9edbf5c8935890ddcfb233eaf88b3e0062245cb838953749c8bc674376 SHA512 e8bad736c8566bbdc081600305a4014301e4f6f74b73ee68efd818fb92e2d49bdbf0b7a2b66c5cd5aa8e56e7d183aa03c2a02e7328ba7e0c71fa1646e6868cc3 @@ -20,6 +22,8 @@ DIST genpatches-6.6-45.base.tar.xz 2573196 BLAKE2B a6ff1fdc5c661f28d45e8297a325d DIST genpatches-6.6-45.extras.tar.xz 4048 BLAKE2B dd86fb162ed81abf47e1fe88e238d67d557294b9502dedf9d3d405e52e014ba9852ea48ef7ab62a255996cc0a3506599b07c76a20b217764c31e2efa0a636872 SHA512 8cd9e82c2c33eb625c86181e47cdf9be5a3246db140174792cb38c68e44a39103bd42964560d8af659a9f44117fd40b804927a544c32780fcbb7a023cba9bfb3 DIST genpatches-6.6-46.base.tar.xz 2606596 BLAKE2B f8b284a798b7f734ae39e8ac349598f8a7ac0902dd66264c1de754fc43c275e8e785097f9ad479e63cab0705bc9c8f917b91fdb4acf196fc9e032675d2dd72d7 SHA512 d7b62bb4c570b5fcccbdb27ab0da65c2309038d3ac31ccbf48df0ac32ef057b52046ad502ba02ec6c0cb4f3ac2e6ac0d4f97ced6adb85c96a89f31881a34b848 DIST genpatches-6.6-46.extras.tar.xz 4048 BLAKE2B 235f71efef27116556f2d7b6e7bd8c9ffcbfbc798fe87a59d69f672094830b13fa0e6ceb900eacc5ca250e92cfb410998af70939df9317c76f6291e2446020c9 SHA512 10f0f98d2c5a63371f8225e677f3e12a2e4f54b892dd6f64f3ed0c7cb8956671dc4bced0128d66bc0f2e61e1cb3c590a9d43270237d8457c2825cff1b8e236e1 +DIST genpatches-6.6-47.base.tar.xz 2606912 BLAKE2B 9ab2547e43d9d17ce67824dbb5eacfd25d1c0ea314c440d925b53a89362f47d9d1ffe853b12bb3fcd3761745306914678b33261e56c4df2ebfe3ce65035ccc61 SHA512 109d430209ab4f02428ccd6357047742da383791a3ada574ddfb6a25f28dd0df1b0a376a895e0c624a7da4d34519ba895992c7cf7e3c83c03f6f7f8cb9ed787f +DIST genpatches-6.6-47.extras.tar.xz 4052 BLAKE2B 8cb744f165c0ebb88d4a8eb097c6f45c550d6eb984fa06902980c7276863fb6b5b7c1e760a9f6904f58178977f7e10a12626a20f83df4a2121379a26d1182ca7 SHA512 9f7c53624e9ca9bad3f36a114b3da3aa5d3c1a7c92bfb85d862814900303a58d2a6280a9ab9a0c3f342930a1354b579e94cf5eecbb379d31c7666925c1ae9cfd DIST genpatches-6.9-10.base.tar.xz 602768 BLAKE2B 614634ed1d1132be830e91a13dc509022a6a476b678f63dd4f3c428e7c37eec46f47a32f927f3895ff65a6ab5b046a3b0ca2df88a94678f898292d0970859734 SHA512 7826d46d8faaf64fb268f8dc940621f434f8729e706b4178adac2a2c353bccd854e5fea6c3489d5d0c48d469d6f6e26befa01d5a0deaba48f3e6140eb096de5e DIST genpatches-6.9-10.extras.tar.xz 4052 BLAKE2B 607bede5f0c3d38f72fba841861caf6f90e7f0068373d951a6aa21a29cb7523bcd6faeeb5602c6a7395a802d35e657aaee1172582ecddd0c4143fc21ea9c4b3c SHA512 b9e59d200cb06ea3287557e1ca1cf7116df61019f423fa8149195d36d7d2b143265341bef5430c4f761b0926ad823775cb2c83c852d22dc4acdb0d9628da12bc DIST genpatches-6.9-9.base.tar.xz 548708 BLAKE2B e0130d225056f77c92e566eef9db643ecdef6faf2f81e8329859830850bb5409e212aca0ab0da85b9b1e3377121221259044dac650986ec05feac46f4d588a5d SHA512 714016638f866b536b85edd24e3e44513048591aa270dbee1460c5893b3e8b0508f299d86a202deacd10f105c0da48038d78219226b2808e17012d1811df391e @@ -52,6 +56,10 @@ DIST gentoo-kernel-6.1.98-1.amd64.gpkg.tar 72581120 BLAKE2B ec9979a8fc1eecb03b46 DIST gentoo-kernel-6.1.98-1.arm64.gpkg.tar 65546240 BLAKE2B 47f3cfd2bf63f7c25ac263063f75486eb1a65b5bc805ee8640c7867eaaf394e4d8394b9990f49b9d54edfeab93ee67dc7326017db707efc948fd9fbf21f09998 SHA512 31d27d4f87383169cbf958b7fbe0255217dfd8d018a8641669d37f9dd3a5813fec575a4a9ce51e5bce9c7ae55c7ca7fdb4445fab7b696a92c06c69ea412cb038 DIST gentoo-kernel-6.1.98-1.ppc64le.gpkg.tar 59791360 BLAKE2B d07f0210f6ee255804c97681f3a1a4cb13492dcca3e83b416c26574eb6b937614859595eaa6513a6453427d34c47e77f12b0faf2f50d1b1d6088bd5842bd4380 SHA512 034e9971aefd8e5a4f40e876fa2b937c94e118bd52e2c7bcb90bc4a09e2da84caeada8a00ddbe5525143fbf7378f27a77559d02ab72297431212b0decea67b3e DIST gentoo-kernel-6.1.98-1.x86.gpkg.tar 62136320 BLAKE2B 92874aa93688c90c95ce4490004b70cc87e6d3f99370aa7375a0e165ad8fb3250bac1b2d1833c8bd0465572c7049244036afc9d23fc0863e75785e484fe02b63 SHA512 690a3dcd2e9c8694401901b8541e42ef70a54457a96ba516105d011e9be79657f60079073eebc70f880ebfbece4ea7a3e54f5918a38d40a302d2ef5bc906f6df +DIST gentoo-kernel-6.1.99-1.amd64.gpkg.tar 72591360 BLAKE2B 6fd503939c44f96e3bdf3ecf37851c1611df52f8f54e2c3e6699d158ee7a1f2f2a5b261564d3d4bdfa117fd2c35b4ad10ef05f65a88a5e9cabe579017bb2df60 SHA512 d114de37bebfdd0b28b6e489c80bbfc8b3772e862e0ee96421a888bb59878344672450e5f9598d425d3e3b4de0ef52a89a591b52ade7e2ad4e74169c284db3bf +DIST gentoo-kernel-6.1.99-1.arm64.gpkg.tar 65546240 BLAKE2B 0af7321ddaea5a9b7d4d869adb3740b036e67d25e36bace334637951d10c41acd9f0232037591dc5c1e0585261349b5a1503bb2e9a1b5f7ba7548195b43035cb SHA512 47d63299f0ffb62dff610854c9099826e62a24a1d61a4f0e9db38aab1622121c647d514f295cc01cfc98152ed8159b0001a8077b484dd3d668500b052d58a918 +DIST gentoo-kernel-6.1.99-1.ppc64le.gpkg.tar 59781120 BLAKE2B 7b986f04225db692031da3ae115c911510631cc6601d76a336954197ba3e0bfaeb2c3ef338eca34a64d95aa6b901ff96a8c06cd4b9af348813b7859b325b7a72 SHA512 5b2e2da18d64599b2418efc7e0d56aba57af4462ddd1ce0b691e07f5c08f249f02d9e5989f261b3b4836ca43a9eab20ad710caf4ed7639860cbaac1c4de268f4 +DIST gentoo-kernel-6.1.99-1.x86.gpkg.tar 62126080 BLAKE2B 6280c49eba83e32abfb9630139f5291b88169410b1e892e50d82b34a3ec60ff8a33a0160658ff196133bfd19cbaa959f818186dbe0458f3407bc00ac5924c824 SHA512 674084d5e25c0e93f1ca0b7d61e224da5c2036951cb31d520abbfdf451a67cea4b09923211579937420412abbaeed6226b0029676fad4ab5b55504eca218aed0 DIST gentoo-kernel-6.6.35-1.amd64.gpkg.tar 147220480 BLAKE2B 45178fff1c0cdf75499f735666eb89ef0a6248ab6182b3e4e9d85688aa2eca5322310363038f64d1d932a6fac244fb16d64b05b146471fa663f6f0350c647832 SHA512 91f81fd1ffc6ed01bbfc94fe52395c8c5f3bc10c7f7445df2c1d6c982c81b0154ea7638c5322089c2119363c8a810498b111d6e9562e6de7ce0672a41509e95e DIST gentoo-kernel-6.6.35-1.arm64.gpkg.tar 119214080 BLAKE2B 3342aba4c25236a26179d92a24938ff96c771c6b2da0e3590c37a06a5516d8005a7ac97fa076dcab8191abd2d8b07813b59b4f48fc71e885de2714b681e8930a SHA512 183c5557d19e6690bb02eb5f55bb1bd8bf16bbda9e69533b84d00c61d75e4b62d66842c753f4a9a8294c8e6127d428f3958f7d14661620e9c6866862546a73d3 DIST gentoo-kernel-6.6.35-1.ppc64le.gpkg.tar 64256000 BLAKE2B 89441b1e5b8b5de47e2e1b176e3cc51d1a4b19b8d7200c5168d40a3268b7e5a8b5af2a858ae567306ae2e4ada44046a55a72a1dfe7a3c6133592c897f2a28d77 SHA512 38a106716a3169e9a316d458ae541069594b21c494476876aa99661c3061f34e62ace80e2ed6028111790b9d504788c5b1c8a7494ee8f9b66b6ba52f37864896 @@ -68,6 +76,10 @@ DIST gentoo-kernel-6.6.39-1.amd64.gpkg.tar 147240960 BLAKE2B 42e7bf39bf5fec8c718 DIST gentoo-kernel-6.6.39-1.arm64.gpkg.tar 119244800 BLAKE2B 898418ba06e3e4f8094b365a1d013949aaadd7582e9d0c7bbb96137ba42049de1fd056c851584a7591178c340c2ef02a4b1f8e5dcb3d857dda21c70f1c1c6faf SHA512 523c969b0c80e6bcfac3bfe95b0acfb0815a253b9f8b94424b3725ee671b9720b341ca89226175a7bfc4d5430d14cb19dc8d28916d9bec9970147804579f4423 DIST gentoo-kernel-6.6.39-1.ppc64le.gpkg.tar 64235520 BLAKE2B 715d8565e96849ac09f343f5487b8f8bb9e7124cbb5866f1fc8624f05883d010269d09dec6ceda4ec20065f24026cc6f0cdb45b3865bc75aedac89f8507ce8ca SHA512 ca1b417f75de051365603389326f4045835e12773011bc464e99b103ae5ec62833738bf70750ccc1d4acab8f9c20f3a978419aef9a8be6cd95bb02b306a91d06 DIST gentoo-kernel-6.6.39-1.x86.gpkg.tar 68270080 BLAKE2B ec1e4f4aceee240a8dfa5e262b0de34913a96125dbc6bb6a1239ddce3a9e540fa56d26ce831824532ed02041825851fcefd2016d121797bf721bb2daea87b720 SHA512 3c40bad5b01d529cf3d45d18a0e3b077c16c677a92caf7c1d520ba801ef84fdf1875f55bf0d9237f7cb99e70f79b2d92b6e76b3acbc325bd3653a8f2b14e5638 +DIST gentoo-kernel-6.6.40-1.amd64.gpkg.tar 147456000 BLAKE2B f3d0ae2736520819fbbe77f54609945fd221cafc26dc1e5f092db3a50e3ec13c4a9a04d9ed569994fda0109ec3a7b999f0d2c900e8f517adfec8460879d338b1 SHA512 68ea7572dffbc008d3548ea5e9c1b0b98a34835575fe66ef89e8e0285235300fa97867ea88d251cf0e7b7242caa81f8119b8b5a3c18fe3cf0fe8126ef08b1532 +DIST gentoo-kernel-6.6.40-1.arm64.gpkg.tar 119439360 BLAKE2B 44c090c62335cf33b40ca85fbdd8843949bf439813fba6a27347f55191ed267148d7939ab3c4e5e9d8e9235a0a16984956dcc7a1fb4dcb94b3324f77f4868b56 SHA512 3ff7488a33ede797524b2dedc1cb07dbd9de43d41d8d383256555a7705a23a91254d70499f92f3caa423e4afba4fea13c1656f78c8585004ffae672c57643627 +DIST gentoo-kernel-6.6.40-1.ppc64le.gpkg.tar 64245760 BLAKE2B 55604506b9edf6307e9334f6f17244a29779eafd553a09af4afc4ba34c6ab9c75bed35f56e2f8e33af6cbd638087bc3787117c0c9aeb9d6fb483498ad6e64e16 SHA512 43ad773b3f0de197e5925685d05e4680ac84019e2dae1d3090da5f73f00799371c78d3ea6c8b48cf659eb1eaf3ab9a187ecf46e0a1938760e95425cc7e3a6607 +DIST gentoo-kernel-6.6.40-1.x86.gpkg.tar 68249600 BLAKE2B ef235d7f3f12b93e25951483f764b02e015bc1a8d50976cc256f7575a168d0a641ff00b7daf8e9dd7f50d3d5b9ea85469dbdff9646bab9747afdd44f675321e5 SHA512 2607b6610f9299774b4cdb08518ccb7808637964d49da2801ea01aebd7d6f7356415b0d93a4a51a3535a0d9bda5782363833ff998083fc7c59fedaa867623285 DIST gentoo-kernel-6.9.8-1.amd64.gpkg.tar 159160320 BLAKE2B f54c76780fdec033d8ce5b419dfb8cb1d9fd36af80791532ec7d6bf5ac4472f1fff6f52151aca93cebf3f99ba569b990a850403a99b56d427b6a48a32350b735 SHA512 ddf33e3b2d19a1beadbf6e578a70f363e2fac965dc19c2fcaf4a73b768f27611c86f1c3ec2a472fe37376fcdfece48a53846ff3ca554c97d4eb9686055c1a758 DIST gentoo-kernel-6.9.8-1.arm64.gpkg.tar 129792000 BLAKE2B 7df88f8fda6a34699ae60ad3c12e20fdd957a8a07bb0880a634a94b91b5d803d35ac493862ff35a85426b62e1d8c7affd4728aa87d5e3d911ab73b39c1dd54c7 SHA512 b27e2854f7b5a5b4a179578c6228c3a11c50c7deb37cc0ae8bf0c1f8bf60c64a8990fd09111769c642072079df6b1b083ce305519212bc3816bcccb6ee89ecad DIST gentoo-kernel-6.9.8-1.ppc64le.gpkg.tar 70758400 BLAKE2B 782a74d7edd731773abdd128adcf720215c5bb7ee7dffeeecc9bfe0f04b0500584f69469277f5f86f9d4ea447975fff26403b680bc52b1d3e21e033f54cde94a SHA512 923badad678f818ff30fd753508d1bd53990a1c3166879a01dbc1e841355fc783a6e9c79e3d5a9ab075f223828f7206decd1a36fd2370a4ecfaf354d5821abd8 @@ -88,10 +100,12 @@ EBUILD gentoo-kernel-bin-5.15.162.ebuild 3225 BLAKE2B 1ea3a430edb723b85fee498bf5 EBUILD gentoo-kernel-bin-6.1.95.ebuild 3220 BLAKE2B 2c1c821f1451a0de52222c67eb935b98827857037a41957133ea71ef0e11cab302c67cfd930886ad3e763335243149488dce72bd4bd12dd522fb064b93f909d0 SHA512 8d48b419b5c0e3b9c2092e0cecf3c54f3c84248bf63ec51aad081a17c13c8b07a9d96d6fffbe345460dfad286704e4747e6689d2aaee901f07d3b553fcacfcbd EBUILD gentoo-kernel-bin-6.1.97.ebuild 3225 BLAKE2B 1ea3a430edb723b85fee498bf59318c54a2fdc7bc3aa18e812cf3f4f9f43b82ec5b803a7faf48c51e05deca4ffa7afa802e32581fbc9802d3c788c3df7b276e6 SHA512 cdfdcab4dc5a408708e21c13bb8b112dad2ebee95f4c98259af59e7ba0d29beeb5f606e4f398c157c565de3ea873553f6f3d9ed8585d9eaf7dfd707119910450 EBUILD gentoo-kernel-bin-6.1.98.ebuild 3225 BLAKE2B 1ea3a430edb723b85fee498bf59318c54a2fdc7bc3aa18e812cf3f4f9f43b82ec5b803a7faf48c51e05deca4ffa7afa802e32581fbc9802d3c788c3df7b276e6 SHA512 cdfdcab4dc5a408708e21c13bb8b112dad2ebee95f4c98259af59e7ba0d29beeb5f606e4f398c157c565de3ea873553f6f3d9ed8585d9eaf7dfd707119910450 +EBUILD gentoo-kernel-bin-6.1.99.ebuild 3225 BLAKE2B 1ea3a430edb723b85fee498bf59318c54a2fdc7bc3aa18e812cf3f4f9f43b82ec5b803a7faf48c51e05deca4ffa7afa802e32581fbc9802d3c788c3df7b276e6 SHA512 cdfdcab4dc5a408708e21c13bb8b112dad2ebee95f4c98259af59e7ba0d29beeb5f606e4f398c157c565de3ea873553f6f3d9ed8585d9eaf7dfd707119910450 EBUILD gentoo-kernel-bin-6.6.35.ebuild 4200 BLAKE2B ad8e8989888d504d96fcab1440ee0c238e40360cbd13f436eb890cf8fd4c084a0eb0ef7152a1d1d5330f1e5a048ff3ba0f68d48c4baa9ac36c598168b0e4203c SHA512 5e45c2679fae8bf2b0012c54e6905732c25782918227210ea8f60196f0cbe3b8464fc39d5dcb6c821f07e269a8d361921f66604a36390c97ad99bde038eed1c6 EBUILD gentoo-kernel-bin-6.6.37.ebuild 4204 BLAKE2B 67e5b8cbb2b6425e39ee4ef8947cc4132bcb140274b1054584b760807577da4c664b836b563e55f4e9ee462753492689a49a6238745f55278129ab1161edfa27 SHA512 8426ebb47af96c9f6d1cc6c5064280646417f2b149f4e1843cd7934e1b22de03e572ea14cb69edeff16182079a1b2940fbae9f279a1d3c9eca04b19250aca04c EBUILD gentoo-kernel-bin-6.6.38.ebuild 4204 BLAKE2B 67e5b8cbb2b6425e39ee4ef8947cc4132bcb140274b1054584b760807577da4c664b836b563e55f4e9ee462753492689a49a6238745f55278129ab1161edfa27 SHA512 8426ebb47af96c9f6d1cc6c5064280646417f2b149f4e1843cd7934e1b22de03e572ea14cb69edeff16182079a1b2940fbae9f279a1d3c9eca04b19250aca04c EBUILD gentoo-kernel-bin-6.6.39.ebuild 4204 BLAKE2B 67e5b8cbb2b6425e39ee4ef8947cc4132bcb140274b1054584b760807577da4c664b836b563e55f4e9ee462753492689a49a6238745f55278129ab1161edfa27 SHA512 8426ebb47af96c9f6d1cc6c5064280646417f2b149f4e1843cd7934e1b22de03e572ea14cb69edeff16182079a1b2940fbae9f279a1d3c9eca04b19250aca04c +EBUILD gentoo-kernel-bin-6.6.40.ebuild 4204 BLAKE2B 67e5b8cbb2b6425e39ee4ef8947cc4132bcb140274b1054584b760807577da4c664b836b563e55f4e9ee462753492689a49a6238745f55278129ab1161edfa27 SHA512 8426ebb47af96c9f6d1cc6c5064280646417f2b149f4e1843cd7934e1b22de03e572ea14cb69edeff16182079a1b2940fbae9f279a1d3c9eca04b19250aca04c EBUILD gentoo-kernel-bin-6.9.8.ebuild 4210 BLAKE2B 7757463e682f43bab66d6e400abd4f7e2b90cc8397b2a8c12adbc636e3c4722bbdfcd8683e5d1ffb4f1992acfedc264370fe8949b28c864730aba5708914b278 SHA512 2cf6039ed7e5deb27706bad51b30e2ecc698bd81d6efd81898d5ee7021a0545eafcb3e92f02dbef2742a0ddc2501fe5d7ee43caebc363d62d401f58cabab5b38 EBUILD gentoo-kernel-bin-6.9.9.ebuild 4210 BLAKE2B 7757463e682f43bab66d6e400abd4f7e2b90cc8397b2a8c12adbc636e3c4722bbdfcd8683e5d1ffb4f1992acfedc264370fe8949b28c864730aba5708914b278 SHA512 2cf6039ed7e5deb27706bad51b30e2ecc698bd81d6efd81898d5ee7021a0545eafcb3e92f02dbef2742a0ddc2501fe5d7ee43caebc363d62d401f58cabab5b38 MISC metadata.xml 482 BLAKE2B 3e7e4723542cbb8ac93dae78248fb8c26b96b7bfb2a3cd7913e4e7aef9beff07d9e8301219ae95bbbe4282d0806614b2733bea5d818797d19b0070c9119c0e1d SHA512 e3de887610d2c063fde21d52ce78c5d15301bffff49a82508c50dc1b03e606bf3e87506b376f10c6c10334949f577bc0f5307c3f45f2544fac799c57cf75d4d4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.99.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.99.ebuild new file mode 100644 index 000000000000..81911930d7d6 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.99.ebuild @@ -0,0 +1,132 @@ +# Copyright 2020-2024 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##*.} + 10 )) +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=" + app-alternatives/bc + app-alternatives/lex + 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() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + 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.6.40.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.40.ebuild new file mode 100644 index 000000000000..e0e46cd48882 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.40.ebuild @@ -0,0 +1,164 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_EFI_ZBOOT=1 +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_SECUREBOOT=1 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 )) +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} + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + app-alternatives/bc + app-alternatives/lex + 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 + ) + + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # We need to extract the plain image for the test phase + # and USE=-generic-uki. + kernel-install_extract_from_uki linux "${uki}" "${image}" + fi + + mkdir modprep || die + cp "${kernel_dir}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + kernel-install_test "${KPV}" \ + "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # Keep the kernel image type we don't want out of install tree + # Replace back with placeholder + if use generic-uki; then + > "${image}" || die + else + > "${uki}" || die + fi + fi + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + 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 + + # Update timestamps on all modules to ensure cleanup works correctly + # when switching USE=modules-compress. + find "${ED}/lib" -name '*.ko' -exec touch {} + || die + + # Modules were already stripped before signing + dostrip -x /lib/modules + kernel-install_compress_modules +} diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 1eb6d72ae3a8..f89bfcf52100 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -12,6 +12,8 @@ DIST genpatches-6.1-107.base.tar.xz 5516960 BLAKE2B a4c1128db49bc5dec2aad2999279 DIST genpatches-6.1-107.extras.tar.xz 4052 BLAKE2B e37572e0575345470b87d07d8e3a0a7e8f7284d9ebb987152232f5a09c54508da833d60982cddce2fe5997e2791866b61a07555f631ea75c130d094bb5ed4925 SHA512 b0f2f6758677b163da436205f7493932aa925854446dfe1f687f829b0ef2d53b371992bf2001b217a0b4ec6c236a99833c98f168b877df45aae6819e39d0598e DIST genpatches-6.1-108.base.tar.xz 5541376 BLAKE2B 59ef9110b100cf6064c6c6e556bec827138f44dd636d55a976a1ec4af4699f95258962ce272867a1bf172b6a2e1d4f7b25025d5b6c48c9c6c7a6d8f13834b297 SHA512 f250359fd14e11ee176fedaf8bff84a553a7cc559e56c29fa2b6e04217d4e1a63b072e1c73a021a527e37101704b99136e06e008553220d7a35eee3848aadb90 DIST genpatches-6.1-108.extras.tar.xz 4052 BLAKE2B b6ad898a5a66a1a6ef293bc4a4a886ea29f0a1f985b3b85beec7c4e935e90ac9f642e7811261e413cc39b5a0ae36fd257d0afeb4a9c52aa29956070b4b52c50e SHA512 6fbabfbcd35db0dd77da03c138a6a225f7255cc3566007368ee759ce154f23f11edb8434be82992f153deab19c6b5549d00a7cfd54c4d0e49eaf2e4d39b86597 +DIST genpatches-6.1-109.base.tar.xz 5540948 BLAKE2B b6fdb5f6641ca8617c976f69bb731147ae1d1d24f1da6686ac8cc2a1a9775c2a3c890c24609042617b9397a9abdf9abd6806fa5933e215de1dad6d0f67277a5e SHA512 e2f0837a9b5588df44a1936dc5dce2c1aeddf1d56795600513aa22a08195da4c358935e7d347ec09d4d25aa5db6c5a036e7a718bfc442796c4994736c6dc4daa +DIST genpatches-6.1-109.extras.tar.xz 4052 BLAKE2B 562d5137c87031ff9f43b4d081b26b35cf4bd3c5fe074ee826edc8ece2ed074eeecf55c8914ca728267a9f78d907a51354c3688186d442d9fc02340224a0c71e SHA512 0370a5cfd83a1c87828396e49f003b29fc68dea1568f6de417fe488aaf045e349f0b84695f3643ad9811b4f57ef31237ffb9a97c72294139aba94557e1f67a18 DIST genpatches-6.6-42.base.tar.xz 2474752 BLAKE2B 074b24c3848ba0b2521d364d67222ab324cfacc3036b2c3b9ceebebf03afcf21d963921841f6f987422e904be35653f9dafc2a795ed6eaa050d6a37595bdd111 SHA512 6ce7c93c92a5f2951c9a60b7a058560dec8c3f9c16f00ac4b58c23f88ceaf9cbc519653320bc95f45039219eecb068247f3c27ac448c8695ed8c9e93022fdc37 DIST genpatches-6.6-42.extras.tar.xz 4048 BLAKE2B 0d86f11ef43c33b1014423a4417be73e4ace2eb5d9c38c7a63e8bc424eff7399137239138de1b89a70247f1b174766c9672cb05743aeaa14ea66d8bab67593bc SHA512 5d264209a734c4cbc48dab228b7d8570b735748b1c01f80beb2803dca3027ed78303ff937aecb1d8e3e6f2e2d4722aa0c1b5c77a4d45f2a9c53cfe1c0ac0affd DIST genpatches-6.6-44.base.tar.xz 2571884 BLAKE2B 117eb333385bbff1ec4056dc9fd7374260a33f243fe20462b914eee658a57b90e9115e9edbf5c8935890ddcfb233eaf88b3e0062245cb838953749c8bc674376 SHA512 e8bad736c8566bbdc081600305a4014301e4f6f74b73ee68efd818fb92e2d49bdbf0b7a2b66c5cd5aa8e56e7d183aa03c2a02e7328ba7e0c71fa1646e6868cc3 @@ -20,6 +22,8 @@ DIST genpatches-6.6-45.base.tar.xz 2573196 BLAKE2B a6ff1fdc5c661f28d45e8297a325d DIST genpatches-6.6-45.extras.tar.xz 4048 BLAKE2B dd86fb162ed81abf47e1fe88e238d67d557294b9502dedf9d3d405e52e014ba9852ea48ef7ab62a255996cc0a3506599b07c76a20b217764c31e2efa0a636872 SHA512 8cd9e82c2c33eb625c86181e47cdf9be5a3246db140174792cb38c68e44a39103bd42964560d8af659a9f44117fd40b804927a544c32780fcbb7a023cba9bfb3 DIST genpatches-6.6-46.base.tar.xz 2606596 BLAKE2B f8b284a798b7f734ae39e8ac349598f8a7ac0902dd66264c1de754fc43c275e8e785097f9ad479e63cab0705bc9c8f917b91fdb4acf196fc9e032675d2dd72d7 SHA512 d7b62bb4c570b5fcccbdb27ab0da65c2309038d3ac31ccbf48df0ac32ef057b52046ad502ba02ec6c0cb4f3ac2e6ac0d4f97ced6adb85c96a89f31881a34b848 DIST genpatches-6.6-46.extras.tar.xz 4048 BLAKE2B 235f71efef27116556f2d7b6e7bd8c9ffcbfbc798fe87a59d69f672094830b13fa0e6ceb900eacc5ca250e92cfb410998af70939df9317c76f6291e2446020c9 SHA512 10f0f98d2c5a63371f8225e677f3e12a2e4f54b892dd6f64f3ed0c7cb8956671dc4bced0128d66bc0f2e61e1cb3c590a9d43270237d8457c2825cff1b8e236e1 +DIST genpatches-6.6-47.base.tar.xz 2606912 BLAKE2B 9ab2547e43d9d17ce67824dbb5eacfd25d1c0ea314c440d925b53a89362f47d9d1ffe853b12bb3fcd3761745306914678b33261e56c4df2ebfe3ce65035ccc61 SHA512 109d430209ab4f02428ccd6357047742da383791a3ada574ddfb6a25f28dd0df1b0a376a895e0c624a7da4d34519ba895992c7cf7e3c83c03f6f7f8cb9ed787f +DIST genpatches-6.6-47.extras.tar.xz 4052 BLAKE2B 8cb744f165c0ebb88d4a8eb097c6f45c550d6eb984fa06902980c7276863fb6b5b7c1e760a9f6904f58178977f7e10a12626a20f83df4a2121379a26d1182ca7 SHA512 9f7c53624e9ca9bad3f36a114b3da3aa5d3c1a7c92bfb85d862814900303a58d2a6280a9ab9a0c3f342930a1354b579e94cf5eecbb379d31c7666925c1ae9cfd DIST genpatches-6.9-10.base.tar.xz 602768 BLAKE2B 614634ed1d1132be830e91a13dc509022a6a476b678f63dd4f3c428e7c37eec46f47a32f927f3895ff65a6ab5b046a3b0ca2df88a94678f898292d0970859734 SHA512 7826d46d8faaf64fb268f8dc940621f434f8729e706b4178adac2a2c353bccd854e5fea6c3489d5d0c48d469d6f6e26befa01d5a0deaba48f3e6140eb096de5e DIST genpatches-6.9-10.extras.tar.xz 4052 BLAKE2B 607bede5f0c3d38f72fba841861caf6f90e7f0068373d951a6aa21a29cb7523bcd6faeeb5602c6a7395a802d35e657aaee1172582ecddd0c4143fc21ea9c4b3c SHA512 b9e59d200cb06ea3287557e1ca1cf7116df61019f423fa8149195d36d7d2b143265341bef5430c4f761b0926ad823775cb2c83c852d22dc4acdb0d9628da12bc DIST genpatches-6.9-9.base.tar.xz 548708 BLAKE2B e0130d225056f77c92e566eef9db643ecdef6faf2f81e8329859830850bb5409e212aca0ab0da85b9b1e3377121221259044dac650986ec05feac46f4d588a5d SHA512 714016638f866b536b85edd24e3e44513048591aa270dbee1460c5893b3e8b0508f299d86a202deacd10f105c0da48038d78219226b2808e17012d1811df391e @@ -57,10 +61,12 @@ EBUILD gentoo-kernel-5.15.162.ebuild 3744 BLAKE2B 9f109fb30ae8c400985d4916375450 EBUILD gentoo-kernel-6.1.95.ebuild 3975 BLAKE2B 62b3bcdbc16a17ac7eb6c20b96c954414071811d3a2be5a86b0827f465373fdbe73c94ea3f646dfc6880767ec14761054e8999ccc34a1443ab2ed7ac6a957ae8 SHA512 87c0febcf786d95ab9f2e6f6f567c99698e678e76260c1906a0d1ed5b71cd3cfb14adaacc598a367592923451f8a0fded0439add4bd52c7137a5c51365b6417c EBUILD gentoo-kernel-6.1.97.ebuild 3980 BLAKE2B d116db9411bffdf1470141b708fc25939b1e093a41bbb52d9c86111c97f8cb4e1eac9dadf201a84cb3dcf9856db3670296309e6cd5ec6980de108181267fd47f SHA512 0497d51ec05f2f47246953b94b08a10de18ce5f84c132193d8dc325cbe90737075f0b171c8f9d438e4304ded2f17b56e1b06c4cbb2406a779032a3627ff11215 EBUILD gentoo-kernel-6.1.98.ebuild 3980 BLAKE2B d116db9411bffdf1470141b708fc25939b1e093a41bbb52d9c86111c97f8cb4e1eac9dadf201a84cb3dcf9856db3670296309e6cd5ec6980de108181267fd47f SHA512 0497d51ec05f2f47246953b94b08a10de18ce5f84c132193d8dc325cbe90737075f0b171c8f9d438e4304ded2f17b56e1b06c4cbb2406a779032a3627ff11215 +EBUILD gentoo-kernel-6.1.99.ebuild 3980 BLAKE2B d116db9411bffdf1470141b708fc25939b1e093a41bbb52d9c86111c97f8cb4e1eac9dadf201a84cb3dcf9856db3670296309e6cd5ec6980de108181267fd47f SHA512 0497d51ec05f2f47246953b94b08a10de18ce5f84c132193d8dc325cbe90737075f0b171c8f9d438e4304ded2f17b56e1b06c4cbb2406a779032a3627ff11215 EBUILD gentoo-kernel-6.6.35.ebuild 4123 BLAKE2B 1b07caa2c6ae459256d88d61ab40759cecc46991f858a40eca936547c658316b21595416775fbe421bb04d98c78974510626d7bca309e63e9d76e2e93998a69c SHA512 8b35589963315760b14a1465da5d47f13fbb588dcc801aff14ae4d262ea485eadb9d8312cf5b320120b49c650bbbf7f367e3ae70b9252f9bb10a373c7a7b3208 EBUILD gentoo-kernel-6.6.37.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701 EBUILD gentoo-kernel-6.6.38.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701 EBUILD gentoo-kernel-6.6.39.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701 +EBUILD gentoo-kernel-6.6.40.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701 EBUILD gentoo-kernel-6.9.8.ebuild 4126 BLAKE2B 92c049f21834818211cd830f8fd3b04c4c03005e664469b9e7b64b1a19996267cd3113a9e6db3bca4a17b0954d632f0b57c4f4aa8fd4932a9dfd6415e2a909ce SHA512 f9a30cf4af806fb8e267a60e0432f7992108be087066d3a5e72fdbd9805d957e915d46dec5b1341cfd0ee8693e7e6f97e45daaf8cf91ac294785ea9f91558647 EBUILD gentoo-kernel-6.9.9.ebuild 4126 BLAKE2B 92c049f21834818211cd830f8fd3b04c4c03005e664469b9e7b64b1a19996267cd3113a9e6db3bca4a17b0954d632f0b57c4f4aa8fd4932a9dfd6415e2a909ce SHA512 f9a30cf4af806fb8e267a60e0432f7992108be087066d3a5e72fdbd9805d957e915d46dec5b1341cfd0ee8693e7e6f97e45daaf8cf91ac294785ea9f91558647 MISC metadata.xml 681 BLAKE2B c773ebc6132d1c1a2466655e2441e7bfd7be7979e5912d3a27dd1c81b59614fd7a9a9a6f865075071126337eee6435e4c2b57356cec46f47966c4bdbb131ff3f SHA512 caabebdfd4cb3db2a69406cd1dfd9638c828bc1602d3f972350a7e84db1a2caeb563c6750c0998756c66f949953a1508a395b4b4139e88fbe9a20a70ab3a5ad5 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.99.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.99.ebuild new file mode 100644 index 000000000000..40d129f75827 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.99.ebuild @@ -0,0 +1,146 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 10 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.7-gentoo +GENTOO_CONFIG_VER=g13 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + 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 + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + riscv) + return + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.40.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.40.ebuild new file mode 100644 index 000000000000..4f603a059b70 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.40.ebuild @@ -0,0 +1,153 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_MODULES_SIGN=1 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.6.12-gentoo +GENTOO_CONFIG_VER=g13 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + 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 + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + loong) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + riscv) + return + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest index f6bd0f4987e2..6108009b3686 100644 --- a/sys-kernel/gentoo-sources/Manifest +++ b/sys-kernel/gentoo-sources/Manifest @@ -30,9 +30,15 @@ DIST genpatches-6.1-107.extras.tar.xz 4052 BLAKE2B e37572e0575345470b87d07d8e3a0 DIST genpatches-6.1-108.base.tar.xz 5541376 BLAKE2B 59ef9110b100cf6064c6c6e556bec827138f44dd636d55a976a1ec4af4699f95258962ce272867a1bf172b6a2e1d4f7b25025d5b6c48c9c6c7a6d8f13834b297 SHA512 f250359fd14e11ee176fedaf8bff84a553a7cc559e56c29fa2b6e04217d4e1a63b072e1c73a021a527e37101704b99136e06e008553220d7a35eee3848aadb90 DIST genpatches-6.1-108.experimental.tar.xz 17440 BLAKE2B a484bab2cedf16ea83651c761d648712a6c60eb93e2cc997bf31b1d35b95c14c682775d31da84c858d99cdbe3b397b8781d916459ad3a06e80e971a958678fe2 SHA512 b06dcc92ef31ecc31cef9e088e64fd088d42e226b50861833d07114d95a2b1bff2dc4381ee365ee11159734cca55f30835457f19abd4fe95ad5a90af2cf8075b DIST genpatches-6.1-108.extras.tar.xz 4052 BLAKE2B b6ad898a5a66a1a6ef293bc4a4a886ea29f0a1f985b3b85beec7c4e935e90ac9f642e7811261e413cc39b5a0ae36fd257d0afeb4a9c52aa29956070b4b52c50e SHA512 6fbabfbcd35db0dd77da03c138a6a225f7255cc3566007368ee759ce154f23f11edb8434be82992f153deab19c6b5549d00a7cfd54c4d0e49eaf2e4d39b86597 +DIST genpatches-6.1-109.base.tar.xz 5540948 BLAKE2B b6fdb5f6641ca8617c976f69bb731147ae1d1d24f1da6686ac8cc2a1a9775c2a3c890c24609042617b9397a9abdf9abd6806fa5933e215de1dad6d0f67277a5e SHA512 e2f0837a9b5588df44a1936dc5dce2c1aeddf1d56795600513aa22a08195da4c358935e7d347ec09d4d25aa5db6c5a036e7a718bfc442796c4994736c6dc4daa +DIST genpatches-6.1-109.experimental.tar.xz 17444 BLAKE2B c2c6122a6f009ab002c0f4b887f60bbb89c543e813e456fedf013cc984a8429df591b89c9168348c6436aa2516694630329f06ec8a6257f1d529a3ba17641193 SHA512 8181c0b8ad84ff5b40c848bf4eb934218795003caab65ee4be6de4af413433d7ba6b30af86868e7066da07e69670b58b363cf9613fea83d27d748774385824e2 +DIST genpatches-6.1-109.extras.tar.xz 4052 BLAKE2B 562d5137c87031ff9f43b4d081b26b35cf4bd3c5fe074ee826edc8ece2ed074eeecf55c8914ca728267a9f78d907a51354c3688186d442d9fc02340224a0c71e SHA512 0370a5cfd83a1c87828396e49f003b29fc68dea1568f6de417fe488aaf045e349f0b84695f3643ad9811b4f57ef31237ffb9a97c72294139aba94557e1f67a18 DIST genpatches-6.1-99.base.tar.xz 5167668 BLAKE2B 0dfd80fa50e373b99b3ec8c2adcc80eabaa0df9606831465c2afbca34cc195f41902a5ad4472b822eb2e011356c51b257a39294ae1d123c7384f915bd0a6249a SHA512 39116b71b7da155596a158ebb1aeafb029bf5c0d1ec983efbbdb323af61fc505c3a67beac4e6f888b3b673cdc271ef1dbc3090580aa89f573a652ebe0d501ccf DIST genpatches-6.1-99.experimental.tar.xz 17444 BLAKE2B efc5c844d978f3478776e27faffc45a72745dcb14757963a57beacd3dec248f96600d3680592d7c1913cb7b6d05e5316490286d3a4467bf9f18260b69e2594b5 SHA512 b56195fc9a6b0ff5f20f46247ad7e61c45c278cbdc6c3cafb32984d6fb5eac5b35d21412ad2966c562e90b6f9a4057beb5cd19a47b05eb856f7c477dbcbbbf12 DIST genpatches-6.1-99.extras.tar.xz 3848 BLAKE2B aaa18ac05550c0694e3a8051e41acbf7b135d593dbbe2ebf8f757996502d1721e96cf11edb5ae87337667f340640ee1ca55de0a8266b4a2fc929dc80065df746 SHA512 0528cbbeb530d0765af843db8479ab6ce011df60be5c3bdc913c81f1299868f772e9d751b973edd75d7020cef7ac0f5645528e50b87f4ae59fac2392cf86137d +DIST genpatches-6.10-1.base.tar.xz 4220 BLAKE2B 88c5d8cd4e7c77bdec5cb241589a7df08e4a8048c3763ee0e06e48417b8cefbea4d68dfa4fd3810019363cc5909106ace52c76eae918d5f508c10050e0048625 SHA512 ccfe33ca2e440d13f5971439c2c199c1993bebb99fb41ade0187df11b351a5f4517583888e8932cc21d8d2238fd76fa92583c6aeeb4060374e69277ef57d7214 +DIST genpatches-6.10-1.experimental.tar.xz 5732 BLAKE2B e292686062e2785b31d16e9c36604821fb9b643e6fd52d52f4962eab246d1dcadedb48f7a8077bbf31a230abd528c3db875eefdf937b658a7e7932671d2685cb SHA512 c93f52af501302368d865bef004c799fd1c1e662e367cd840d8d57a23214a398c41d44f6709966c090a9d4da5dec6d7ca6fea8e0d551b033fcece7f532d75dea +DIST genpatches-6.10-1.extras.tar.xz 4048 BLAKE2B 0d5a2d079771c422be590f5622896b96aa3f1f9c8b8d8cf13035abe773e3e8eeed4ddde8d701394cf0cc9cf927e81abf9de401bf742ae1511dfc57af5d686df6 SHA512 ea664afec2047b15ce10d44dcc7052af0ab894752e7608ad28f598ee22e06533a44d50b117e6b01ed9afe8eef05c568728ca10d40ca9d6edfc50829e223bccf1 DIST genpatches-6.6-37.base.tar.xz 1986828 BLAKE2B 003cfae8adc04f3ea319ecff4344662e27df5d501bcdcb1801d6b429ac85a60834a896a9222e0b9ba7c173376fa137a2470cb04f08289abd6805a2f0b07b0b0e SHA512 e21bc0eac8103091dae7d3e5d29ceebb4e47eb3e1fe63d577b0d000444837d723568c13bfac4f5deb61132dc3adc153e8de4661a15e6880b38fb097bb143bbf1 DIST genpatches-6.6-37.experimental.tar.xz 5756 BLAKE2B d5e6fcbdc0330789018b8daf43d9c0bb797218b2fd3a1ed70b303f7214505dc95ea4666a6e473d470df65ae2bfb7d9e88486d85d160f8d27f87c858c6c0762ff SHA512 57e1045b53de80a8b237e6cfd67549b4c67ac396b3a654d4e740f4cfb00a654645b3015c9064cbf67048c70c59beb30ee552bd95cfd449c93ec2c2d1b8e1a855 DIST genpatches-6.6-37.extras.tar.xz 3736 BLAKE2B e54e5dc4b2cc854dbac9fc0d03dad93cbe4aa639142090271abcc0e797ab28e3377986f46767df8d6802edaed058e1b3999067c96d05ec8bbb42f48e33f96cb6 SHA512 be6299eedccde2d9e4cd37d4df14ef6c6a404892f18c40c4acfac31dfd20f1f0c28be767fccd8a7ee0817b32490057c76fc01d895f979686ade5a0357a59515b @@ -51,6 +57,9 @@ DIST genpatches-6.6-45.extras.tar.xz 4048 BLAKE2B dd86fb162ed81abf47e1fe88e238d6 DIST genpatches-6.6-46.base.tar.xz 2606596 BLAKE2B f8b284a798b7f734ae39e8ac349598f8a7ac0902dd66264c1de754fc43c275e8e785097f9ad479e63cab0705bc9c8f917b91fdb4acf196fc9e032675d2dd72d7 SHA512 d7b62bb4c570b5fcccbdb27ab0da65c2309038d3ac31ccbf48df0ac32ef057b52046ad502ba02ec6c0cb4f3ac2e6ac0d4f97ced6adb85c96a89f31881a34b848 DIST genpatches-6.6-46.experimental.tar.xz 5752 BLAKE2B 92189f3b2b6750ac9135c149575be7090ec2559d0ffd6b57f73cefe9316d50dc93b82fa2c62e0f67bbfb8f229cec8bf8a1a6f4f3e1280a7ba8d69b4251dcc65e SHA512 f280306e4307eaae03e35bd3933c923e3b9ddffe86aa92a8772c8509bed89ce1550f9f26413f02c4b60da7024cba74b8fb5baab5f95b8106bef67b4e584dcf4d DIST genpatches-6.6-46.extras.tar.xz 4048 BLAKE2B 235f71efef27116556f2d7b6e7bd8c9ffcbfbc798fe87a59d69f672094830b13fa0e6ceb900eacc5ca250e92cfb410998af70939df9317c76f6291e2446020c9 SHA512 10f0f98d2c5a63371f8225e677f3e12a2e4f54b892dd6f64f3ed0c7cb8956671dc4bced0128d66bc0f2e61e1cb3c590a9d43270237d8457c2825cff1b8e236e1 +DIST genpatches-6.6-47.base.tar.xz 2606912 BLAKE2B 9ab2547e43d9d17ce67824dbb5eacfd25d1c0ea314c440d925b53a89362f47d9d1ffe853b12bb3fcd3761745306914678b33261e56c4df2ebfe3ce65035ccc61 SHA512 109d430209ab4f02428ccd6357047742da383791a3ada574ddfb6a25f28dd0df1b0a376a895e0c624a7da4d34519ba895992c7cf7e3c83c03f6f7f8cb9ed787f +DIST genpatches-6.6-47.experimental.tar.xz 5752 BLAKE2B 2fa4ec93f8502c6c10edc865c7448457b783cb09c6354e2b7c73e061830e05a59183553083e9165255f058b2e6806fba1104839e8968a4dabbe664aa16acb53e SHA512 13089e9bda61438d693f4ddae556744c622e8a61285c23c4ffac25f7d681e44fa47931512397a534bce6094d3082ea470f8665539ee12c776d616de76edc3533 +DIST genpatches-6.6-47.extras.tar.xz 4052 BLAKE2B 8cb744f165c0ebb88d4a8eb097c6f45c550d6eb984fa06902980c7276863fb6b5b7c1e760a9f6904f58178977f7e10a12626a20f83df4a2121379a26d1182ca7 SHA512 9f7c53624e9ca9bad3f36a114b3da3aa5d3c1a7c92bfb85d862814900303a58d2a6280a9ab9a0c3f342930a1354b579e94cf5eecbb379d31c7666925c1ae9cfd DIST genpatches-6.9-10.base.tar.xz 602768 BLAKE2B 614634ed1d1132be830e91a13dc509022a6a476b678f63dd4f3c428e7c37eec46f47a32f927f3895ff65a6ab5b046a3b0ca2df88a94678f898292d0970859734 SHA512 7826d46d8faaf64fb268f8dc940621f434f8729e706b4178adac2a2c353bccd854e5fea6c3489d5d0c48d469d6f6e26befa01d5a0deaba48f3e6140eb096de5e DIST genpatches-6.9-10.experimental.tar.xz 79916 BLAKE2B 40eea12d03fc985ddf4a1d8112a72e7afe246f6c043747ead7e326a35d866f329ab0325c3f49dcb404ddfa311c285daa2af80dafae26dec9ed5195a8f13a98ce SHA512 e960c163cd364d149acc4abfd7f8663ce67e23eab8e68d8a4ba4e77e0ed8bc0bbb8c939db570a196a33ccbfba5c50abc30c12c83f25ed0b2121c10196a389bcf DIST genpatches-6.9-10.extras.tar.xz 4052 BLAKE2B 607bede5f0c3d38f72fba841861caf6f90e7f0068373d951a6aa21a29cb7523bcd6faeeb5602c6a7395a802d35e657aaee1172582ecddd0c4143fc21ea9c4b3c SHA512 b9e59d200cb06ea3287557e1ca1cf7116df61019f423fa8149195d36d7d2b143265341bef5430c4f761b0926ad823775cb2c83c852d22dc4acdb0d9628da12bc @@ -66,6 +75,7 @@ DIST genpatches-6.9-9.extras.tar.xz 4048 BLAKE2B 7be69cb63abf9df9267bc61e3e36567 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 +DIST linux-6.10.tar.xz 145142812 BLAKE2B bb243ea7493b9d63aa2df2050a3f1ae2b89ee84a20015239cf157e3f4f51c7ac5efedc8a51132b2d7482f9276ac418de6624831c8a3b806130d9c2d2124c539b SHA512 baa2487954044f991d2ae254d77d14a1f0185dd62c9f0fcaff69f586c9f906823017b8db1c4588f27b076dfa3ebb606929fec859f60ea419e7974330b9289cc2 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST linux-6.9.tar.xz 144034416 BLAKE2B 4cf86c3cfe6e6534745d42dfaeca59b17ea1168c4e8b615c80e6d8aac735f11283cd85fa992b440b5d4452917e94b9f08397a64af0be5894e3df23c68892377e SHA512 fed3b4cd1fbfb4d94618587c1934273d2ecc8b6e42a3d586ff8a5f24980be930f2ef803aa2923ca3bfa5e4e619f967f3af315368f24fa76f610b10443624a579 EBUILD gentoo-sources-5.10.216.ebuild 740 BLAKE2B 0d752224c3bdc6fe461127eb0fed5a73a9e83f56ad945f318df628ad5845fdab1768850c8287438da62ec8b5e5e9b6b5c581c35911547745cf512c8ca93bf5e5 SHA512 36cd0fb816cfcec69a6cfccab53f33227bb043ec08f56ff6417cf852a4e8f35a8e94fcfa27debdfff4b4d9dbcd3af715f5092c93b6a321a2af46d8d311d8dcdf @@ -81,12 +91,15 @@ EBUILD gentoo-sources-6.1.95.ebuild 748 BLAKE2B 2b3f75a5726ca2da6d5d840239fa1719 EBUILD gentoo-sources-6.1.96.ebuild 748 BLAKE2B 563d3c800ccfa0298eb9c68408bf2ef48497a81aba22fd33381066ae7fe5feb471be3d0000c0a89d47ec48979ced3193d015c519ccc1fcdca95a44ab560608f0 SHA512 65cc79458caacecf688056702eaffc1742981f8ca0de0dca488cc75cb82357938f842509640e00cb6be3bb030b1f3d59dee07dc1ff39699989ef8e6d9912c605 EBUILD gentoo-sources-6.1.97.ebuild 746 BLAKE2B b5dc2b4965aeddc2ffc8ab8d79e01164450e042f62557e1f0baa4d7d3cfc32390d994115012592ab26b7dd75e5f735b131da503d2f54fcf0260bae0de7889050 SHA512 fc065faedad8d5708a50055e4d54755cbf3c591f77dd0a3ca81d4e231d2900cdefbcd30d8d61df1101c01f4110d429e3a931037438e1d9bcbf8805edcd79f22f EBUILD gentoo-sources-6.1.98.ebuild 748 BLAKE2B 773990f32e1238b72d7751e61ab9b3c1b3ec575fa22ddb408e451bd4176b936a4c1f7738294abbe57c0ffd77dcb3d5db6185741f7bc6fa539061bd5d73b02db3 SHA512 fa32b80d75b09d87db60f5e5bcc54e4b4e3bf6dd5f9e805c8c1e4e845b23b7e8f2830345e09132fb329d42d576adca97f0d644fcc3238079c2f18fd695cc495c +EBUILD gentoo-sources-6.1.99.ebuild 748 BLAKE2B 2e2e4af6cef62fa35b4489e8cc4664504527159880739d7b56f331e155cd57430852b7b9419f9998cbed6c16eb5faa1a092105651d9d17726c6fbad6902e4237 SHA512 d19fa3677399fd2a773313f813153fec6c03c61816883605bed31485ed7ff4ba3a5244d5a5071ed2749a62c6d5cada757c5f0261731b0739d935ac8def314104 +EBUILD gentoo-sources-6.10.0.ebuild 753 BLAKE2B ab1babf0caf9d57208ee9795521eebac08e96ea02bf60e029b0535ce353dc3339ff0cf3d0a443d5b46c1120f32e5f6808a964cba8142981503ce980bdf9ad344 SHA512 c3d8e1d8be1fe953c1604e6131db3dbf00bca3d42d31e479b871bc23b0712e5ad0c4621fa7e40ed41009db8a327cbf784e4a40d86559752c567daaa2bce68aa3 EBUILD gentoo-sources-6.6.30.ebuild 746 BLAKE2B ee5c6ad23b518fbf164496302282c6515daf634dcbd36f9701f37672c01f2dc49563dcc48936d9e47edcca8d5ca3678cc7230081264f75f7bbb938df3d2ba70c SHA512 78ad122a19b04d7f95d63c69e33226aabf1295cec64abcca3b732c727fbfd2db75b7eee2e170fa1743871a1b74d05f7830e9f5f8a63ffcd078b6ccb3cbc8a898 EBUILD gentoo-sources-6.6.35.ebuild 754 BLAKE2B 79f343c5c0e6867b24d9c4452a0abcc522ee248ac261841f886a70d2e17758cc933d262a703039b6c0a3c5cb66d975b3b153df1f74a5a4dc72f5115c6e4b4374 SHA512 c65c90f05dde3fd794e541c63f21b8ffed3cbbe31ee08807047e762a34c95b7c74a7fcc0bf6c146f41fe39ae6649646c42d495b9f44eea004421b7a2a71a2ed2 EBUILD gentoo-sources-6.6.36.ebuild 754 BLAKE2B bb49416319c3f24b2c0c40a1ddf068cd922ce1809c0555ba8a14624970dea32368205d48d77e316f20e600ecd4aed6e264e803a6a33fb75041fbdd165478f564 SHA512 ebb0136a0bd316df4f7e3edc8b4180288fa74fe3f704e5d2cd6a528373a06aff17dd206350db3c53ad7b290c11b56e516a2cf2496a9236a75d872aec5d955f25 EBUILD gentoo-sources-6.6.37.ebuild 752 BLAKE2B 356e901ca56511bd043072f25d164746165a9238434216383b5de928f8d423365d9172aa33c416ff5bf83c97ebad1b769ec1e859f25e4c96a985d9fff9620aa2 SHA512 f051d225d1913cd8ea6cd71271b8ea353ea69bb8f15a6b95fe87ab476b949ebcd5faef73220bbe0d32f4016ae3253eeaf8b190542314315dce555ce378dce061 EBUILD gentoo-sources-6.6.38.ebuild 752 BLAKE2B 4ddfc4c98b19aa8b1517f1b4095301a1f6b55d36cc494fbd72f4a3cfa265d0c584a478f3570febf38d303e73bddd77571f94260f6f9cc46902c41bfbf11aebb5 SHA512 f7b84f8fc5893a2915a27cdd1700a7bffdf786c7ad93edae690ed951446871131a642515fdd1e94b42ead1be431dba159e280de31a161d4b50f284f0b3f087ce EBUILD gentoo-sources-6.6.39.ebuild 754 BLAKE2B 16d90d32193a8364633e39d06a79dcc3c57858bf5643be401cdc26f38ddb9a47e10bf26faa1d90fedb1be17a86db5961c768980041eb3078c033ea3f6a2931d9 SHA512 e371007ab665f131f23a88a1c8a07e0841266623f010e4a0d41676b39ec4c7c117e2c8e7c7b4d7ad739685e34c416082de2c09d29b413b9f387f333752eb0bd7 +EBUILD gentoo-sources-6.6.40.ebuild 754 BLAKE2B f744eb42bec999f3e5dc7fc28b3f427ab2699ddbba2b8533485e3a74418a2dc28db057f57a395b49c2c64621fbf625e972b5f8466e057a8cc60806d5d959553c SHA512 d93ec92126cbca71af1d3e1045c14ee2c3aa422dc7f8f830c2fa0653f0f35627386b78c4aba82d3ec97821b8b4e3d280f071e4f273ad8dace712a82ec8246473 EBUILD gentoo-sources-6.9.6.ebuild 753 BLAKE2B 4286ada1494ba5b4cb674143c50d48a6095dded6be5cb9294ab99328491e0b1bc20bafa1a2b8e81961b228ef85e943d61f56978022f5a9c3adb9e515be777e10 SHA512 0c75b5e31e83f5cde8bb7073fb8e0a74b24c55180c2a3dfcbd502faaef4c88820cd75372ae91a26a85f0c3012528f5f0160d19f64343a247c743749831735ad5 EBUILD gentoo-sources-6.9.7.ebuild 753 BLAKE2B 068f6b8c1dc4b18d1625c25a39259fa7d81929a9c461e2ede0cb7a878778185d894883dc1c51a71b40100233c0d0eb659d56db4dbcf0648a3fc12e7ca44a7709 SHA512 8702328e2640f723950b8f647176faf197568b3a910ef0adc2780aa70fcff37a4bd91811628054673ea0e76e8865b5ebfae67c861ac1b043dcef75f514b50405 EBUILD gentoo-sources-6.9.8.ebuild 753 BLAKE2B a47b93cd4803d2ebeedba8979e3dcdfc6afab920bfcb7614192fc19294833f4147292fca9d2da1f09d0464b7f857421968234636c31f44f3cf527071c9387a3b SHA512 3f19b2f4724f9c18743f7d3333c832e20147055a5cda4b9b840c2ec756332fa61e400958639a8dfcb13519029567f64e9bda912b8d4094bd8cd25439a850fd00 diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.1.99.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.1.99.ebuild new file mode 100644 index 000000000000..b8b9018c9b63 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-6.1.99.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="109" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="experimental" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.10.0.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.10.0.ebuild new file mode 100644 index 000000000000..885f89fbb177 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-6.10.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="1" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa -ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="experimental" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.6.40.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.6.40.ebuild new file mode 100644 index 000000000000..cd382a01d864 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-6.6.40.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="47" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="experimental" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/installkernel/Manifest b/sys-kernel/installkernel/Manifest index 0d23a8d628a0..bde6c49b4897 100644 --- a/sys-kernel/installkernel/Manifest +++ b/sys-kernel/installkernel/Manifest @@ -1,3 +1,3 @@ DIST installkernel-39.tar.gz 21689 BLAKE2B 22c76e735fb9849ff2b2daf44d428568435495251960e0f518ab12167d57c31bba670738fd51c4d564f95adcfcbf60b5324d048a1f6bd7ebf9d1b5258f0371b3 SHA512 5a5d2035fa737ede3aa9e668ac18d1777f77f15a38fb685e3e488cc06ef5da99d55789e8e5770e056025f224ff5a5ec57e75fa08cf6f3ec3a0b9dabdfe6fefaa -EBUILD installkernel-39-r1.ebuild 6475 BLAKE2B e1261d4613c563f621681ca99de1a3f4ffdf95f4fc42ed105241e4ec31d4b037e1ea151c64597be82ef03db94671583a3ca9458e456a169289f570ed22bc10af SHA512 1748b2a2f824ca6fe996e99eaa177b66b152375932d00c26d90f53a1b71e1bfc70ae98ebf47076fde1ce8f87dd3c1b3d9b9f35dc4d873c737b697073b121d4ba -MISC metadata.xml 1288 BLAKE2B a80d5022072c362c1787723b7222638f01993675f5c3bbc87962d998497dcd1673664ef4802cb8b3bce7ad81825521be1747c00f6ef5f5e1c9e2d976b09c8d85 SHA512 d51a5b1c5977049a9a499c2f7edcd95ea5e2b47c4fb49fa76d3df9839b2ad7652bbfff41fae823da3b86a52f2b9cb120759a15e5e9967e7b1148ea3bc92ed793 +EBUILD installkernel-39-r2.ebuild 6609 BLAKE2B 3771de41d1b828f04606742669e2bc7b811526bb12edcf4757fb3111b469b72a538b3593045684c3cbefa7c4c9201630b7fe52cb0a0068c7018d282f587fcde8 SHA512 b53e9b3c7625cdce03490c57f38a7d62a78e253f732e57a2ec7249b2b40a0f268ba17dca33d36d385dae8aca4f07076fb449c4f60b28d3a157cd68686da336f5 +MISC metadata.xml 1379 BLAKE2B c141302cfe1dddf7d11d68cafdf97437f037caab171b1c1b071cc366b6a98acb5940c1ab73bcc49bf97fe9c852ad28c8923fbf00f0a51f2a02174a5d542f9edf SHA512 f5a20936b0b569fd2a8eadb76eeb8d7ec8c905b0e15ae285c351d82bef0c001e64d47a19774a6b958b845a20adc3df5e7cc583649dfcf9ef7c684132498e8bf8 diff --git a/sys-kernel/installkernel/installkernel-39-r1.ebuild b/sys-kernel/installkernel/installkernel-39-r2.ebuild index 719dc80ce7be..2b11a30d57c5 100644 --- a/sys-kernel/installkernel/installkernel-39-r1.ebuild +++ b/sys-kernel/installkernel/installkernel-39-r2.ebuild @@ -17,12 +17,13 @@ S="${WORKDIR}/${PN}-gentoo-${PV}" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" -IUSE="dracut efistub grub refind systemd systemd-boot uki ukify" +IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify" REQUIRED_USE=" ?? ( efistub grub systemd-boot ) refind? ( !systemd-boot !grub ) systemd-boot? ( systemd ) ukify? ( uki ) + ?? ( dracut ugrd ) " # Only select one flag that sets "layout=", except for uki since grub, # systemd-boot, and efistub booting are all compatible with UKIs and @@ -77,6 +78,7 @@ RDEPEND=" sys-apps/systemd-utils[boot(-),ukify(-)] ) ) + ugrd? ( sys-kernel/ugrd ) !=sys-apps/systemd-255.2-r1 !=sys-apps/systemd-255.2-r0 !~sys-apps/systemd-255.1 @@ -141,6 +143,8 @@ src_install() { echo "uki_generator=none" >> "${T}/install.conf" || die fi fi + elif use ugrd; then + echo "initrd_generator=ugrd" >> "${T}/install.conf" || die else echo "initrd_generator=none" >> "${T}/install.conf" || die fi diff --git a/sys-kernel/installkernel/metadata.xml b/sys-kernel/installkernel/metadata.xml index ba5cbd9d6764..70634cd58829 100644 --- a/sys-kernel/installkernel/metadata.xml +++ b/sys-kernel/installkernel/metadata.xml @@ -6,12 +6,13 @@ <name>Distribution Kernel Project</name> </maintainer> <use> - <flag name="dracut">Generate an initrd or UKI on each kernel installation</flag> + <flag name="dracut">Generate an initramfs or UKI on each kernel installation</flag> <flag name="efistub">EXPERIMENTAL: Update UEFI configuration on each kernel installation</flag> <flag name="grub">Re-generate grub.cfg on each kernel installation, used grub.cfg is overridable with GRUB_CFG env var</flag> <flag name="refind">Install a Gentoo icon for rEFInd alongside the (unified) kernel image, used icon is overridable with REFIND_ICON env var</flag> <flag name="systemd">Use systemd's kernel-install to install kernels, overridable with SYSTEMD_KERNEL_INSTALL env var</flag> <flag name="systemd-boot">Use systemd-boot's native layout by default</flag> + <flag name="ugrd">Generate an initramfs using UGRD on each kernel installation</flag> <flag name="uki">Install UKIs to ESP/EFI/Linux for EFI stub booting and/or bootloaders with support for auto-discovering UKIs</flag> <flag name="ukify">Build an UKI with systemd's ukify on each kernel installation</flag> </use> diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest new file mode 100644 index 000000000000..ac3a2bd60c68 --- /dev/null +++ b/sys-kernel/ugrd/Manifest @@ -0,0 +1,4 @@ +DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6 +EBUILD ugrd-1.13.0.ebuild 1462 BLAKE2B 52d73a0564a64c31a1fa9cb02377f6735e883ee3f7c68f1fbdf404ebedf12faad5641e815cd09b9797e52378a462a56036d7a3106d5c35f9c15f1fe074712fd8 SHA512 6568990c8bf6f20fc49f8ae8d1080cfff04593b8255b361efe18e0e5a09fe8eeb1160cdbff2b1b2276f12860f5b3e0a7dd08302cc2d6f073f2759d72a35467b0 +EBUILD ugrd-9999.ebuild 1403 BLAKE2B 0ff0d4f8270a4a91b4c097b2322f2d5d8b316c748c2acb9becdbc800f13bfa9c6a97b81c50376cb9c6c60cd289e1b133921c6cf1ced046511b7b1a286029fa58 SHA512 092138801bf93dbb7d6d58576125cf0dc371d6e293f440ae5e3bee28194e1d9a6cad64417f2c224067ff480b286ae5ab98f233d66cf784beef6d753e3a05121a +MISC metadata.xml 459 BLAKE2B 4b2afaf098699bd77c60b089a853528c9f8c054623c8c317ec99090572dc5d2e686150303fa69b739f0e654e35e6fe2f43f71df8920cfdb83b17393a67425c22 SHA512 78b8572050924ef651f833821bc1b15ce6e989311a30f0970d966fae78287263f14d67db59b4fc93dd0d8d1c07b89b9b05c42f325b61337f497589b769fdf103 diff --git a/sys-kernel/ugrd/metadata.xml b/sys-kernel/ugrd/metadata.xml new file mode 100644 index 000000000000..7beddeb5bc2b --- /dev/null +++ b/sys-kernel/ugrd/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>dev@pyl.onl</email> + <name>Zen</name> + </maintainer> + <maintainer type="person" proxied="proxy"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <upstream> + <remote-id type="github">desultory/ugrd</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/ugrd/ugrd-1.13.0.ebuild b/sys-kernel/ugrd/ugrd-1.13.0.ebuild new file mode 100644 index 000000000000..4dd028049afe --- /dev/null +++ b/sys-kernel/ugrd/ugrd-1.13.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) +inherit distutils-r1 optfeature shell-completion + +DESCRIPTION="Python based initramfs generator with TOML defintions" +HOMEPAGE="https://github.com/desultory/ugrd" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + app-misc/pax-utils + >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] + >=dev-python/pycpio-1.2.1[${PYTHON_USEDEP}] + sys-apps/pciutils +" + +python_install_all() { + # Call the distutils-r1_python_install_all function + distutils-r1_python_install_all + # Install the example config into /etc/ugrd/config.toml + # Do not overwrite an existing config + insinto /etc/ugrd + newins examples/example.toml config.toml + + # Install the kernel preinst.d hook + exeinto /usr/lib/kernel/preinst.d + doexe hooks/installkernel/52-ugrd.install + exeinto /usr/lib/kernel/install.d + doexe hooks/kernel-install/52-ugrd.install + + dobashcomp completion/ugrd # Install bash autocomplete script + dozshcomp completion/_ugrd # Install zsh autocomplete script +} + +pkg_postinst() { + optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup + optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs + optfeature "ugrd.crypto.gpg support" app-crypt/gnupg + optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm] +} diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild new file mode 100644 index 000000000000..f7e661bef53f --- /dev/null +++ b/sys-kernel/ugrd/ugrd-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) +inherit distutils-r1 git-r3 optfeature shell-completion + +DESCRIPTION="Python based initramfs generator with TOML defintions" +HOMEPAGE="https://github.com/desultory/ugrd" +EGIT_REPO_URI="https://github.com/desultory/${PN}" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + app-misc/pax-utils + >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] + >=dev-python/pycpio-9999[${PYTHON_USEDEP}] + sys-apps/pciutils +" + +python_install_all() { + # Call the distutils-r1_python_install_all function + distutils-r1_python_install_all + # Install the example config into /etc/ugrd/config.toml + # Do not overwrite an existing config + insinto /etc/ugrd + newins examples/example.toml config.toml + + # Install the kernel preinst.d hook + exeinto /usr/lib/kernel/preinst.d + doexe hooks/installkernel/52-ugrd.install + exeinto /usr/lib/kernel/install.d + doexe hooks/kernel-install/52-ugrd.install + + dobashcomp completion/ugrd # Install bash autocomplete script + dozshcomp completion/_ugrd # Install zsh autocomplete script +} + +pkg_postinst() { + optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup + optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs + optfeature "ugrd.crypto.gpg support" app-crypt/gnupg + optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm] +} diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 768ffc54c83a..2ab09e414402 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -34,6 +34,8 @@ DIST linux-6.1.97.tar.sign 989 BLAKE2B 5314822c4096f8d3dfd37a680bd8c278b60cc086d DIST linux-6.1.97.tar.xz 135133628 BLAKE2B 16cb37ecf36c188f8324ba71abfadd818b5209b6d957701babc9545f0f5455f50e90d6bb30213aef21b8a07011a11bb4293a436d92ad13adc3f0089e1ab13462 SHA512 0688fed5cfe71137fb4072e25cdcccd4d2105c54314b72b30de3716a595d0adf1e2a9867f96bcc12b49958b081d404dca35a36747dd924ac510b001da5217b43 DIST linux-6.1.98.tar.sign 989 BLAKE2B be83fd5d7c323b69450992ca460af2a7f937297ad7bfd00d96afdd4fe87101c896f0dba21b863454331d0732c2ba33ff235b0d335a3145d5a7ebffb0f5b4dd90 SHA512 7745a5ecf35d5f7ae386a290ab5532ef1509e75454ccedcc064e66e53642a6e0f55daeb26c9fff97476d1187d3d1ecd736671c068203cc4531afdd81df666f10 DIST linux-6.1.98.tar.xz 135161992 BLAKE2B 18f868d7578be707da10e86b4c74793656d53f133819c6c03355689f9480c47c6c46008f7d7ea55020cfe0e7808fc6a0240fc55ab4642573d619d174adfb57d9 SHA512 3d0670c347595993f615945cda4cedc589782d2c1c4b3be01dcb62c81428e7895c775cfcd10d0f64e9e4fa0e60638752edc07c0bfc78ae243f6e483ef2320436 +DIST linux-6.1.99.tar.sign 989 BLAKE2B 139dfd90187bb0ba643fc2cba9fc39f2a1d5a1e08675914a0aa10916823902f131c8c176cb8fa041e9c7327820ba765cae133a1d73b54f56dd45123d08c5990a SHA512 8bbe38c1db28485f4679ca9529746ea8afbb5cb7bf018920cbba208397d8b0c8d60ac8c2db69fb99b7777e2f3882ee11f33e0d2a905d7b6def88ca24797971a6 +DIST linux-6.1.99.tar.xz 135172120 BLAKE2B 155544c5956c3fe8850b0ef1cc044341e1567636fd66e8041a97565ef215dad10a96726387bc492fb7ebe6dd896afa63a40402c872c623e2135730746db9350e SHA512 664e661c81206b0abcbadaf7c2b47bf83dea2d888f4c39f22c9d522a9be229dcf8a12d1caf3a8e9aea0d249bb4b31b4b468ea6c6c84bce6384f5e0fb53193548 DIST linux-6.6.35.tar.sign 989 BLAKE2B d5a5dfeb1e92c11107b71d6b2965d2a595e51fd3244abce72f9fdd0cd4405b562602695015e3cb8944f9ac0d999566c0007569b5141cb5f42d32458c20166f0a SHA512 dc98406c4b15a0e15623694e88b881cdbf082ae48f8e737d96bbeb1cec1c8ca6c9c5448b359447c6bfe34e8f1f6807efaa114dbe23097079e5046996134aad8c DIST linux-6.6.35.tar.xz 140269708 BLAKE2B 93fff6421875329ab7d7ad2f0a0d3d1377c1eb42df295638c967eced3551b08986445b5e47b9d3bd1b24f93d3feeed43b1aba77f6912dc13449d956be3616571 SHA512 a94a75eec75f43fcab56a425927eeb299ec8eb72a056b26e9c629ec66fc5b65badf0403612549dfd4bc01b620451924ec30b980403a47cf723e98ab57775b6d2 DIST linux-6.6.37.tar.sign 989 BLAKE2B bf4db9046bb721ea6020c967e67592fcd0c6fbc3b2675275d567181e901495115e2199d83a811a9f825b70b00cc977dba25a3e26556f2325903ca8a106731eb3 SHA512 df30b7a643b58093ef0fa8ba6da0c0c8254fcca72443da03702293b20e668ada73a2fbf37eed4b64fd1d5d243f106055b0dc6728bed577df31ffbe71eb1caf9f @@ -42,6 +44,8 @@ DIST linux-6.6.38.tar.sign 989 BLAKE2B 747f1b7bb8fda1a099f35c0c0dc3c169a086236d3 DIST linux-6.6.38.tar.xz 140247952 BLAKE2B 0aaea98cc6db13bdfd9515f43a1714f6c7297b71c1de3ea6b2e00a2dd9ede125c141aed4c09989096f4d3321144bc8ad03453357e08a9346f52198f4ddd14440 SHA512 744c6830594f9989daaf2f76ae70fec4ae09a50e21724696926185636b55c22c9a83c2e7ba3632b6e26cfcc3f2f800fa8b2cacae0c8288dcf79ce202dcfc7033 DIST linux-6.6.39.tar.sign 989 BLAKE2B 95beab3aec919809a6185822ea669dff9a19b30d5a505a073058f617d5e07290bdc32865d002cef93ddc43b3b41293933a5119940642ce175a542840f23624e2 SHA512 9dc378231622ca586242a3d06b566711501e2a84271020b7b2b4d57beec05d63e1fa357828f5cca98a1d3f1c49e6119b97c6fc4bba3bb0982a1bdc7795215b6d DIST linux-6.6.39.tar.xz 140291004 BLAKE2B 995aa17bbdc4a15499be6d9527b1df79ea72a8f8074526c06cad04ec7d4d94b7091ce3e1b87b5bbc7c27e9641b4fa1e13b2a7b19afb36f1768233021d26ea270 SHA512 fbf1e27f7fc68ac42dd2cb40f853a77d4b2aeaee0190beededd39d4251b206a0d2f6784b4b5aafbe21bae36669bb00e20235b15ba4dfe84231968334dc65e71c +DIST linux-6.6.40.tar.sign 989 BLAKE2B 295980cb36ca4a2d847bd7991fb7ab683f658a5796a67d6198e4eced69624c719b45533d48e73e071f5f3468702ffb10a5b26ab76d69867d9a0b056366daf4a4 SHA512 33c5b20680b08bb7aeb0f5a94d509ab2c45582f2911bc7fed0dfe8ea7aad98a17963d113410ff5f44747221ff91066da07255b39a4b9fe2f55afa0c7413b2018 +DIST linux-6.6.40.tar.xz 140299288 BLAKE2B e64e9a6d37076dd565399b40af1977eedfa186a244041fcdfef6cee7b91d6a9e0883c3bfc9a1daa98f1f8cb99a33d5705a5f776cbb82aa95e26dee08228a2c62 SHA512 35509307428059cae4e6c0f0ba78a4423138243b4fcde719da36f5ed58852baa8f7468b3f773f4d11cb314f06d9bdd3ecda432aba31b49bfc61cd40aebefa7f8 DIST linux-6.9.8.tar.sign 987 BLAKE2B bb81040fb2134eb33ff7f0f9d9d18e827d3828d53fffbccdcaecbb22edfef04309a2f42987220552422735af5a6f17aad603d7a5fd4c7dcb9ba2d3659fecfd8d SHA512 7de43543511a017a135c4b33fa511fbca060097da13be2a593f9b912b7388d9e3b025854ddb91518cb5e96bd77befe7ea86f5766db2515db7c39addb0409ad99 DIST linux-6.9.8.tar.xz 144093812 BLAKE2B 3c3874b053d7076564936f2053ef666733d329c402999aac736cf64418cb74e471cf9d7ae62e8fab49e4e916f196c5b8317aa243691b1d18119a25196108dd06 SHA512 e7616207a1f08100cbfd9a3cd08bb0ea6cfd474c3a4cb95b3bf738461b7a8ae128270ba1bbaf512ae9c0eb2a409fa0c1d79317ab6dec9ff317aa9019c86d0c62 DIST linux-6.9.9.tar.sign 987 BLAKE2B a1430dbb6cfd6536c859f5c5fd682b2caf8e940c57ed3d55dc46d67d8851be61dc4215a249aef0b644478622725bd269f814f15f315a5a58a09fa93d20a48094 SHA512 55add916efb2bcc69c294b34a6690dc3b99c7d01f5e4bb53c91f421da4175bd8b7b3ff0df56096f5d6708bb06daf25aecb623364e555276845a38b6d4ffed248 @@ -55,11 +59,13 @@ EBUILD vanilla-kernel-5.15.9999.ebuild 3284 BLAKE2B a5d8cce04aa59b3e94740eb04045 EBUILD vanilla-kernel-6.1.95.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9273e85475e7b79caa137e9eb6605dcf362b15beb45504adf8cd8c9b58797fd9f9eda43bf1c6aecb4483a2855d91fb0023 SHA512 0d1ae17d29f2b270070fd6234050c94c79b4552f56227178694c28403a01e7008f84eb84ed0f7fa79bc45f23dcc1048bb849c2d6986994b4e47e4fdb3e962e2f EBUILD vanilla-kernel-6.1.97.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9273e85475e7b79caa137e9eb6605dcf362b15beb45504adf8cd8c9b58797fd9f9eda43bf1c6aecb4483a2855d91fb0023 SHA512 0d1ae17d29f2b270070fd6234050c94c79b4552f56227178694c28403a01e7008f84eb84ed0f7fa79bc45f23dcc1048bb849c2d6986994b4e47e4fdb3e962e2f EBUILD vanilla-kernel-6.1.98.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9273e85475e7b79caa137e9eb6605dcf362b15beb45504adf8cd8c9b58797fd9f9eda43bf1c6aecb4483a2855d91fb0023 SHA512 0d1ae17d29f2b270070fd6234050c94c79b4552f56227178694c28403a01e7008f84eb84ed0f7fa79bc45f23dcc1048bb849c2d6986994b4e47e4fdb3e962e2f +EBUILD vanilla-kernel-6.1.99.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9273e85475e7b79caa137e9eb6605dcf362b15beb45504adf8cd8c9b58797fd9f9eda43bf1c6aecb4483a2855d91fb0023 SHA512 0d1ae17d29f2b270070fd6234050c94c79b4552f56227178694c28403a01e7008f84eb84ed0f7fa79bc45f23dcc1048bb849c2d6986994b4e47e4fdb3e962e2f EBUILD vanilla-kernel-6.1.9999.ebuild 3402 BLAKE2B 1c1395e8d35a4b0b32d5e80b72d7589de2c593ce057cc8fb03e04e72dcc440755c633a4c2f52d6d69d4f4245d543dbb559516b925dd929a122e7f4e5aa135782 SHA512 3cfaa7e5c1557904270706ec647ae07ddecb8f7b5cdb7380aa4a97a44e61e9362e12adfea0bfe95998cf0bdc35bd3f62450e12ba18c5b0d1cfb1bd805f9ef56f EBUILD vanilla-kernel-6.6.35.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc EBUILD vanilla-kernel-6.6.37.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc EBUILD vanilla-kernel-6.6.38.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc EBUILD vanilla-kernel-6.6.39.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc +EBUILD vanilla-kernel-6.6.40.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc EBUILD vanilla-kernel-6.6.9999.ebuild 3532 BLAKE2B 14690ff99ca00bbbfcb70d2484ef57cb24821b7d5d6bf0923895bb7b475b01b1e5810129b586831c607a7063cc8fa83fe4a7fa9fb71b91b7c10b24bf64282d04 SHA512 85ff2eb452281ced4d48946d094ca58a97d6d1467ed71ff8aac02c96079d0187a46da1b23e0c5c2213ff47de726fe8be060e888bf476d2e4e47c5f1686e8c805 EBUILD vanilla-kernel-6.9.8.ebuild 4023 BLAKE2B 9aa7a8cda2244c2ba4f89793dd41c9f1ccb10b76012f545c4b6e4eec0809190ad6561296a85a3a18bc143f8c4bdd8de80ac144edbfb56e137da5ce0f689580ec SHA512 76491cab039635c8f144f37943788fd73af6df0b241996bfd060dede016155b6561870a1b7af36e76977555de7c3fd03755ff32ee932b540e704c7a774f17bea EBUILD vanilla-kernel-6.9.9.ebuild 4023 BLAKE2B 9aa7a8cda2244c2ba4f89793dd41c9f1ccb10b76012f545c4b6e4eec0809190ad6561296a85a3a18bc143f8c4bdd8de80ac144edbfb56e137da5ce0f689580ec SHA512 76491cab039635c8f144f37943788fd73af6df0b241996bfd060dede016155b6561870a1b7af36e76977555de7c3fd03755ff32ee932b540e704c7a774f17bea diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.99.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.99.ebuild new file mode 100644 index 000000000000..2a01b55657d3 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.99.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.7-gentoo +GENTOO_CONFIG_VER=g13 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.40.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.40.ebuild new file mode 100644 index 000000000000..2de327030b51 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.40.ebuild @@ -0,0 +1,143 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_MODULES_SIGN=1 +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.6.12-gentoo +GENTOO_CONFIG_VER=g13 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + loong) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-sources/Manifest b/sys-kernel/vanilla-sources/Manifest index 5391070965e2..ba58a6b477b8 100644 --- a/sys-kernel/vanilla-sources/Manifest +++ b/sys-kernel/vanilla-sources/Manifest @@ -3,6 +3,7 @@ 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.10.tar.xz 145142812 BLAKE2B bb243ea7493b9d63aa2df2050a3f1ae2b89ee84a20015239cf157e3f4f51c7ac5efedc8a51132b2d7482f9276ac418de6624831c8a3b806130d9c2d2124c539b SHA512 baa2487954044f991d2ae254d77d14a1f0185dd62c9f0fcaff69f586c9f906823017b8db1c4588f27b076dfa3ebb606929fec859f60ea419e7974330b9289cc2 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST linux-6.9.tar.xz 144034416 BLAKE2B 4cf86c3cfe6e6534745d42dfaeca59b17ea1168c4e8b615c80e6d8aac735f11283cd85fa992b440b5d4452917e94b9f08397a64af0be5894e3df23c68892377e SHA512 fed3b4cd1fbfb4d94618587c1934273d2ecc8b6e42a3d586ff8a5f24980be930f2ef803aa2923ca3bfa5e4e619f967f3af315368f24fa76f610b10443624a579 DIST patch-4.19.317.xz 6077612 BLAKE2B 5ac41af9e2840120c3518350ed70445241fabecc9645f0141fde402cad35d323377e96c0ad2e8e052b6789e0978528f900cf7c81cb5186c0934fa3299bbacb07 SHA512 a4019005ac7141bb82d058d00e318b1de177b4f5d7a6ab0b0140f3e1eef7dff2f4bdc7352c673aa1cfdad970b7405753edefaa8db0d060628f9e7c1e5dc25aad @@ -17,6 +18,7 @@ EBUILD vanilla-sources-5.10.221.ebuild 432 BLAKE2B 99bb1c69c35f0fead6db3b91a1b70 EBUILD vanilla-sources-5.15.162.ebuild 432 BLAKE2B 99bb1c69c35f0fead6db3b91a1b70157e1bb51a20005b838343cedc4a409c1fde61d144e936aee5029de94670673161a6666d439edb1af5ba7142d3f1cda6ebb SHA512 4c2e39ee3feae3a184dacb4913d735bbcdf939a936e51782bd6c5102d43d2ecfa60d30eb38a5a831d70e96f10daa626e988e4029b1b5afa152d9f314daaebdf0 EBUILD vanilla-sources-5.4.279.ebuild 432 BLAKE2B 99bb1c69c35f0fead6db3b91a1b70157e1bb51a20005b838343cedc4a409c1fde61d144e936aee5029de94670673161a6666d439edb1af5ba7142d3f1cda6ebb SHA512 4c2e39ee3feae3a184dacb4913d735bbcdf939a936e51782bd6c5102d43d2ecfa60d30eb38a5a831d70e96f10daa626e988e4029b1b5afa152d9f314daaebdf0 EBUILD vanilla-sources-6.1.98.ebuild 439 BLAKE2B 4f34c041044bdf8596b82ed64fead32de87a4aa4920384b8745a9eb6dc56ddc7bfa87ecdf0056336cd6896fae9d7055c1b640938a51e03fc8e8f0b6f2f329c29 SHA512 49b364e36103770d4d22e0beb2a081f9f223f09499e71027dc4aecbdd6237a136aa868956497b09c147daa0a77ef825c6964704f7703323960b073c6239bd287 +EBUILD vanilla-sources-6.10.0.ebuild 439 BLAKE2B b1f3cb3bebf350751dd86a66cacb766dc94236d66fbf4e083c4e9620a20528d28394629d9de09b97d9c8b7ee76b3ad08d8c1f43765b9258927dc3e4d6f376be7 SHA512 0459a5988945852ec4dda17835630f8aeaac55cb0a701bf6cb3370b407ce60f7c7fac4612c29e39c10d51f92b30931800c3863179ebf30d76dbb1e0d700f7782 EBUILD vanilla-sources-6.6.39.ebuild 439 BLAKE2B 4f34c041044bdf8596b82ed64fead32de87a4aa4920384b8745a9eb6dc56ddc7bfa87ecdf0056336cd6896fae9d7055c1b640938a51e03fc8e8f0b6f2f329c29 SHA512 49b364e36103770d4d22e0beb2a081f9f223f09499e71027dc4aecbdd6237a136aa868956497b09c147daa0a77ef825c6964704f7703323960b073c6239bd287 EBUILD vanilla-sources-6.9.9.ebuild 439 BLAKE2B b1f3cb3bebf350751dd86a66cacb766dc94236d66fbf4e083c4e9620a20528d28394629d9de09b97d9c8b7ee76b3ad08d8c1f43765b9258927dc3e4d6f376be7 SHA512 0459a5988945852ec4dda17835630f8aeaac55cb0a701bf6cb3370b407ce60f7c7fac4612c29e39c10d51f92b30931800c3863179ebf30d76dbb1e0d700f7782 MISC metadata.xml 340 BLAKE2B e283ab9d2ebb7212e3ba37850c93761f165b4697a2ee6dbf07a67ce907df8ec71b3290a411cb81af8d8d8869b7e45c572487d4d2667dc0a0971986f0f6d1aa8e SHA512 bd0f7f570230dd5bd9f6e270345a3ebc556eb2dbcd19b04e33b5c6df8d9e6735a6e23fe934b39d9ef130ab5e78c6fdd29d7a167cb8ee4ac8ce919c75cec7425c diff --git a/sys-kernel/vanilla-sources/vanilla-sources-6.10.0.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-6.10.0.ebuild new file mode 100644 index 000000000000..b8791038d227 --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-6.10.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="https://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa -ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |