From 60360664173979c416f4acb44f2fb2368922742d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Dec 2023 19:46:42 +0000 Subject: gentoo auto-resync : 23:12:2023 - 19:46:41 --- sys-kernel/gentoo-kernel-bin/Manifest | 7 ++ .../gentoo-kernel-bin-5.15.145.ebuild | 127 +++++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.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 2b184c80ddb2..c7188f0238cb 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-152.base.tar.xz 5859680 BLAKE2B f07d522838bae14efdba3399a9e DIST genpatches-5.15-152.extras.tar.xz 3940 BLAKE2B 91f8fa828c4fb434088a8cffc845c09484b613fb5990fd5faa925852e9d6009bc927135310372a3e7b78b59a9e6a1f52667ccf3dec0a2ec7f7ac4f66c5b63760 SHA512 615669b03df808733065081f58ef0c928fb45be1b5a15092dd6e8cc6ec13ed6c4df3ed69eb1e06fde52f35f19f4896e4ab8e557a02e061e8c1371c12cda7e04f DIST genpatches-5.15-153.base.tar.xz 5880496 BLAKE2B 8de9f7e0a443bf5a196ae242283def0006da5252d5bbd732ff4d16eea018cb8649ab084c398eb6761a01d9ec8d4e5da9f6d6ad88c77fe5ac70385a9c5dbe679f SHA512 d3651cfcb047242eea4ad18986ce2667ff368f91a4496e30590f515d20898e7694afa409c02cfa1cc2747a6f80e1a7642aec62d67e0c7ea3c9d75e55a763b2fd DIST genpatches-5.15-153.extras.tar.xz 3940 BLAKE2B a1f5239cf08d52f7d1bdc2815809513d7b56e1f38978f681c4266e6e536ac02343dcf7bbb2045cbdaeeb73b20731ef2e3c84c1ebaa883d7ab0c18a99c00de5ed SHA512 da1d9cc1e79ff14c54c94dbde26c6565b1192781b567e7fe969bbeef3d8bc21cb5618c3eee3a643ccae829a74e6874436a049d0f9f16cdc7cf3f0f7f399a50bd +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-6.1-74.base.tar.xz 4113880 BLAKE2B 26d9abc23f66346e376b78bb687ae7bc955447093641abe0bf736ff9e1c4e7ca70a0bd26b581f295b168ecd94c6f84603f13f5d097cd8b05b9373ea03a9d0426 SHA512 4ec9211030d1d1cf8e412b46f6cc101768418a177d0113b58f3aa0c4468536faa45a0615483baec378eae7995a91b86da1c06af167a1dbc6eca9ff853ae838f3 DIST genpatches-6.1-74.extras.tar.xz 3812 BLAKE2B 52488fe7154cf6e0153a05184699dd1597a078a7a376e2866b68b923e7f82300757d1c70e7bc44920ab7813d500fb3d4677d49428261308e4b6b59a552381a9f SHA512 dd04bf075792824bf65cf349f6bc921d0c36cc66c878b8dfdd95c27f3a82de426d6725d79c02374e7372b74b68b9c0123875476de434f85646dd9aa8382d8de9 DIST genpatches-6.1-75.base.tar.xz 4114396 BLAKE2B c21211d430392fbe96b0616e0ece650736f7204066222f88b84cffdbedcbda78d8fbf30ce8dce4c7fa450f24410fba1af1929ee3b3ea0472fde3473db95a0f5c SHA512 106db04baa9ef92e324929d025bb68f9eab4d0144d12a3d11cbfffb018cc46abeaadc76240c1acfd3877ef8efc1992374ad15cca061258e5f20452e3cb71b90f @@ -50,6 +52,10 @@ DIST gentoo-kernel-5.15.144-1.amd64.gpkg.tar 66314240 BLAKE2B 70b775542dc019eaa0 DIST gentoo-kernel-5.15.144-1.arm64.gpkg.tar 59729920 BLAKE2B 90b3aa793bc691bf2599870484ca1ee16e5497fd4352ecf6c3eb2a9c68b70324d70ed72ddd31638135565795dca335f45814282c03a608812329c4c1354d8e97 SHA512 a7634003748f6a3e28572bcb1b35fd80f675297897e5643a0c318edbeee9783b48191e5c5686aa6e9f8cd9b36bb87112fced195e14b1bf47f4b7a2c51a737dea DIST gentoo-kernel-5.15.144-1.ppc64le.gpkg.tar 54968320 BLAKE2B 1d6aa3faabcf2e88e226b89f06769c05ec61b544e2e33756689361aa3769bd4b9338604e945be2ee2f4025115417704e1b88569a4010547434abde611378934c SHA512 86f6c85220687d38043f1f829937fe74457ed45598c8d0088bba4307eec3c9ab9069b66dc18c4b6741c15ba3118ce56423282a1df1577db19b42e395428bde8d DIST gentoo-kernel-5.15.144-1.x86.gpkg.tar 56053760 BLAKE2B 82a2dcf31899ee34bfe0d2c8dd34ce5c39c2f527c3b642f4b10c730cee45596721746f8217edc8ffa8eb9e8b86aa9ea17b79fd6c4cdd0df29a9233075658b009 SHA512 ff93af21697f61132459ba96ffb6fc0b51b39f736881518e8fb996d3376649c0967734424779b9e99170640ae613458330a90e798f7a7b2bd3975bf5b24697e3 +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 +DIST gentoo-kernel-5.15.145-1.x86.gpkg.tar 56064000 BLAKE2B 002ef06b9623cba82854fd8d53faebade3f8a9445cb8650f9aa020bb13da3409444639e58c3dc38bb831de7de9c9f9d8269bcb293dc8f7e853b5f5b87f94c9ae SHA512 a0a02ca558efe5bab4d8588b25b38890319e0354bfafa01c0ddb945b2bd49ae5c611faaef91bdd5732c0f683d9d49366f3e5fdc86db9fb479747844ebfe1d32b DIST gentoo-kernel-6.1.66-1.amd64.gpkg.tar 72601600 BLAKE2B 9c0b0b33ebd396ffc23a9f3346db128444d327bd150ab42812ba497bb65d2f2c67816d6c611f86679e6a264340177e3fe958411cc3ded1566c77f84cc23765d9 SHA512 dd9853b3c494990c1ba840489e8cf248a17f709dfed556b5444f59569d36f27ad6469eeaedbac3d6afd83f103a5599cee16bceca98c2c66fc3710741b832b0b8 DIST gentoo-kernel-6.1.66-1.arm64.gpkg.tar 65597440 BLAKE2B 189d7818f5d18c26a5b6d7518a39f1155c0c1e2fe29220f486383d2c7ddca6dc8743439ba86033395a42937f40eb1f8a15503ede58638c39016daa1a39faf1cb SHA512 22585a92a9793b3ed655f9488226cd757e227b1250f6e66b6190f1202e400c8215df4f62a7f2475f4e03924a91c4028a2afa46a746c2bcb0d3f8aefc54154143 DIST gentoo-kernel-6.1.66-1.ppc64le.gpkg.tar 59852800 BLAKE2B 1eeba1ccfa7c1b3a2843e01d01fbf0bd870fd61f09c1437b98f03e8e8bd89a761063837b1922d6de0f638293ec9f9614f05342094ca3a01e5fe69cf99f7d1a67 SHA512 330e430f22184ec193598d37977d440fa04b269d43786e137d1564ac11a98aa9898f6446b129d8df7bafce041c1db7e86688a4f0e39c66826eab7dc09065f1a9 @@ -92,6 +98,7 @@ EBUILD gentoo-kernel-bin-5.10.205.ebuild 3029 BLAKE2B ba1ab92597bb3c6d0e3e55d88c EBUILD gentoo-kernel-bin-5.15.142.ebuild 3025 BLAKE2B ad91d76e8a913963e4e630f8155f78dc51bf546ca3aafbf8ff83730b9cc2b4203cf31ce94b3296c5911d54036417a06833c26e37d626784ce700d9ae7d8ef9c7 SHA512 756f82a11a2dd65be78036df8469905811e3341f123be2f8e1444708e56ff0c7b262c4fc785281178b36d71a12a408d09f249a06e4cd1aab04b251a6b89cb7dd EBUILD gentoo-kernel-bin-5.15.143.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 EBUILD gentoo-kernel-bin-5.15.144.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 +EBUILD gentoo-kernel-bin-5.15.145.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 EBUILD gentoo-kernel-bin-6.1.66.ebuild 3025 BLAKE2B 874396d9c81967a6bff730d8f4ee2b199931a232134bdaf0ef80e64fc68c06489e53d200109fbf79f227cb06944f59603e747633c7175f6c3e00bd5963d91a91 SHA512 9d9b26b825e006bb5866c221d08260ae7ab7592186db0c5647a46862b2bd53e55a20c5d1cec375e197c13131284751daa4b24b145c3c6fcac8e34d4f1fac8fee EBUILD gentoo-kernel-bin-6.1.67.ebuild 3025 BLAKE2B 874396d9c81967a6bff730d8f4ee2b199931a232134bdaf0ef80e64fc68c06489e53d200109fbf79f227cb06944f59603e747633c7175f6c3e00bd5963d91a91 SHA512 9d9b26b825e006bb5866c221d08260ae7ab7592186db0c5647a46862b2bd53e55a20c5d1cec375e197c13131284751daa4b24b145c3c6fcac8e34d4f1fac8fee EBUILD gentoo-kernel-bin-6.1.68.ebuild 3029 BLAKE2B a3cb1a02eb9fa0eee8f67236b0852f250395ae753a711f62a180fd3c4cbb6c62d1dee4d464b3d5e6e89583e945635dbf5f179a3b664034983ca3a3c8a2fa831e SHA512 be57128fbffba5fcda1874103e061769441be3082e0e7bb1e3cc1bd62ce36d53d832972669ecb97e75065434d898a75ac2c5ef18914c4142be57f60ffcbe8bbb diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild new file mode 100644 index 000000000000..0c08429b1f95 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +BINPKG=${PF/-bin}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} -- cgit v1.2.3