From 7860ad41012a3808c645607818b64ad7dab025e9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jan 2024 13:10:51 +0000 Subject: gentoo auto-resync : 13:01:2024 - 13:10:51 --- sys-kernel/gentoo-kernel-bin/Manifest | 7 ++ .../gentoo-kernel-bin-5.10.207.ebuild | 127 +++++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.207.ebuild (limited to 'sys-kernel/gentoo-kernel-bin') 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 +} -- cgit v1.2.3