diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-28 22:41:01 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-28 22:43:59 +0200 |
commit | 55a50924f0be6fd6fe5177022ad8ad2f9c16d4bf (patch) | |
tree | dd07cb7c4c524b6962133ddeb2cf0a69bdfa0936 /sys-kernel | |
parent | dev-util/debugedit: Remove old (diff) | |
download | gentoo-55a50924f0be6fd6fe5177022ad8ad2f9c16d4bf.tar.gz gentoo-55a50924f0be6fd6fe5177022ad8ad2f9c16d4bf.tar.bz2 gentoo-55a50924f0be6fd6fe5177022ad8ad2f9c16d4bf.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.4.115
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.115.ebuild | 117 |
2 files changed, 121 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 5d9165858c99..cea18fc72af2 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -26,6 +26,8 @@ DIST genpatches-5.4-116.base.tar.xz 3335896 BLAKE2B efdbbacd50bfb4a54d3de569f22c DIST genpatches-5.4-116.extras.tar.xz 1768 BLAKE2B 34c8926f21ae07fa0b18aca7c85273986da3810180e62178f841023e7f896417eb1fad53084ac6f8e140ac90adad839494c49ada159290b806c675eef76c1962 SHA512 1abf8d8cfc7fce46c77d1f3f431b067b2ad1eaf9afe3c025d786b8a65bfdf9e469a72a75b64a0fd191487a391f2a1e717aeabd5634fc372d023d1f5fc39f1f6d DIST genpatches-5.4-117.base.tar.xz 3353396 BLAKE2B b4fdd41a247389b695bd5f84cdf1f1bb3df1db236c919375998e273aff8ed6b5a503d58dc8d3df8ca4fa1d2daf0735dce232841ef70018804607b6148f8ead76 SHA512 9ff4502b5983d95182b6dd383e31acbd5b693c0f55a67934e54e092891097cc13bb142a6efa25db127773cad6810d83e835458420ca7c2973e3d98ec188842dc DIST genpatches-5.4-117.extras.tar.xz 1772 BLAKE2B ee10f6f48ae519334fcaf405f751d30b2eda6b9b9e5bbcf5a5efa7a41741eca11d61931efc25548a148ca4c64cb28acb9d518920868a159c4813c404f131bbc5 SHA512 94147b0b028deb471eca0a2e302e9f04e5ad8aeb06dd7bb42eacc7d377f514adfea9733e99aae4ad14a85ac87bfd5c90c77143a5c2d4390c2157d6a937f09417 +DIST genpatches-5.4-118.base.tar.xz 3359396 BLAKE2B 5617e29367808fd5be4d7cd95bbfa2680f07fcdf0c4b02f3a5750f715a0e728ba3c1cba82254495cf1496a53a174c6209821d57984c0810c7665ce325aad90ee SHA512 496d33188a6fa440cee3997b4367c57f46e398b35799a2f4a349f34f5947884e7c28df56c4990a48ae1c8cf46932bc86c7c1fcc9593ba7e1e786943b55373bf6 +DIST genpatches-5.4-118.extras.tar.xz 1772 BLAKE2B 0da077edfd1be718e67ea06824f29b86c645597be80c9b7fd99fbab25b1638bb3e95d2a0ba3b0c6c31beddee7d6dd3fcc89c640139ff787ecdff1e7d0b5eff72 SHA512 9b99f9f6ae84f10db1dc3b75df6c4d095e6624286bd1de888efe3d063e06c9ff44dd51f18ed4d153c935ec6be48d045f8286db1a49ead4abe120e20620ac2307 DIST gentoo-kernel-5.10.27-1.amd64.xpak 64103968 BLAKE2B 68f1d8dda132b7e808f2becb52f9b035c12f4ad6a353bfa51618ec2ba24f527a5c1c3f4244b1cd1418cc34041d4114703e44c98cacd9aab13aa3e7e9941d2abe SHA512 c5eba8f18288936e621956248b3021c7d3c25c0a598ac1f7301287e2ae5bbef29c45d29f0b8b347dff99dc0b9408fbb299162998f4c7d85f330aa5526e4a6eeb DIST gentoo-kernel-5.10.27-1.arm64.xpak 59322840 BLAKE2B 35b4da2456931ff3316cf424448991c96d580dc7d63c6211f72b630ec40b27afa684c3e471995ace7d33c535e61c3bcb2443bef6a780b7ce1450e9e3abe7825f SHA512 c3465d647975785093fac8812d4cf2e7be9e4ee0c13afeb92ace0c93f54559c030ef5b746e169ec362b53d9d5df1bcb6c3aa9869acdda56c792803fc3ccde7c5 DIST gentoo-kernel-5.10.27-1.x86.xpak 57074563 BLAKE2B ec113b1cd361f46d948004f58b0cc81edcc96d68fc5e949a6f4c0d4c634189ad014de8fa028d9282c89f8e75ccacb95034c0e01db21f465931e2ba78ee81f7ea SHA512 c1892e2fa4db321572f76f92231e9f5b3fa4a88a8af17fa5d4f8d754dd565c40eaa8f83dd2e991ab5837d821abe5d7f012fd56cd793f6e0fd6b3f2f78dab1621 @@ -68,6 +70,8 @@ DIST gentoo-kernel-5.4.113-1.x86.xpak 53180295 BLAKE2B 10b9a5457e123367949755ed8 DIST gentoo-kernel-5.4.114-1.amd64.xpak 61383665 BLAKE2B 54805c103f9be50fc636b7d04dda5b1bea627e0b41e2a929104193cbc0f0e02d532f399ee45d835eb422df9ae0343c2835e17e229e634a9c15d7d162bcb109a2 SHA512 78670a3802cddabe1b47a09ad9c2da31fbefc40771daff8a21bcf0f7a6bef11ddb3d047c45d724e925f5faf5b5493e2def153ffb4a58a25e81e6d84044b177b7 DIST gentoo-kernel-5.4.114-1.x86.xpak 53172196 BLAKE2B d11355419540bb3149a6f9b1f9d8af340fbdf4f3e9bfb4fbd99a03de508e91b49534258dbbcebfaa48aa25b03093556bb5c3f440a639d3982f3b60f30754c85b SHA512 2b2ac728cfa27666bcdcb7bd1bebe8800f407796a645028820a549c74e1f17095929ae9eae05f2b31700899cbb328a3b588912e435d096af8d712c8008b7428a DIST gentoo-kernel-5.4.114-2.arm64.xpak 56441576 BLAKE2B 1eac86f2b8e73c69f018fddc276699bf6cee7719828f0c740cbe075dc9edccd80ecbb79da9c3cba4bb95d8a1903127c315b4a42b785e2933d4eb2efb2b2e163e SHA512 cdff3b3c277cc3a248e636a609ce60bf9d94465a73f96a1d38a77743f61898d2e848d3377526cb4c5e9292ff2755e67b5e93dfbc18653da71dcbbe1f70cde8d4 +DIST gentoo-kernel-5.4.115-1.amd64.xpak 61381562 BLAKE2B e36468cb61a73daffd9709bc8e13eb1c11a0ec1e8f68df55c07eaa50e7538337534ca48342b019b308c99c121628f55c868a5577b2c1a5a4a67cdd72a6fea8ef SHA512 5bb1836cfd7b746aa5d8e947d6fe63c368f86a0d439e56106a77b3f3c3999d3761f238bfd76b5785035ff68869da271a2c3a4dfb5f09fb16b343e0d296ad9d60 +DIST gentoo-kernel-5.4.115-1.x86.xpak 53174038 BLAKE2B 497eafe82f52493f8fb9c9703be26f6df39a8e7f5d123c8e26f46b53c6d13531674da658d965d50159e52275c1c91490136372bc14828a90164bb21aa8ccbf32 SHA512 c10f98b0160f5809aa734c9e74f189e9d55ea5e4b568a9fa6d1d269606d683dd117c193cea412d61ac9899b2690ac364a2f57a16582c58ed512386e78d029b8b DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.11.tar.xz 117619104 BLAKE2B 81300c27bd5476387a83123aaeb4163c73eb61e9245806c23660cb5e6a4fa88ffc9def027031335fa0270fc4080506cd415990014364e3a98b9d2e8c58a29524 SHA512 a567ec133018bb5ec00c60281479b466c26e02137a93a9c690e83997947df02b6fd94e76e8df748f6d70ceb58a19bacc3b1467de10b7a1fad2763db32b3f1330 DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.115.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.115.ebuild new file mode 100644 index 000000000000..550411ea18c7 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.115.ebuild @@ -0,0 +1,117 @@ +# Copyright 2020-2021 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##*.} + 3 )) +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 + ) + 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 ~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 + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.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 + + # 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 +} |