diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-20 19:16:49 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-20 19:24:42 +0200 |
commit | be78bdc4d87b232c5d15dae0a06d99df6035762d (patch) | |
tree | a1aba36aaf5b0c884c35de753fcd7c2401d9fff5 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.35 (diff) | |
download | gentoo-be78bdc4d87b232c5d15dae0a06d99df6035762d.tar.gz gentoo-be78bdc4d87b232c5d15dae0a06d99df6035762d.tar.bz2 gentoo-be78bdc4d87b232c5d15dae0a06d99df6035762d.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.112
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.10.112.ebuild | 135 |
2 files changed, 141 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 8ff9edce97f5..7a314db86a5b 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -4,6 +4,8 @@ DIST genpatches-5.10-118.base.tar.xz 3302340 BLAKE2B fbaffbc3b7d0bb3ce303fd721ad DIST genpatches-5.10-118.extras.tar.xz 3876 BLAKE2B 221613b83c1b7b4a98076c5b515efa90f18ba07cd9918de4b1018156a9dfcab0c3efd2a736a00db9a32ae23c1d2afec9abd5c2c575d85a8f27f9248b0e8d8c87 SHA512 33a175b16c82f910c13c800504cd13d7c2f41e6bea652325b0665081628018fa20cfa3fd62139e7aecd3f7701e56c1939473d4aa3e1f764ae0c3af8829b4b568 DIST genpatches-5.10-119.base.tar.xz 3340768 BLAKE2B 52f04f06622bf08385fbf25264a0bc6c337b2b1c40cef5bb7ab6f78c3fc55d60b811027cda42ed401fb01cd4a93f2bf08c9d157d0c4e1a68eee03de7c79e99c5 SHA512 616336d92ce28aac0370592ce32e186a9e6d118cc90c2120897bbc5c49c3b3dc560c225d5e323586e2f67f0978d431126659983ccd65874d09d1eda4343e54ac DIST genpatches-5.10-119.extras.tar.xz 3872 BLAKE2B d952b7d246de7586bc50734c64f664c27d0677fa30e6d40dfdbed24394eaebc55328a446da8112f8d723b30d73c716fb817f34533259b35e873736c4bfaa9443 SHA512 7bc4595c81e2723e66af28851b458b2cc2df5349ac4cbee2f866bfa3e2fcd0223d40afc4466e8ccebde6e90dba99b891ee313510d70d059684757dc0de531b4f +DIST genpatches-5.10-120.base.tar.xz 3365700 BLAKE2B 6672f4b80ebd90ca24903c7f842b69bace79b790b9669a4f37d0be516e743da5b70e2916c10a6b006e6b50e74f50985c0df490bcca865fdf737ca8fb810fe77c SHA512 73275eafde83a8814c0643c01acc193223d3cacc3c9f25455370e8395237e98e08c097749f550bc6cf77665241f2235682c6636e70e700594623ceac03e93d1b +DIST genpatches-5.10-120.extras.tar.xz 3868 BLAKE2B b052197fd349775bfb579a89c27f152944573a81583c38dc323b21932c1453600016f986971170819a4f640cf7e7db87ffe43e484a0461d6e5bb8363af54a0b9 SHA512 b0d15b0c0456cfbf58826f58e4929011bdcbf3c6764735f7b2b9bcbc5f037ba7fa1d343cc34992eee8f1044e2a89909f6f826f8a0cdc5d82f55e44923a4fe006 DIST genpatches-5.15-35.base.tar.xz 1306764 BLAKE2B 5ea5655e825b9196663a7bb830ef34d74da7c9f922f7a71b46f7bc8755adacddd3b55f57e85b29532d6936ca481699ffae36642401e34293b4c6a445abb92db7 SHA512 50030f2dafba3e7fd16df7a6dd275fdbede772273009d1f1055dc904dc7afe947e92e9a32274c337938edd35073adc2e101d18a6ccd39529461d703af3e20566 DIST genpatches-5.15-35.extras.tar.xz 3876 BLAKE2B 5b14c88d66ede25e8417bdebc3c822d2f3755a13f21cef8a95088c97bba42a44357c98d13ce5a40e3aeb128ec0716540e893b108bf1f73256cb45250cd7ef43c SHA512 bdd8c5a700e9902cb7db17094fcc220eaca4774639d73e8496ac061fbba9fb80f6aa136aa9e87331a636af6146737fdec3c21249da7a18b5fec4d82de559e24f DIST genpatches-5.15-36.base.tar.xz 1545664 BLAKE2B 367785e90aeba2a5498c5a17443429bd6650ab40390db6feb349eb54431e36ddecdfb031785f74355e5cdd7105636bffc8c0a86821ea36ee257d40cc0fc54d31 SHA512 63191671b4b41fb4a45d0535782bf638976e520e227ac6e924ce7e783e67ed02c8f127574f263d9373cb5d79591f1de209d09ceb47ba6ce34acb57c6a991857a @@ -38,6 +40,10 @@ DIST gentoo-kernel-5.10.111-1.amd64.xpak 65835490 BLAKE2B aa0941309a42e03de1b08c DIST gentoo-kernel-5.10.111-1.arm64.xpak 61044648 BLAKE2B 04a06bae3f0ced82a30b1a9efdfd0b46845be91e901b6e4d1b956ec0591fbb3a693856caa276b853609f3b25845bb2f77634354eea0db76c0543e918770b01ad SHA512 2245e301faa437e1d6341ae987f1effd6d5b81fd990673e9f4b0df0b4e107d0a3f941ac725f61b5bb9fcc76da77c7bb3a9c96f8d111cbe7ef9c63aad682053a5 DIST gentoo-kernel-5.10.111-1.ppc64le.xpak 55894424 BLAKE2B 2847e81c373975fc405a3983df4a615b771232319de9c4bc745b61a3f0d0085d911535eac89caae21c8a747dc5db5a0c80ab655259eb430c5addf0acec46b7e0 SHA512 787593168572faaca2db999b756b134162d62df1686c5a91846aa9daecda62d82cdbfe1e330abdfcd696b98933b26dfe346ac6442e18c6c7e9ddef8adf3c601e DIST gentoo-kernel-5.10.111-1.x86.xpak 57492321 BLAKE2B ecab9015e8a48d8c3c8a01ab525ebec5c1bbc5b3d382ff2fbfc69ff37d14bb0921c9674144b92707896586cc76b7d1fba312b29519a181cee5c0a2e7f754a779 SHA512 76e280c7eeb884acf7066955f4cca7de03642355ec08790ea28fb672c409ef307e6c9a939896018d209afb2687a17f1a621ff8108b1af38a01db8285bbe47aae +DIST gentoo-kernel-5.10.112-1.amd64.xpak 65779289 BLAKE2B 1d94227c1fde8938dfaca4e2d3931813c94d26540f6b92690877d9cc9775a59a870589f5ad2017e92926e875922f321a267287a759b93803e026690b51ecf69e SHA512 38c3a120f19725a138c290ec2073dda56c2890b687151bca954f0b9e667a9434eda0333af2487a494b6be911cca933e3a4c3421cdae65b94d22a768fe414ae00 +DIST gentoo-kernel-5.10.112-1.arm64.xpak 61043728 BLAKE2B daac6db8b960c8638d2c3962a0163fe007caac23e51b8ab1e308f295b75c0ae8dc6eb39c5928c400e697c2c2457c8505dea04007261e6c1d1a472aeaac9096b9 SHA512 7bcff951f58c2abf1b28f80d6278bdb7b0fbdfc647f56fc8dc00daaa67c5f03469c427c7a1c5796b18dceef45c8ef6dcdab44f64480b5845402df153b4d347b3 +DIST gentoo-kernel-5.10.112-1.ppc64le.xpak 55835819 BLAKE2B 7bacbe611e0dcb8220a6a1314187013b11dbe57e0f5f734923c5e1dae47904051e1e05ec774c08d3224e44e99d0929b1ee3adc1638f3b0f15a0d7d66f150e148 SHA512 da052891d940b9babaa3a2e9a4245f83f956d00c391bd2ee42636c07e757647d6669b2bae3f0fd9023f9772a999d6fc6e447c72298ae042592295052c6a437bd +DIST gentoo-kernel-5.10.112-1.x86.xpak 57401622 BLAKE2B 5f2091507bdbb9b2944c6bb4c54656975fb2ae585c591d6bd073d91710b17453aa95429eb6a99671f00a325382058b1df4b972b20f06dd46c9d909bc8462071f SHA512 4db33d6926b0cd996ff348489d111bd0c00af48a9382373584594a6d66c94fd5a001a3fc604cbb5430e9a8a3e4c2e4214ae023710604c909900347a2e5924076 DIST gentoo-kernel-5.15.32-r1-1.amd64.xpak 69326816 BLAKE2B e26042a6d9b77d98d2d49f5f00bba7128a5498f01b4309a0d24e08f4d38f9b9b166bdde135aad75e005f7433af331c9bee60ec166abad8a8ccd83afebcc43dad SHA512 040cd5784b2676d58ecc7b24a1a9316ad96d2fbe03add3b4f9b679285b25185a6dc1bf1ba1a40c816763e7088bd40a185266dcf535dbb578fa5a005453ef1f21 DIST gentoo-kernel-5.15.32-r1-1.arm64.xpak 64197193 BLAKE2B a50633bb2a4b3c7a1ac5df5b38821b7df24f15dd883169b6e91c6d934508166fd6236c4dc3640b0bef994b7aa97551ba9b9aea8ef4e6ebb80b9131c61945045a SHA512 c4e922dd2bf942c6be335387e4266a1ed3d27ee466f7db3b4de24774e20b68e5fd2f62c5a3cb2f84db7e520211e1dc6f0c9f27040039da372cc37bafe06ac15c DIST gentoo-kernel-5.15.32-r1-1.ppc64le.xpak 57890732 BLAKE2B 7e5ec0913bf2cd77bbe726e48bd236867a7f963777ceb2cf5dc86a410e98e4c5af5888a75f304492883fbb821813a8d6428664d21c55af1a36e7ab7cc9a7ae0a SHA512 c77e1e4108b06a46758209bcacd45bc42dffdfdc273290774550b8dfb1c7a4bd287db95dba4dbcf17da88db9a0a6a04cc14a20f75dcb9f467d7549dfdf9fb33d diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.112.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.112.ebuild new file mode 100644 index 000000000000..84bead9d866e --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.112.ebuild @@ -0,0 +1,135 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 8 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +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}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + ) +" +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 + virtual/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +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 "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv 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 +} |