diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-16 17:37:59 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-16 17:42:38 +0100 |
commit | 181539457c8f45d43790869f39e92d125109bc5e (patch) | |
tree | bfdf928552eaa81a98495f8924917ffc19c02594 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 6.6.12 (diff) | |
download | gentoo-181539457c8f45d43790869f39e92d125109bc5e.tar.gz gentoo-181539457c8f45d43790869f39e92d125109bc5e.tar.bz2 gentoo-181539457c8f45d43790869f39e92d125109bc5e.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.147
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.147.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 9f0690c80718..729f99dbf059 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-154.base.tar.xz 5941944 BLAKE2B b32e3bbeadf0b2b3e121d1cd017 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-5.15-156.base.tar.xz 6004636 BLAKE2B f70c2a3bfc3d65fea8d4764b953d147a1725162aeaf319701a3d4b1d47c846932c4c8cd009bf81b4ce33754e966dac4630e2f690c403ec5181e3cc122496db09 SHA512 4d2fd08626d433d7230b27fb1cbd8a3fec9a942ddbd01988dba8632f25b510353b5086f4db1d529b88770e579189fc7bf6a4d02828c662fcb230e51efbecad9c +DIST genpatches-5.15-156.extras.tar.xz 3936 BLAKE2B ad08b5d93b943236326d333c627ae8cd279d78fd2b8f8df420ce75be815472dca9785b8eb14015ca2dbc92560a8589d31b9f9edbf81280c85d1ce6fe58aed0b1 SHA512 580ba97a039ff7417b448d4df13b67ed262b7a47be449515ca80125a89b5da3eeee773757db6ff7389b501daee6ab708e19dc2713088ee118859e1e9d3f4b303 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 @@ -48,6 +50,10 @@ DIST gentoo-kernel-5.15.146-1.amd64.gpkg.tar 66304000 BLAKE2B d32d9e2be3f6f7aaae 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-5.15.147-1.amd64.gpkg.tar 66324480 BLAKE2B c6d5b1c2cde86c3573049ef89b5baed82fd871e539ac915e271edbd65e07b4a9c778cbe7076aac2e21cceb4a129ffb1f33c8866643bde65ac926b073f4da1985 SHA512 65a50d8664b37cd09e5923a09c96c2915e81fda1ec8fd14cef8723db3f52c6df1bb5247ed1c9414571bb90b82e01180d90d42711b3e2724bf803cd16edb237c0 +DIST gentoo-kernel-5.15.147-1.arm64.gpkg.tar 59740160 BLAKE2B bd2f87241c5738ed3a2d7972cf48323956133b4585d12bcb24762b9d05a56e3bd9fbdaf2acdf08579390d5b1c0b7856e21dc2a64f41d55ca431eb186f917cc8a SHA512 d30158985928568e750c7c50af8e6faa6d834788280c2fced33f93ac83dd6b8997ffaa057c077ff508d7e454c92537806dc87917609194ff2f3b1a10273ff91d +DIST gentoo-kernel-5.15.147-1.ppc64le.gpkg.tar 54978560 BLAKE2B be4b07d1addc879ed061b2a3f9202d18de049d28df52350e021c5559e29c11243fa11a787a8239cb779b2eca6b6faeb4f59450c309ce4e7c340f8a303ef8662c SHA512 2a93b8ff166cbc6a1cd34836c7094217ba82c176d5d9fb313e5db47b281ac4d837dc286f580d291df45b159cdd13eeba5deaf7f1ac5f2b4237d5e1b276787b55 +DIST gentoo-kernel-5.15.147-1.x86.gpkg.tar 56064000 BLAKE2B b2368b7278972da768f8beb71faef33062df867488845c056a6b77cc6e229b0cb3a4ffa95ee68896f52f392ad062126e3a364c4b0d02d70e850895c020cdd5ac SHA512 ebddae5ef2bb7f5118a6f0f6a7dfa910d7e5954a8512956bbb0c3dc8f86eb7364f2c2c42ae5ccd056dc74d8bfa003ed114b6bdc3a1cb243ecb0c68bfcfdf7d6b 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.147.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.147.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.147.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=" + 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 +} |