diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-08-19 16:31:27 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-08-19 16:47:32 +0200 |
commit | 7f92492a0f6baf524dfb9e4d6aa4fe2dc44ed03f (patch) | |
tree | 243136984cbcef192f3383b51e593c22f78839c3 | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.6.47 (diff) | |
download | gentoo-7f92492a0f6baf524dfb9e4d6aa4fe2dc44ed03f.tar.gz gentoo-7f92492a0f6baf524dfb9e4d6aa4fe2dc44ed03f.tar.bz2 gentoo-7f92492a0f6baf524dfb9e4d6aa4fe2dc44ed03f.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.1.106
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.106.ebuild | 138 |
2 files changed, 144 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index fa9a411e9db1..465955c7485f 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -16,6 +16,8 @@ DIST genpatches-6.1-114.base.tar.xz 5814096 BLAKE2B 676bdc7fe3d68811434a210499f2 DIST genpatches-6.1-114.extras.tar.xz 4060 BLAKE2B 649cafba566d627d5a302874710ff22c6d102e5a93aa4516815ae07fcc0e7b965c0b4b4c8850e22ccdd4ac0f7e447d2a5a59edeedb0f89ac4eb5e68df94a4f3e SHA512 07126cc655b3690ed7ff7399e385ce4dfada1e0e1a16f2e80fe5f0f0bef3ce4bec48f9527b928646a600353537e362b23242fb40a3a8bc5ad69ad99daffdab56 DIST genpatches-6.1-115.base.tar.xz 5849032 BLAKE2B f506bede128cceac85af1219dd60f46753f80c2d2e7e23c1940c5e7114ab4ec489f94e839c24fa5fd8ff0f2ff72c60b313d66fe95a480026851cfd30b05ad6d6 SHA512 b91b4cdb568e4eee159ac1cf36e18afeb384cd96402dbeac53d6af2d03f1cf496a23a73400487d32f0808cf1dd01929e5e031cf5c97a8f027d4bf6e93860b726 DIST genpatches-6.1-115.extras.tar.xz 4060 BLAKE2B a7c40e52a42d0a1d7438bdeb658a427251fc3df9d9e5e7be3f6ecde3242a286d686adc356234b5e0fe0a7c7403d5f4b422661570d001fac0f590247bbe519f6a SHA512 97706920ff2f3e965f499917fea7a9013c191083114635147c759f1277c63006cdbb59c60bab40064d43a5d8cded27c17ee1f56536f766ca839fb045c428e810 +DIST genpatches-6.1-116.base.tar.xz 5862440 BLAKE2B 57df84154c9302bfc602035d8b06ec4b8e2089e8529d8a425c6912c46ca5d7f5782e60efc1600b085a1e60f4f029376485aeeafb6890bab20901df152c18bf25 SHA512 7467a3963981f8862a0898f4baabf95d25c4bc13eb5cc41b28307d48150bb263cd34be392f6e0130e053105f385ae963b03d306268c9eec3cc0e807cd3e56a7a +DIST genpatches-6.1-116.extras.tar.xz 4060 BLAKE2B f1c06b3d9f005cf93a317e051104af5a5838dda32e7d480d67655d26afa636741053da4e3c39aae81593cc12708d829d4a8f9e167346d6b038c4b72bf70c9626 SHA512 3ff2f66f10a0158c9890ba629cd0d0bea46fbf5ff899dd4a0dbdb70c5aefb2ab0ce89c316a76441d0dc500e740f79b15568209a4f97b82a1efb0ef088ea00d36 DIST genpatches-6.10-4.base.tar.xz 15672 BLAKE2B 3dfb069409ca8c1cc8022daaeda3f45443c4e11ab1b086d8178ae4bd7e9a77fdbd8016484324248370bfa4b92e1a10cfa67d40592fafcd8540cc917c60b52ea1 SHA512 ea2f80b065c59b485446c8acc174b93a688b9e6d5de8cd9bf307a43811f6087368b528647a2371636b22dc082735b57e470e9c5d1092972c3890a9c628db723c DIST genpatches-6.10-4.extras.tar.xz 4056 BLAKE2B b1cc5a0d37760aac34837b9f7b26240d92afa816b5456a334deaaff8e911cba25f15c5e168bcba86b80d9fbe006a4b07cf4aa963e68a92e5152033cbcb080be0 SHA512 765b58ae1ce61678dce39b27e9212844cfd991e222384c7650355a374a236918f622549d49d5d483bfbc6dfaa74120b66976e85bbfdb6b54b0e871f1d5d5ec60 DIST genpatches-6.10-6.base.tar.xz 257104 BLAKE2B 13309e86f5b16ff79797736ac91214698afb07ebc167eb22bbc354432f64e26dc3c19e0e4bccaf4fac7f0c858b7739317db3ffec9eef596eda5c2a45e785bac3 SHA512 55c009415c1b03c02a5e0251c8a12adf9eeba0fa7010cde100735880332127bda25bbbc59f9105c091fbc5bd67d7bbcc4fe02fbf4de7bee645bc679649ca3a67 @@ -74,6 +76,10 @@ DIST gentoo-kernel-6.1.105-1.amd64.gpkg.tar 72591360 BLAKE2B 6ee7b3c05c7be33459e DIST gentoo-kernel-6.1.105-1.arm64.gpkg.tar 65556480 BLAKE2B 4c0a4c217e4e3418368bb1708cbecf68646f9b34c22a60fd4478c6073a4edbaafae12da1e2f5a3c24eabb89f7a52717ec27c5a81a71534f16d596513fc3d4a22 SHA512 befdd3953e4129ad5f52fac21187307067ad8a11378d6ce68ff0760869a3cf7eff6c5b4533d6e6cefe316dae6d893e8b3c9e7d0c1b539bc318f2d6ce63a38d60 DIST gentoo-kernel-6.1.105-1.ppc64le.gpkg.tar 59811840 BLAKE2B ced093a4d9acb16619d1bd646c4e434a4a1139014f99a674d1f312fc68dbaa46b999b2273196c38eb8fd51d7e545bd7e445ef773f9edcbd46786af40cd5dd50a SHA512 63607afc5bf1903963db2529cf94018906e59764476eb35eb07c4afc2fc59c15054bb08eab88d535b8d204f62711702032ede08a4a0f72998ea3b9f292b388de DIST gentoo-kernel-6.1.105-1.x86.gpkg.tar 62136320 BLAKE2B 823edf8c9c9f8b990fe7db8bb24ccaa2cb3d89543a297d0d552fb380596c221a757f2e59f95ac000a9542cf3b32dc78dd4b8687eb4b9adba50905b5156f9d14f SHA512 9d67dc07730b480ae3cafa1e966803b92c2c2c2e0f417add5014d488b3ca4ec0ef01141f4f5743fa172d8870ebb62f2d89475d1c6ddd1cc0d07d38fd4313bebd +DIST gentoo-kernel-6.1.106-1.amd64.gpkg.tar 72611840 BLAKE2B a47dfabcc3c75962fe95ffbfe8ce3da60e24ec7d486a9cb6409b959e20ffdf0f50f87b48869430070768f9864ccacd00cd240a5966ba51809818614ac0007829 SHA512 fe6a2dbe182206daf1846629952313557d701c14376e3f31f733472ce336fe0facc42789df2ff1df2144584784568c7ecdb595d50ee44139b3baf1e3ce885241 +DIST gentoo-kernel-6.1.106-1.arm64.gpkg.tar 65546240 BLAKE2B 30848a5013d2fec5ea3ff4dcea21a66db909d66373a98ab15433fc798a3d0f106588123e4439250fbcc61b5dcaf3a71ed9687cda9da55e698ba8f5bd50d00d35 SHA512 fbdbe17606d5e8ecda6edc39784bff757dd1df89bbe4a8eb37ca8c0d94c05d15951a749ebd65351b962c4c0d042ec61bd574ef732fddbe529f47f4bd3cbdd665 +DIST gentoo-kernel-6.1.106-1.ppc64le.gpkg.tar 59801600 BLAKE2B 2dfc56a168daa74e90d6608edf0f8ead05fdf6eb94bf551a3da67f9c5c77ed74ab88c94ff47026c11d0d011fde152e40e1cc0876136a3f631d6eb346dc7c22f3 SHA512 8c17f10482a7145592e314af1d1a4fe144885fd8ce339da318d422a458193762f4acc90a027e5483c590db49b57e40c6f9906bb42bd23eb8d91676ce51df4806 +DIST gentoo-kernel-6.1.106-1.x86.gpkg.tar 62136320 BLAKE2B c589bb3c8e905c23cefde533bf8ea2a56b7d9f64d31da93e1355fb6113448a9089b2b2ded8e55c667ee1d85ebea4772c083907a92eb8d1714be0de8058fe0594 SHA512 a14cfb8780dd0029deae1e816ac6e624a799ca37bdb7aa228aba8f4188cb1084323abaa6a24c7bf69d0b87bcae8fba82f716f9242661a03af8a769c606f00e0b DIST gentoo-kernel-6.10.2-1.amd64.gpkg.tar 160737280 BLAKE2B d697e43a5cc520e2895c65cf86401357919ea8be6f0d54d5319aac4ee0450c7e0f5f1148ad5ba83de9ec6a9395370a3f9ca69b1f4261bcdd3c6c84faeb14c4e9 SHA512 150743684d808ebbef34e65d16aefc243fff231b0777a4d2f060f7e3ab53c6fea22c718bb5a5d60857a058fbb2a5e33bd86b5467911f19370b5e1cf105ab8856 DIST gentoo-kernel-6.10.2-1.arm64.gpkg.tar 131891200 BLAKE2B 3b46113a10ff8b7a57e4f436aaa2cfeb4d95e9293fc158a70e52bd577ec5de573e17be05e5015a444a9da2ca5b768b6ebefd4a69e6dcb29dad31b82aad96ec56 SHA512 c8f3ed9fdbe4f761308a9109354c52d2ca1f65ca6289ac1d033ea28930a8cd94c313f5493a2e74f2b132bbc730de3b95acbed4330152bafdc1fb18f9a40cc574 DIST gentoo-kernel-6.10.2-1.ppc64le.gpkg.tar 71987200 BLAKE2B 4609342bf865984397f6b166b786c4ab3520f298a92027679584c789f2545f7c728c4710fe817155b33be1c637c1fd26c46aa979258aba552755acb892d5bdb8 SHA512 9faccceeb88e902f8d43edde4d890af3274f849bff7fe7cfc176e1061778fd9856e701d04adb04b99f6cb8ad993d3bb31a65ab80d79c50b046a2eeb519b00e2b diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.106.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.106.ebuild new file mode 100644 index 000000000000..53b01d5e35e1 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.106.ebuild @@ -0,0 +1,138 @@ +# 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##*.} + 10 )) +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 HOSTLD="$(tc-getBUILD_LD)" + if type -P "${HOSTLD}.bfd" &>/dev/null; then + HOSTLD+=.bfd + fi + 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)" + HOSTLD="${HOSTLD}" + HOSTAR="$(tc-getBUILD_AR)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP="$(tc-getSTRIP)" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + READELF="$(tc-getREADELF)" + + # 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() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + 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 +} |