diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-05 21:16:53 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-05 21:18:55 +0100 |
commit | e3012a4fc640549731db2c818b99f53ddd7a98f3 (patch) | |
tree | c2b8f62cca8c86715d6aa20b54b3f68ed10402a3 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.10.206 (diff) | |
download | gentoo-e3012a4fc640549731db2c818b99f53ddd7a98f3.tar.gz gentoo-e3012a4fc640549731db2c818b99f53ddd7a98f3.tar.bz2 gentoo-e3012a4fc640549731db2c818b99f53ddd7a98f3.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.146
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.146.ebuild | 127 |
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 4ffe6ef315ef..ebfffa7b13fe 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -4,6 +4,8 @@ DIST genpatches-5.10-217.base.tar.xz 6347248 BLAKE2B 35c610d675da3fca5c1cb187267 DIST genpatches-5.10-217.extras.tar.xz 3872 BLAKE2B 064f45be10fd871b85cf014894e01be7cc89a7a8d995a9cbc5dce54661e82b97d25b9b94c4ffdf35050dcf8784cd7a31f3fcc6531e7d9ab7f16d50f22d363f87 SHA512 ac67120c0fe629f9b184e415bc665be1234d5a9f5b9fe56210c81cfbad4a36471ec663fd51309ca616331990a30fa3b9c2a6e5aec4cb7eb11e4549ad415d0181 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 +DIST genpatches-5.15-155.extras.tar.xz 3936 BLAKE2B 8fafbb8cab4811a4c460aead75e719bb0cfddc8045fb64a566c4f08ad7b9c90923cb670d68d376279e08152bb08cc9e3213948f8cbdc17a03992ed0be65aba00 SHA512 2b5d8ecf9644c8f8ef5248f33bddc945edfd5ede85d84779d04574e48a39bf855d390e27107d130aa46805eb19bc825d921101832f5121f3b2073ad39b9cfe0e DIST genpatches-6.1-77.base.tar.xz 4198960 BLAKE2B 9c6921ca87ec2c3338107a994d6e094c6bf4ca5a705f21b3efa2803454327782ccf2cefa78b2a1bfa59413402d5d89b757a5522b86943c8c8c5d97592138758a SHA512 34daab45df35b30a5bc155aa82b074f6516bb1af7b2976590f88d88e25f6e8ae369fd1299f7e2f645c045b29d6b805dd07291ab45c212a9aa27df566dd6aca96 DIST genpatches-6.1-77.extras.tar.xz 3816 BLAKE2B 2129b36991f127c4bb4783a535a2d58bbe8ba9f4f139f7b70bf41a1c54bc2ac9026cdf3e3662f47c28118844ff40b6ad1c8da1c5fa8f1f4edc768fa69cae2083 SHA512 1de0ce45d9a0a1555faa92842f884cbaed8f5e727e4e59cbafc31326c9a183acc4954b2cdba1bec2019466545870ead8b5300f419533e30386aa2a36f6606a9a DIST genpatches-6.1-78.base.tar.xz 4233428 BLAKE2B 489c688bdce6b557065c5a2c63b359682ba79fc5e76665afb1cfc4c39c7451308aca9f72bb67551cba84a5b258e08e5133ed844307e51d7a47bca01d73a5cd9c SHA512 51665654f2be21a920678fe24af34f4a1b047bbe2038edf08eb68947b72e96a97daefb2b104d1ffc2d8ac691bf0624217960089b7d22bb63db43e51f2d8cc02a @@ -22,6 +24,10 @@ DIST gentoo-kernel-5.15.145-1.amd64.gpkg.tar 66304000 BLAKE2B 6230b78343f7da4f65 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-5.15.146-1.amd64.gpkg.tar 66304000 BLAKE2B d32d9e2be3f6f7aaae570d7ccc65e6650010d7fe98a67b566a40ea97800a3a0806b659007a51e634eea39e0aa6f96cc26ce0d2744245692f59146735254f726f SHA512 898c7392067dc8aaff7969a01f5760758934e2131e8fe04df74da24bb4028f4d555efa57d0c77203e3cf6db5a4a2f0bebd70fea558b21fa086f301bbdbeeed69 +DIST gentoo-kernel-5.15.146-1.arm64.gpkg.tar 59729920 BLAKE2B 0e23a5aecd1837c4c07d141c6de63c61cb81d86838b19a068b2b2acf16914bf73bbf3382ad43f907dd08524530703cce7a56319627615fe6cef3b82511b92885 SHA512 a70d1d9428d8a0be3919fb43819e1a27f2058843303a10495aea8d9aad34d4b570c1f731126dcf7e64d8822f4c533a1e6e4ec9d5756d95df770b3d2ddfb3ac78 +DIST gentoo-kernel-5.15.146-1.ppc64le.gpkg.tar 54978560 BLAKE2B 3730adfc73e158f034056ee19a7b3a5469d76c45da72e21b42375c078c5e5090bba6252a48d8a4f374ced7fe2bd8b921302e0ea632d3e3ec0a0eb7e8d60d28d1 SHA512 3ad683679d8ed5f51a0767b402721fdd28e461511c0d0401d41fba3ba562ca7403803a2467d87901b041a6f24472ff801c850e1a20b93e1c9ecffa9acc4a46ae +DIST gentoo-kernel-5.15.146-1.x86.gpkg.tar 56074240 BLAKE2B 2821ca6ed0a557d1e8342283e3eb6ab7bdac811f94f6f8c21947142e28c44a04b082a71171f8c0fc94729f06ae9b1445531881eca6bfdf2f89bcbcf5ef3a8505 SHA512 3e0a4e399d27cbbc94f3e78e27bdd0b86e9fa94b946433d14b6bed33c0381f51a63eb828ac0b331f7138073f854ede2c6e8a20a7994e0cef47d874e2696d9763 DIST gentoo-kernel-6.1.69-1.amd64.gpkg.tar 72601600 BLAKE2B 3213eafb8fc9a2118a97db6b4647919f1c5d6def76173b948fbec00a3f5c081eca0098fa2d539920c19ced4490973457e51a0f8288dd26e0bf337e4307e77c9c SHA512 182aa3a947f41ab203d47b1d382bdcbc60536add91d504c634a07152689bd4d7f95baf91c348a4355a661a11fa5e98d009c2343b8365257ae3e2f53a522e6743 DIST gentoo-kernel-6.1.69-1.arm64.gpkg.tar 65607680 BLAKE2B d3f19ffcdfa1c9fa5d938e7dccd23bbb7d6b139a662ab00c8e890a177cf87400612bcb287653153a42b5088116ee58ebfb1ab6c6f490ee6da0aa36fe316a78f2 SHA512 1f1fd6ffa7b0d6ddb75b7576f0263e0268c4e4c4c74f1dd12e6303657c5b2320f821d63359fa2268cbdee5435e4cd4b5fc9814cd5d990046027fae8846577ac6 DIST gentoo-kernel-6.1.69-1.ppc64le.gpkg.tar 59863040 BLAKE2B 151afb62e5fc5b14e5ea1eb87e9fc2161bac9e0c02f3e39c2072a76e05b84fa046489a7e4c1915ac6db53f43872f25fb4b7b2a425bc990b393b845db78f55be7 SHA512 89014298eee186e94776a812ed83a7a0495b0d595f94b74d48f3bf62b91756e643d16ef40c665b77514a0a8c3056e3855130e3b63b5b9d3a530e6eeb4244a7bf diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.146.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.146.ebuild new file mode 100644 index 000000000000..3751b4129037 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.146.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##*.} + 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 +} |