diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-08-11 18:04:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-08-11 18:18:55 +0200 |
commit | 33213be9fef1a1cda2b186e07d07a62dd1ccbaa0 (patch) | |
tree | cdcd6d1e0158379a4559679ac0b914cdba5783d4 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.6.45 (diff) | |
download | gentoo-33213be9fef1a1cda2b186e07d07a62dd1ccbaa0.tar.gz gentoo-33213be9fef1a1cda2b186e07d07a62dd1ccbaa0.tar.bz2 gentoo-33213be9fef1a1cda2b186e07d07a62dd1ccbaa0.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.1.104
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-6.1.104.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 c302c9b1cb1d..4d509715a0cd 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,6 +12,8 @@ DIST genpatches-6.1-112.base.tar.xz 5686744 BLAKE2B 2a45c958031096547d8db5c43413 DIST genpatches-6.1-112.extras.tar.xz 4056 BLAKE2B d592f37cdd0c21afb347ff53965f6fc9ab962b8ad48d666cbc55dd91a32701918669b8fe8997757aa55d5923829c237aa27b7d819faff74dbac2fe88b5863fca SHA512 aff46e4c47e3e0398a8d371a8821afd7d6d7ee33997834dc5532e007e8b69b333705d6978f0a32496073eb6d06607cb34626a1bc932376361ce2baa9587f918b DIST genpatches-6.1-113.base.tar.xz 5796104 BLAKE2B 0b6ca23a1a97810646b3424764e71335f6749ac5462ef5b6baa37b1873b106cce103654b8efa8c91fb137fb253638bddf250247b2e4db8e160e2ea714eb23cca SHA512 eef7a965a901e749a60b3f9486d8c281d353c47637f6468d53521771dedc26de3dd8d9582adc72da4730f55dc5f1b5a4555f03281c3a836d1760c40920464446 DIST genpatches-6.1-113.extras.tar.xz 4056 BLAKE2B eb8f6f49888245bc0f9b174f326a19658871dd3d2c34fef83514469b14d8a7ea84c0efc17f988143324779b571251881732d906975902ae77210eb7a20aec938 SHA512 09b36640d1c31ec865031810254ff2613e0945634b8afb54dfa9c4c22924b1e37f53559e9a7bca9307c2d0c15b0cccfbc588fb795b7eeb38d0f33e050ab53de6 +DIST genpatches-6.1-114.base.tar.xz 5814096 BLAKE2B 676bdc7fe3d68811434a210499f256d02ae7550ce9924175c540cb918e001f3360f1be25d88424d54fe4e1fb8918b07cc17862ae12bd714c38a165607842ac95 SHA512 5076776da85531ca7294150059d87df890da88e05da9eb308938131eaa86c1ad3a542f5afc9259ada433caf001ea8c13620ffabef11d1ada08af83c0699405a0 +DIST genpatches-6.1-114.extras.tar.xz 4060 BLAKE2B 649cafba566d627d5a302874710ff22c6d102e5a93aa4516815ae07fcc0e7b965c0b4b4c8850e22ccdd4ac0f7e447d2a5a59edeedb0f89ac4eb5e68df94a4f3e SHA512 07126cc655b3690ed7ff7399e385ce4dfada1e0e1a16f2e80fe5f0f0bef3ce4bec48f9527b928646a600353537e362b23242fb40a3a8bc5ad69ad99daffdab56 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 @@ -54,6 +56,10 @@ DIST gentoo-kernel-6.1.103-1.amd64.gpkg.tar 72591360 BLAKE2B 78c4889e9afd85e881b DIST gentoo-kernel-6.1.103-1.arm64.gpkg.tar 65546240 BLAKE2B 94a689d7258f636e79a9c853ba553368b48004ca7493ce93a1b6d25574de11421661753bbd92f66f528adf99ea71c663e7fda56be09812590ae7c94d431a2a30 SHA512 84410b9f8f4c549858d18ebc7ee6fcc50dc4fde6dfc1212590dd626f6f070aa1d92eb8dda4d6008a8c7314218bbc1e89b1dacd843c83a1b4fab4dbf897b798db DIST gentoo-kernel-6.1.103-1.ppc64le.gpkg.tar 59801600 BLAKE2B 0b97f7cafd220db98f389f0dafc88d8acadac95ba5740a2301a15ac18e3db6550e30458faf0b248727d1c60926a4b20d8158e6954b1834252e3b8a28e54b4c0a SHA512 cf7103659e4fd4e58de6519bc23aaf264ee4da77d479f2e51dfc73064eb9f973369fd421cc9c49b122d9706fec5cce084628bf4e9702846ae8851ed2d09d393a DIST gentoo-kernel-6.1.103-1.x86.gpkg.tar 62126080 BLAKE2B b64cc16f8d9dc0499b9c0ab3dcfba6199035f6d81496f622859e76f9e0a6a8e240669559190f4fa6a8bf1529257a6ac9ba138d2d6c073c6db720e16463519eb9 SHA512 076b29c080a5193263fa206e799d24205b98ff815b27ae440e40b3beabc9e5c1642a674e86b71b80e05102e5c57c0024bec75424f0a4ff8864d6d0de780286dc +DIST gentoo-kernel-6.1.104-1.amd64.gpkg.tar 72581120 BLAKE2B 3f442b717a6935fae26bce43b40ea0b27f85bac77dcb9b61e9f36454dc6c9073e49aa2250a14f1ec4a90524aa5b159b3d54dbd9424d39f8b6e851d0e3cc63ad1 SHA512 e5f5479852c7ae91242fdd06896e66fea08ba579e95be762a04261d1ad1c1b00050294610598552b0a2aa7cf8dafe0a240d3f309097e98f4d19756ce60496473 +DIST gentoo-kernel-6.1.104-1.arm64.gpkg.tar 65546240 BLAKE2B d764ee6f31a941e5151a07658269c6587d4c90759512feee2ce0007e4f8394d8b5d7b273e00ff059bfe86911924b3c42ac5d137f52285b0e154a5f9613d1cf6b SHA512 68acdf8a5d3233e313cd2bf271e2313443a7a9ef4272b56a258b08602b2debf3aadea880a42bebc6df7c312cf0830c0439938cc8e7f50f2caddba7ca9162587a +DIST gentoo-kernel-6.1.104-1.ppc64le.gpkg.tar 59811840 BLAKE2B 4153742fe57b062314e4a90a6b175a6fc4104f5498f7eef1f00fb151f2f47cd64f5d634bad6270279602624f280d9685f82f052569b73980ccaed0ff5b58d70e SHA512 87778b19710d486237ff2ca94a783d419ef5978c95625cf026b736a8472adb1f54ca634218635708e7d5133dcccff96a1b53dbace0016d05ebd9ea54601a36d8 +DIST gentoo-kernel-6.1.104-1.x86.gpkg.tar 62126080 BLAKE2B 7099606a714bf171bf5a5eaf70bc439f0d716ad4eac9cc433d0b600b992093dfcf702d2b7eadc61792cd2897c9de1613369510601bf31c47f4c4fa31241c524d SHA512 b5df8a31649d984dc2b69cbda84231b40ee250905bef64b15656f078732e0a55e44a75c986a566ce2c4ae410453016eac565d37a589c1ece5a9c94571161ffc6 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.104.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.104.ebuild new file mode 100644 index 000000000000..53b01d5e35e1 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.104.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 +} |