diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-13 13:10:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-13 13:10:51 +0000 |
commit | 7860ad41012a3808c645607818b64ad7dab025e9 (patch) | |
tree | 102565176c19f5aef57ae4f6faecd3bded6f36ee /sys-kernel | |
parent | b83f9f17a27e03508085814208cd9c89a07f1f49 (diff) |
gentoo auto-resync : 13:01:2024 - 13:10:51
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4564 -> 4569 bytes | |||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 7 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.207.ebuild | 127 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.10.207.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/installkernel-systemd/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/installkernel-systemd/installkernel-systemd-4-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-kernel/installkernel/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/installkernel/installkernel-15.ebuild (renamed from sys-kernel/installkernel/installkernel-14-r2.ebuild) | 20 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.10.207.ebuild | 137 |
11 files changed, 431 insertions, 8 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 8ebbf142ac62..e8f89afa27c2 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index f19c87f57a81..84409617cf9c 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-216.base.tar.xz 6323624 BLAKE2B 7322ad90ab57a998bd282bfe47d DIST genpatches-5.10-216.extras.tar.xz 3876 BLAKE2B 60da30135bee0734e352fa197aa1e6ee0db45907c3053ca0707282a00250d835e483b92dbff50e882a4b5345bda5a68ea421769229416c4feb6d5c5b08c63f0d SHA512 712301b6fd53fcef79ab508b44fedf1f55ed9cafd0f707cf86d4061770addb66f7f6c2b9f8f6e1366ff7b88ded5cc8fc4ffbcc06ccb0e60672dc39f90b586a6f DIST genpatches-5.10-217.base.tar.xz 6347248 BLAKE2B 35c610d675da3fca5c1cb187267c8eec4036397dc690f07ab1fb25cbf810e749670ac17a01746eb668563d1cc7f5b206b9f44d7457284dfc2289f8a489a1f1ad SHA512 2c83342a07254bcd20e07aae95fa01c56c2f650c83b104bd1595dbc744b87d98262c2abb62fee3eb8bef68efbb1f0b980651bf54c1a41bfef97b46bec3e25255 DIST genpatches-5.10-217.extras.tar.xz 3872 BLAKE2B 064f45be10fd871b85cf014894e01be7cc89a7a8d995a9cbc5dce54661e82b97d25b9b94c4ffdf35050dcf8784cd7a31f3fcc6531e7d9ab7f16d50f22d363f87 SHA512 ac67120c0fe629f9b184e415bc665be1234d5a9f5b9fe56210c81cfbad4a36471ec663fd51309ca616331990a30fa3b9c2a6e5aec4cb7eb11e4549ad415d0181 +DIST genpatches-5.10-218.base.tar.xz 6347584 BLAKE2B 0b04d59069f469e8555a54865832edf3aee7c0e5c06ef1044a6c3406151e970f5147f4b878963dc6fdfaf4b6e99709b9c49c29c12fbb52cd8347b2d522d162d5 SHA512 01ca450a7963c48d29e41f1d56b40f5aa14f64a5c75a67eff31bf8bfe9a402ca262e57bbc9cbfca9d858f51c418c53bc48f1465d670fabe6050bb6ef7f3426fc +DIST genpatches-5.10-218.extras.tar.xz 3872 BLAKE2B 6b43940c29587c763eaac4b31376d14a1fe575a93ae14bb68ad0d47d8c79266ff05cc1530899e8084fc2861018c2b7cc9e1777b5168191eea91f642ca6a5daac SHA512 4665d4dd3e3e6b4d28206f501b8da527db194cd8ee85b22ded6904ce2c86f2a48110273af891fbcf44af8230320fa70a05adb69f5faca326ebdabd31348b5940 DIST genpatches-5.15-154.base.tar.xz 5941944 BLAKE2B b32e3bbeadf0b2b3e121d1cd017c3e77320fa8b7365e4106d6574934899ca1c0d4604370774da759a840c09693f89006365078cb77bcf1c23da5bc463d4a36fe SHA512 e32978ea17b1770d5180ebeaa6ba5f9e91e6b4bca70fc4dfced04c93aa7b6d76adf8c83c1b94a182b61fb6a5b73d3778789a0183ef9b49e887647348fadbf2e3 DIST genpatches-5.15-154.extras.tar.xz 3936 BLAKE2B 6940bf38e7c0ea4008d745171b61b4dc9825ed418a10e5d5c7fbd0ecd7a6bbabcb6c747830bc60f5d75250b826c308bb221e4720be47275e0cb653b3e21d8f10 SHA512 6b70c21c724be7e42d4e9b7ca0ee5af7aba1f7d2532ae73a571137290cebc4c6ba5146d4c0b73c9424827b876c1fba18e6b60868f09022902e0c8369b73cf2d5 DIST genpatches-5.15-155.base.tar.xz 5989160 BLAKE2B d0b4b6b84a87f5ce4f7f22ae2b0c21cf21acbdba1de9f22839a327c1fe581023ce4b6a2886e6871220189618bd4adf865eb073388ef14b6becf8bcc8861f690f SHA512 1d7454c1e628e0f4a281c14ae0c330d69611dc96a074f25a0c6573bb83ebf4c3d6a3137ee3599421ab70b55c98f71e9a2934c45afc45d4c02b7f1c4614288c79 @@ -28,6 +30,10 @@ DIST gentoo-kernel-5.10.206-1.amd64.gpkg.tar 63242240 BLAKE2B 61d039e81dd12aabd5 DIST gentoo-kernel-5.10.206-1.arm64.gpkg.tar 56719360 BLAKE2B 11363e65b00b35f47d1e53701a09c8314062e15567b2b4d19bfd3ea1714872068bddc00d420db9b1d1e625749c1b6d1059e9c861dd713d3b9bf17036db8a2b77 SHA512 c6f16c26d66d36ed617478b0b74de8ad88a45c8ee5d5dabe0e72c211858dfbe737e5cfb6f7487343abe2a2ac459f7c38867e62eb0bab8a1df60e52b2cb6cd314 DIST gentoo-kernel-5.10.206-1.ppc64le.gpkg.tar 52869120 BLAKE2B f433a8ef3774baf44701ca70846d77016a1765386f9de02e31cfdbc93664dc984a32003f848e6a847b78186f57142a1a67946f641a88356ecd378c09c50597f0 SHA512 2ce4665fc96d610ec6b3d7e33fca42946673e542de7c063fae6e9e10e000dd7666357b7c0f6ac391d675983d7501342cb427857ce6a85d3a951feb18fe601691 DIST gentoo-kernel-5.10.206-1.x86.gpkg.tar 53565440 BLAKE2B dbee10567b798b1e5e28a6729240834a11d9d01efec1053f272dacfb87e89e0d72d3b00fa807b9c09979707e55ad260f067300219979d6a359d4a070d4aefc50 SHA512 ba99351511c4582cd8fa9db415c150195303cd9b25930ac65900c02338fff3205926ae2ee6c1a2661f1745ded3515823ec7a8ad8552fd502b7b86fd63014d092 +DIST gentoo-kernel-5.10.207-1.amd64.gpkg.tar 63252480 BLAKE2B 19c5524270d1cf208afcaa377c3bcf30de59a0c02c5775379598111f69b98682fdc62b675c6470a2371201dc3641f9fce7152c4ea671c47c7b1e79c3c28c73ca SHA512 c773e50eb27f7fbc283f92224c17471a2b02501f2c0bdfeda0af7878f582ac0335a9995d6e33619f688436143d9bc2c63b3077ba9c4f360a77c3f6953c734f6e +DIST gentoo-kernel-5.10.207-1.arm64.gpkg.tar 56729600 BLAKE2B 6b7e20a742f6ef6d63aa002e76fbf20e9776caa6c7aa173eb11205d646fca6f4b8d0604455f99a5c1aa4bb7746598e0a43ab6466e9aed7d10779a520426b0f0d SHA512 f33a306f53474c7b4df7a0015c2fb8a2c43eb504c5e7c5de2375af2a8570fbecccb1eba4108acd1baf24284583e5bbb4813a2b585f22597fc7676831194b5bc5 +DIST gentoo-kernel-5.10.207-1.ppc64le.gpkg.tar 52869120 BLAKE2B 8033a8dfac876f36af7c20c1c4798d959a9e20943a87613af16bce1a6c6096d1769a94442a1b181a5e483fd532cfb73a33099cc3859fb219387f26bbba0fb3e9 SHA512 949e7da9909c2140d1f88d6da59a9722a719a6f2b4d9345b44e9a339f39004405b1e1604ccc6c4f1e280d75da1bb096905e2a9e2b1c3dce1df8823409347763c +DIST gentoo-kernel-5.10.207-1.x86.gpkg.tar 53565440 BLAKE2B c94c2fe912d50bd5e44a78b98519e853592ec00c53dfeeaf2693fa1dc3353e72a7cdd73129083d0c6a0d0968b0b74d1dde04a0f024af833340537fb57869134f SHA512 b1c2c08282f9e143a313ed91496205257a4b6142b3405bec9c72f01c2a25bff66f1972c4a7ebd3d3b005fafbd5c0c8f94825954b842f25688c1cacfea877b1a5 DIST gentoo-kernel-5.15.145-1.amd64.gpkg.tar 66304000 BLAKE2B 6230b78343f7da4f6560dad475fd96489cba2b9e4f53993b96dedcb1a866ac27f69a829318b6f4e00740b19d4e2f62d62964773de984a9bab0bde93e301b7c05 SHA512 aff6039f9e9592bb5503ed7b43e596e3e04ab879a006c8510e97b31b39067124019bdeb3604763f4825a5334512894cd60dd5b4a533ba344c8a6e165c4e312a1 DIST gentoo-kernel-5.15.145-1.arm64.gpkg.tar 59729920 BLAKE2B 9af60d2b94c9f020c8117c0d68a87a8ac37675b9790f5f8a96acd3ffb458db6557353e824a6576708b9447359e69fcd1fe30e7a1eb92f4cc7753bbfd38c1a194 SHA512 6d73c1605589b6182bc77efa29d6418a3671770f70fd7ca32a17ac102e15b2895cba9c5ee6886ddf6c496ccca1aa919830899b9a53570db12c0fedc54f0f58fb DIST gentoo-kernel-5.15.145-1.ppc64le.gpkg.tar 54958080 BLAKE2B d98524109be3596a6376cef37117e8114c354a736a340221cf72f30f2d7109a1edbae012e7e17e210bad4cf69f445a7034e0dbe83171a3b6779b79deace85ce4 SHA512 ac20b9e23142e10f918282e5146e66828b5bf21c75dce4b00e1b89124ef5c99c456b4ef35de1355d37c434c1a706dd2355f87b7da21fe06096ae17e7d8e5fe57 @@ -70,6 +76,7 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 EBUILD gentoo-kernel-bin-5.10.205.ebuild 3038 BLAKE2B 1d5cfc754829d97891c30c2d6cbcf2ed23ade363866d7f302785abb5a0672e192dec0f1c767ddfdd5ab4759548b170e94b6f005da0220790987703a001259790 SHA512 4a531ec91a011747e5c4f970e93e1fe7743eb9a0d16860de373b25ac5e618d446e1dd5ef8683aee25dbcfe5034626e9a56c9835eaa757f2354eb210129ac9256 EBUILD gentoo-kernel-bin-5.10.206.ebuild 3042 BLAKE2B 1c28eced39d1242906269df2abfae23627921ac0a67f9cf4a57c64590fafec873e35948787da4f29e3e0f6d1ad1a76464fb7fb4e74f7004d9808b248e2585016 SHA512 09bc854555742c974837f603b42aef905ba86d5bad30129246a0a8e98c728fb8b94c4f9564c18108af3ffb8407f757ada41f87654c4be9baa3d1f4aa73c9340d +EBUILD gentoo-kernel-bin-5.10.207.ebuild 3042 BLAKE2B 1c28eced39d1242906269df2abfae23627921ac0a67f9cf4a57c64590fafec873e35948787da4f29e3e0f6d1ad1a76464fb7fb4e74f7004d9808b248e2585016 SHA512 09bc854555742c974837f603b42aef905ba86d5bad30129246a0a8e98c728fb8b94c4f9564c18108af3ffb8407f757ada41f87654c4be9baa3d1f4aa73c9340d EBUILD gentoo-kernel-bin-5.15.145.ebuild 3038 BLAKE2B a7fdffe5c286e4da857bb61b86859e0b1111d913938b61b55fad85881cdad6b4eaa027c2210ff17f8eed07b9b3550dc756fafca37582a90682dde10ddd364167 SHA512 de4c906cce874ba8f96ed536a2d435a1117f4fc18e33b8fe605e8ea38e7b03f6dff7dc3f1da40b255e2c08367b288dee2d75a7b1963ae03991700f84e3d488ed EBUILD gentoo-kernel-bin-5.15.146.ebuild 3042 BLAKE2B 71642740131c708c13c44e70bc03c61f4911b10a1462374dd2624f5c68da2160d0717eac34e150fb493e3121859fe7c3c76587da8ad9644a7eba640f6a11ed56 SHA512 367c0dbb9ae6bf132eb3b71ba2904ab05b46e377680221ae57fd2679f656505018dbce3097dba05894b2964d57c78cc139e4799845827a0f02046ed947a8c461 EBUILD gentoo-kernel-bin-6.1.69.ebuild 3038 BLAKE2B 7db2ae49bffb42964984763c2c55997838d566b0875e0a7175b6593f02d5714fe9f807cef6aae6667579441d92e6080bd3c6afe26ccd0eb3055584a3f6bf2ca6 SHA512 1231f9597d49039be283d49f8d9182bd91641adbc40360b761f5272d1c3f7b3b53c9d9ae9294468058a8b66eeb12e2f4e66808630bde10d81174c0ee26410d9f diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.207.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.207.ebuild new file mode 100644 index 000000000000..1a44f330be18 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.207.ebuild @@ -0,0 +1,127 @@ +# 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##*.} + 11 )) +BINPKG=${P/-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() { + 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/Manifest b/sys-kernel/gentoo-kernel/Manifest index 9164b51f2a44..7b02d6384c9e 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-216.base.tar.xz 6323624 BLAKE2B 7322ad90ab57a998bd282bfe47d DIST genpatches-5.10-216.extras.tar.xz 3876 BLAKE2B 60da30135bee0734e352fa197aa1e6ee0db45907c3053ca0707282a00250d835e483b92dbff50e882a4b5345bda5a68ea421769229416c4feb6d5c5b08c63f0d SHA512 712301b6fd53fcef79ab508b44fedf1f55ed9cafd0f707cf86d4061770addb66f7f6c2b9f8f6e1366ff7b88ded5cc8fc4ffbcc06ccb0e60672dc39f90b586a6f DIST genpatches-5.10-217.base.tar.xz 6347248 BLAKE2B 35c610d675da3fca5c1cb187267c8eec4036397dc690f07ab1fb25cbf810e749670ac17a01746eb668563d1cc7f5b206b9f44d7457284dfc2289f8a489a1f1ad SHA512 2c83342a07254bcd20e07aae95fa01c56c2f650c83b104bd1595dbc744b87d98262c2abb62fee3eb8bef68efbb1f0b980651bf54c1a41bfef97b46bec3e25255 DIST genpatches-5.10-217.extras.tar.xz 3872 BLAKE2B 064f45be10fd871b85cf014894e01be7cc89a7a8d995a9cbc5dce54661e82b97d25b9b94c4ffdf35050dcf8784cd7a31f3fcc6531e7d9ab7f16d50f22d363f87 SHA512 ac67120c0fe629f9b184e415bc665be1234d5a9f5b9fe56210c81cfbad4a36471ec663fd51309ca616331990a30fa3b9c2a6e5aec4cb7eb11e4549ad415d0181 +DIST genpatches-5.10-218.base.tar.xz 6347584 BLAKE2B 0b04d59069f469e8555a54865832edf3aee7c0e5c06ef1044a6c3406151e970f5147f4b878963dc6fdfaf4b6e99709b9c49c29c12fbb52cd8347b2d522d162d5 SHA512 01ca450a7963c48d29e41f1d56b40f5aa14f64a5c75a67eff31bf8bfe9a402ca262e57bbc9cbfca9d858f51c418c53bc48f1465d670fabe6050bb6ef7f3426fc +DIST genpatches-5.10-218.extras.tar.xz 3872 BLAKE2B 6b43940c29587c763eaac4b31376d14a1fe575a93ae14bb68ad0d47d8c79266ff05cc1530899e8084fc2861018c2b7cc9e1777b5168191eea91f642ca6a5daac SHA512 4665d4dd3e3e6b4d28206f501b8da527db194cd8ee85b22ded6904ce2c86f2a48110273af891fbcf44af8230320fa70a05adb69f5faca326ebdabd31348b5940 DIST genpatches-5.15-154.base.tar.xz 5941944 BLAKE2B b32e3bbeadf0b2b3e121d1cd017c3e77320fa8b7365e4106d6574934899ca1c0d4604370774da759a840c09693f89006365078cb77bcf1c23da5bc463d4a36fe SHA512 e32978ea17b1770d5180ebeaa6ba5f9e91e6b4bca70fc4dfced04c93aa7b6d76adf8c83c1b94a182b61fb6a5b73d3778789a0183ef9b49e887647348fadbf2e3 DIST genpatches-5.15-154.extras.tar.xz 3936 BLAKE2B 6940bf38e7c0ea4008d745171b61b4dc9825ed418a10e5d5c7fbd0ecd7a6bbabcb6c747830bc60f5d75250b826c308bb221e4720be47275e0cb653b3e21d8f10 SHA512 6b70c21c724be7e42d4e9b7ca0ee5af7aba1f7d2532ae73a571137290cebc4c6ba5146d4c0b73c9424827b876c1fba18e6b60868f09022902e0c8369b73cf2d5 DIST genpatches-5.15-155.base.tar.xz 5989160 BLAKE2B d0b4b6b84a87f5ce4f7f22ae2b0c21cf21acbdba1de9f22839a327c1fe581023ce4b6a2886e6871220189618bd4adf865eb073388ef14b6becf8bcc8861f690f SHA512 1d7454c1e628e0f4a281c14ae0c330d69611dc96a074f25a0c6573bb83ebf4c3d6a3137ee3599421ab70b55c98f71e9a2934c45afc45d4c02b7f1c4614288c79 @@ -43,6 +45,7 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 EBUILD gentoo-kernel-5.10.205.ebuild 3661 BLAKE2B ea574fbe0db1a50cbb7bc07c89f82b502c3ee2dfff9ffd87d00ad9915d385c47b57380256f5b3847ad07b98d5ef8e6ea2c39625bc2d5bea9fb19aee351800e2f SHA512 906113eb32b5b88e8734bfa7860b386440c636da6877de084ee3f4b24f0d1a1828ea305669169763877b7f2aa18c3c2c435966c95044fac43bf941ce19eb6f25 EBUILD gentoo-kernel-5.10.206.ebuild 3665 BLAKE2B df47736d0b73a5489929cbe7c42b68eb8160f22711de1d06c427e8bc3036cb18ddc6a51dcd13e1f92d57783598cd41b2919baf709c309e83cab09fb92c622640 SHA512 6c1ebf85ba250611d0ace5f2c14b77d9d93782d579e8d3ba49c75e6bc65e8d0ef617cab65222ac31245d7d9454d2fbffb6f0a5706ee7f57ca17122a8c96ead97 +EBUILD gentoo-kernel-5.10.207.ebuild 3665 BLAKE2B df47736d0b73a5489929cbe7c42b68eb8160f22711de1d06c427e8bc3036cb18ddc6a51dcd13e1f92d57783598cd41b2919baf709c309e83cab09fb92c622640 SHA512 6c1ebf85ba250611d0ace5f2c14b77d9d93782d579e8d3ba49c75e6bc65e8d0ef617cab65222ac31245d7d9454d2fbffb6f0a5706ee7f57ca17122a8c96ead97 EBUILD gentoo-kernel-5.15.145.ebuild 3739 BLAKE2B 5a0e840b0d83977451af62694842ac32c2068cbe0b43df475ae7c8e141c7e0c748e5035a488762561736a53e5362689c182e1a97b5ade7bb44b3fd431b0b6dc5 SHA512 3a0aef9e2ac7e6142da00315a109e57b6300c9a93b5e3032ec66e0ae6523db458ac7ff08777dd9d187338a1bb5f244a7ab0a15763d086a090ef29af2a7dd83d0 EBUILD gentoo-kernel-5.15.146.ebuild 3743 BLAKE2B c9a2ff594598c24cfd37defe34bc4c4a303e9a3b4b8901e831086fda939b1c0c4cd1cc75c94739a24be7b787dc6e95005a33e5e9b4b4403916d5176dadcbbb6c SHA512 1a9194f20888650010f9dec08ade7d7b81464f056b3c4569637a57175478f812101278c56f6fc1708f3d08aa29fa1729d2a8edffa10672e2c2d4a2955e259df0 EBUILD gentoo-kernel-6.1.69.ebuild 3975 BLAKE2B b7c7b165887c467eebedddca18e7b7f04fe3f65ba2eea02efbcd3232822ace79b5b53b5b5712cc4448bbad0b6549c35a111c0a0c4c35bf8da4e43c9f5f55cc8a SHA512 a79e445d24c86e5bb4271a30e4194ac33b9de283f6b2ac994f7be8de6f746f6a3aa1fc05601b02ceb89b9e3568dd5ddcdfac6f7882fa28c262931a7b01a14578 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.207.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.207.ebuild new file mode 100644 index 000000000000..a9cb5d5f0f12 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.207.ebuild @@ -0,0 +1,134 @@ +# 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##*.} + 11 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g11 + +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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/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 )" + +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 +" + +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 + ;; + 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/installkernel-systemd/Manifest b/sys-kernel/installkernel-systemd/Manifest index 1636a8cff3d6..d112504601bb 100644 --- a/sys-kernel/installkernel-systemd/Manifest +++ b/sys-kernel/installkernel-systemd/Manifest @@ -3,5 +3,5 @@ AUX installkernel-systemd-3-10-copy-prebuilt.install 542 BLAKE2B 687fd634ef84d86 EBUILD installkernel-systemd-2-r4.ebuild 947 BLAKE2B b785b8534677e064ee9f78f3fe82d50d2397880c767629918f16bb1f86089b09e7ac3dda2ffd50b67af8c5baeb270a404ad98a537d6417eb7c36913004058ce2 SHA512 24f6c882dd584e05fad6867398558b9eef977b015e6d51677a90f50d306c940963dbf59492affe7c3ff9955da5a516ddde7ac692d9f3aa384b8409a378233fea EBUILD installkernel-systemd-2-r5.ebuild 913 BLAKE2B 3bfd1b5583f40155fab5bc43fb0f0a7d8d4c45a2b29bce4f90735e58c6e78c6899084edb78a982df354dfe15c953b35e55fde83d252181bc88e4eb58d59bd555 SHA512 d266718261caf4319df3e8554e004d680fa46afb08911645dfa6728e6b2fb68bc7d50e9d162444a020e3edc7b5941c4d8ee18604f103fd92c7f4499041ae1f26 EBUILD installkernel-systemd-3.ebuild 1001 BLAKE2B 09425dcf37b74cd774bcefc1a65c4c233f08e8da132e76664df65b393218b766b98d0b583dbf34ea07c231e37c388aecc4677249041f4e3eb2f2fb5182c847af SHA512 7e096871518c26ae7f9dac751106dd6b1eab7e5ccf314672a6a84a87c687844b6c9b66e126e087ef5177c12e69e31ee9fe987aebfeb08fd0ccfd55a61ae8356c -EBUILD installkernel-systemd-4-r1.ebuild 722 BLAKE2B 10f215bbc85d82c5b5475239ea392e5f013878b62bb9d3bf223b5f37cca5e08fee9c249c5e6eafcee3aae5cd62921e14244effb7914495155030a76a41bb1405 SHA512 3e9bfb64132889df79abfa5309195e46ff3c3cf7d4e32f765288e81b5d8fbb8c6119385dce94c68fb9244d1fbd239d091dbaa1ff3f994c6120b1c4c55e34a532 +EBUILD installkernel-systemd-4-r1.ebuild 722 BLAKE2B ae076ea2b97bd7c88ca3ee89697c4e8cd6a9dc65fbe16695b1c340879144fc47065fbb6b953329ad08836b64692468807604e9d9e8e5d70f8b6f62c5e197ccda SHA512 74dff7d7b62cd8bd6739eca41e7e87350653a5d86b2135832fba82d46c2b9d979b6621440e84e97ce7ccde84c8be100f296ec664e3288aea8b85aa07c51d0ea2 MISC metadata.xml 291 BLAKE2B f8eaa7c5aaced8dad269f9939139bcdd32c64dcc4ebff2b0b41dea61de5aed39723d73721bc44c2bee64717de093b97dc326037a335616caada3ea857c98fb07 SHA512 4fb007791c48eddbb1ee30cde6c1618ef67fbe62a29f3b805a7224818c34ce986b6e3d9378ab500875e012e9ea48663809204d69a410b23d12925f11ada333ca diff --git a/sys-kernel/installkernel-systemd/installkernel-systemd-4-r1.ebuild b/sys-kernel/installkernel-systemd/installkernel-systemd-4-r1.ebuild index 10718b5ecdf2..9968f5728bd2 100644 --- a/sys-kernel/installkernel-systemd/installkernel-systemd-4-r1.ebuild +++ b/sys-kernel/installkernel-systemd/installkernel-systemd-4-r1.ebuild @@ -11,7 +11,7 @@ LICENSE="public-domain" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -RDEPEND=">=sys-kernel/installkernel-14[systemd]" +PDEPEND=">=sys-kernel/installkernel-14[systemd]" pkg_setup() { elog "The wrapper functionality of ${PN} has been integrated into" diff --git a/sys-kernel/installkernel/Manifest b/sys-kernel/installkernel/Manifest index 65878d1b3fa2..c0d1973efb1d 100644 --- a/sys-kernel/installkernel/Manifest +++ b/sys-kernel/installkernel/Manifest @@ -1,5 +1,5 @@ DIST installkernel-12.tar.gz 4385 BLAKE2B 2f55442d76020cfcd42fb83f14ff1f517dcbbd102c338e84f092d56ba513c02644401b3b75ee7c45c8e763eb0e27225bbfe6576bc4e34841694076d935328c9a SHA512 b5620bf7a36081da929645d112a9160f89f1de09c00d3b6093efbe57d8ff1a5ebcd0b65e68491d225f61b7732bce8f76ff8baecd24969715f40dc818e4302de2 -DIST installkernel-14.tar.gz 5501 BLAKE2B cf7b47483440ec84f8aa17e1c6e585259ff13cf9ff76c89a262799c5143f3f994c0babe5f6ab0abf25f1a359ba3ea39e0027eb2df6c6b2c7a8627dab550f6504 SHA512 f6af5ee009738fa503b575d3464494c8296b3b986ac9b8fab074f38f98159209b4d2ce0cf555890d5bfcfa506ab08d334af97798f695d895863bcb68b3ecea66 +DIST installkernel-15.tar.gz 5485 BLAKE2B c80aaf96c74eed23f13f2825839daeb9d44d1f721b35270ed4dd587858a9b43edaa958965a97b6381f58c24d137094c4b80f880b4e114dff621bdc6dc51f47d6 SHA512 352478323d76ec9b74e4ff1a42555a65292e9a262907dc3dfe08ee0c8613fa1d9618d2f3c1de9ab02551be67fc107d8c0212e462e46b6d6ce065c2f1628067f0 EBUILD installkernel-12.ebuild 1444 BLAKE2B 7ef1f8e8205cf742b2304e8232f7f017245a21ab5ff6723b677e4dd810dfd46977632b0c0e3cb5ce66523206cec4cfd539829bbe467838e4b65f6fb51a56d2ec SHA512 a7d72bd6ebb3b42d3348253756caaf169d0dce9c92403c3ccec5486f470d60e5d681299bfa3d9f41c6bab2dca35d958adf9663562c3e30282a66e78dfd39f53e -EBUILD installkernel-14-r2.ebuild 2379 BLAKE2B a7baa20d238e534797acda33cd27f45cecce968ecf9caedd216d467e5a3c3e38797ab547a7300e640d626c8f9ec9315cd98480f87312ae3cbccf4fd26e7ce9dd SHA512 16cbac01ffcc3f112cbc4391f51a9bfafa85265cc338ea5d9e57d9ffd6e3fbdec5eb260d02c212db17198dc178ea38f98cc263fbe94e43745280ee55ca210ba9 +EBUILD installkernel-15.ebuild 2829 BLAKE2B dad8194652a40423d278a6b8890a9bd41a2a4e8942bbbb092467e13844471c03f811103165213664a26e6932de4f1c6c6bc55b47352532a003b8497eb92d27be SHA512 c40f0cbf434d93140c7f94b9918ca2b57e3d08e099dfa66b28b4a17f609136aa1d1338cfd2ecba55874c0c6938c7880e3ac91a609b98f36ac2cddc68a295c098 MISC metadata.xml 861 BLAKE2B b5526c0440f51568a5afd3f5c8f8d862b29713d5c8b20fbb3388cadf1bd48bf1897fa7e5c2561ad589a97eac5df7f0c6aa8f38a71226c34b422e70ec81b32a8b SHA512 128b33f9aa08247e1733640449b5ae89be093473d78464d1eea9280e2cfaf22d0b91450660590f2ee6dec8c9987f7b9bf4520ad6492f1feabc89eee308d46061 diff --git a/sys-kernel/installkernel/installkernel-14-r2.ebuild b/sys-kernel/installkernel/installkernel-15.ebuild index 05307034f5e5..99a5eec37735 100644 --- a/sys-kernel/installkernel/installkernel-14-r2.ebuild +++ b/sys-kernel/installkernel/installkernel-15.ebuild @@ -15,8 +15,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~ IUSE="+dracut grub systemd uki ukify" RDEPEND=" + !<=sys-kernel/installkernel-systemd-3 >=sys-apps/debianutils-4.9-r1 dracut? ( >=sys-kernel/dracut-059-r4 ) + grub? ( sys-boot/grub ) systemd? ( || ( sys-apps/systemd[kernel-install(-)] @@ -87,10 +89,8 @@ src_install() { fi fi - if [[ -s "${T}/install.conf" ]]; then - insinto /etc/kernel - doins "${T}/install.conf" - fi + insinto /etc/kernel + doins "${T}/install.conf" exeinto /usr/lib/kernel/install.d doexe hooks/systemd/*.install @@ -99,3 +99,15 @@ src_install() { dosbin installkernel doman installkernel.8 } + +pkg_postinst() { + elog "Version 14 and up of ${PN} effectively merges" + elog "${PN}-gentoo and ${PN}-systemd." + elog "Switching between the traditional installkernel and systemd's" + elog "kernel-install is controlled with the systemd USE flag or the" + elog "SYSTEMD_KERNEL_INSTALL environment variable." + elog + elog "See the installkernel wiki page[1] for more details." + elog + elog "https://wiki.gentoo.org/wiki/Installkernel" +} diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index d487a02d50ae..80074e05a8eb 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -20,6 +20,8 @@ DIST linux-5.10.205.tar.sign 993 BLAKE2B 834896e7c7dc3bb8ee0cb66303956c6955a42a2 DIST linux-5.10.205.tar.xz 120632532 BLAKE2B 12f94ecd38282581345a1cd497f1f67b90f68b12bd9a5eb5c920e97114536d8c138154fe4a27634194a75c27539bc04af3674bfe590c8a43cbe211d39148b2c8 SHA512 681aca65c239a3d6020861b399b1a5548bbe832016c40862529e08dc7078c5f709e11811e6d6bcffbbf0a86c7eea2bb911870f899729312e04653f0c235a3b09 DIST linux-5.10.206.tar.sign 993 BLAKE2B 5d3874901b5194646fd5f9c73b6fe723b346cdc3f6e80d51c681623c1b15998c369437c3a16cf5b08408ebd8889a487967f5a5cb5322d15d7378e60d4bbd1483 SHA512 e6682e38094aa233fb78bec96846e6644d4b40a7a8c45d0115c0f830ec734c0347df89e263e8853d3e942a8182d31ce0fb3ae716e1e07abc361996ff1f056eba DIST linux-5.10.206.tar.xz 120639412 BLAKE2B 60475da100a677cf59846437d85106aaf9fec1db8c0e4cac61c0a3bbb35280021c22a8ce8659b5d0cf44cecfde9936f095bb3064a348080d1764ae4357406f17 SHA512 48b04c27f183fc90fb7ccebba62d4e99bd3272e7f2618c0bd8ea864b89acfb2b4b4f69361774c960685267b52b70c4f7454dfcc61f64e9781939e2374870ee4e +DIST linux-5.10.207.tar.sign 993 BLAKE2B fa62c229d2548fbeebea8545317c09b7c39111234040ce94b37b6a1f32d7bc0ea48bbd06992bf33e46c1f94a665fe98f00d4a75616276c92ec2fd7bca825a7b4 SHA512 1fdde5a3f1e3b27a4d7d7e3a54d1fe7a1e9db03cc490160d779b997bb3b8045f9c3b314ad2958364a563ed1ada1f6d98af773552b956a8187a72d7793d05e78a +DIST linux-5.10.207.tar.xz 120645600 BLAKE2B cfdd852e6ec9c359c07133234e9aa42ec768ac8f3e7ec7ea1dcbdfc526a253a3e692bdb6868fcef4ea66bcfd51d09d67764cb13db461a0e4fb11b12efdab8583 SHA512 2198aa8636fb6152ed61bd5670dc137087b7add32fc9227307439d0bddda9f7cfa91582cabf793372c85a4e4fa0019d832d358d4b9502a7c43e477fd3b7cfda8 DIST linux-5.15.145.tar.sign 993 BLAKE2B 34a28ff96ea10ff95320f528def79964f03076556188cf37aa61fdfbf3ac88097ebcfc69a6459ad51cc5eac65e23b9a57e6effbe5610b64cf357980ffeeb843e SHA512 d9d7134ca047a9d96cfecfaa3c3eb6d52e26a1949736e334576dda665c3b6a6c759d9572b8898b94442cbb3b130f1308f9bc71474a2c5b888498528126710d82 DIST linux-5.15.145.tar.xz 126579464 BLAKE2B f8481b1fec05a75a10d32c512f0600f3a359008b30dce3bac35b00928750650faae013e26bb23d6634618e86f2a700d0342c68869c960c76ead4d415e2c1bd05 SHA512 f5b7acf9ed52b70bcc564e0b13b95e9a352196074b093513c7c74ad7f8bdd3c8938a2860c993590b5289690ac344af94c7a99c496218ce597525671c395d5a72 DIST linux-5.15.146.tar.sign 993 BLAKE2B 4dc2ea0eb1d87eab3250e1c7e3f3a0bead8419c3013a797866edee58dd6bab28396ea7b8a07afd8d7542ac2736a3f66956b17df300afd9bf59bc156c6641229c SHA512 42498bd112fff860f492e53b6556b4abce3c04143d6b46cdef94a6c6121d26d534a1e91542997488aebdece342c8cfcd321e6e44a9bf5a74c9a9a987f3872572 @@ -40,6 +42,7 @@ DIST linux-6.6.9.tar.sign 987 BLAKE2B 947a3f09c87d9d02a8f8b5330d25cddc6f71ab501d DIST linux-6.6.9.tar.xz 140052968 BLAKE2B c7deb1221716144b636018ee2936abe6397e15204c9bdb4cb5806f6bd303cd5d3f953a7da5865c4f211b866e4dfec4cd347c0a1a0a675f18b1a4ad197b099cec SHA512 a6a9608b158408bb55737505058ee8d64a901af38230bf31d2eee007c3530503154067e5d37c1f86c36b60ba5dc24771047c6e91de24ed6a256c2f9ecbb9c2dc EBUILD vanilla-kernel-5.10.205.ebuild 3769 BLAKE2B a819d95060bc10320257a1c35a843a763f89e702fe33d93a33770ec02eaaf32a432b6b17bd6485d9e2565c57afa8bcef706bc1cc41ae945b0357f6c7530d7f8b SHA512 539e37e22646fa009c09bc4d9334771e5d57c5d1f234ff668fb7d0fab2cab28fe8b9d7f57fb739f4b72070bfefe6d3e378e65574fee341bd80e219a16f112df2 EBUILD vanilla-kernel-5.10.206.ebuild 3769 BLAKE2B 2d83bf31a576f33e96e1e72e69bdedb4af5eefd82bc96d571a3cf1af9fedac1b8567d36a5adf7b8fcdab734fb08fda1893f933753ab67248bc45f19947a1679c SHA512 6ea335d63e6c214a9b268ef6e63cb89bd3aebd3651444447b3fd3886c04c2a712a20c0b422ae0eddf0b926e6fda7e1fc60a5684b38372b4f131b64160215c987 +EBUILD vanilla-kernel-5.10.207.ebuild 3769 BLAKE2B 2d83bf31a576f33e96e1e72e69bdedb4af5eefd82bc96d571a3cf1af9fedac1b8567d36a5adf7b8fcdab734fb08fda1893f933753ab67248bc45f19947a1679c SHA512 6ea335d63e6c214a9b268ef6e63cb89bd3aebd3651444447b3fd3886c04c2a712a20c0b422ae0eddf0b926e6fda7e1fc60a5684b38372b4f131b64160215c987 EBUILD vanilla-kernel-5.10.9999.ebuild 3283 BLAKE2B 09f42ae4ca54e775fbf38c7b6c1673bb803cba82252035b9ada3a3a05077613b100262c661236c15d8f8e36ad48a662ef32b97d56b588949e1078c780bc1a45b SHA512 16e25af77fcdf34d9d8d1b3a7bd35e48130c988f6c3bc5e7d2036fd377a8234dbc8a1ef99715ada67c89fd4c0c11be4b8b77c0d895b1f36ea0dadd63b7177483 EBUILD vanilla-kernel-5.15.145.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8 EBUILD vanilla-kernel-5.15.146.ebuild 3769 BLAKE2B 32f3d5a6ec9b292d31f9e4e4c63857d74fbc0a0802759d1d1e1e618300e02e78eb8c006adeefb489dfe22f269b60c650bea8354d10ff0efe02ae45fd6bf15180 SHA512 11e4439b625521ecd0df4955a600bdf9eda6bd36172776487cfbea00942cd64d772adc0ac3a0822c315ccfa43142ff114d69de47907028b303503317394b7554 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.207.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.207.ebuild new file mode 100644 index 000000000000..9c5b591d7e2d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.207.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 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g11 + +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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/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[@]}" +} |