diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-14 18:04:29 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-14 19:28:03 +0100 |
commit | 2320d29fe41c56182e8f06f546124577e1a05362 (patch) | |
tree | 1eb2ed888063f79691de62b3ad08c83174251419 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.0.13 (diff) | |
download | gentoo-2320d29fe41c56182e8f06f546124577e1a05362.tar.gz gentoo-2320d29fe41c56182e8f06f546124577e1a05362.tar.bz2 gentoo-2320d29fe41c56182e8f06f546124577e1a05362.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.83
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.83.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 18b0fed6fe19..d7ccee62ee6d 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -18,6 +18,8 @@ DIST genpatches-5.15-85.base.tar.xz 3424456 BLAKE2B 3b5dd1fbeec6ecf40e922ad97662 DIST genpatches-5.15-85.extras.tar.xz 3932 BLAKE2B 466a3564c1d693c90d925457720960f79221d99f740b5ef67152dbf957d9c44a07b867e916cbedd32c92e268341bbe05d3fe40663e55c358cf4439d3a343721b SHA512 03b9f051fe6a8415b693a64242d00a457f7640dd8fd6ad9659da8deda9ee77b8c52769bb60ca5194e781696e80f703ca17bc1277b1979e1f79e99144a30ef664 DIST genpatches-5.15-86.base.tar.xz 3451248 BLAKE2B f6e8eed94bc50e40f5286fbba797a5f6b4cb112453da76898edbd854a09bdef619a4b31fe866b602d1d49f4d4de80bde7c8192690f7eb82b6a9419a958831901 SHA512 60d6eab7eed68f938590d5412e48d669b69a0366e9b8878317f546743ab252cfc596cdf4af9fc10a7873cec13aa3ccc4f79a61b594fec49a76c6e519f425be69 DIST genpatches-5.15-86.extras.tar.xz 3932 BLAKE2B 327cf176552393f6973d19c72b5972181654e3b0054f64d38c678765740955e5fd0b261457cadda6c968e86c4c8dfa34680bc16fde93a44ca1267aacbb74bbe7 SHA512 4808519ff151f7e7eca7ff0d7d9f5d0f912309708da9689b15d0f17e2bc37b89ebd0157d0ee44a8e86b5929e3ebee739536edebad389f9fee3445c89daabae42 +DIST genpatches-5.15-87.base.tar.xz 3545732 BLAKE2B e69eb4d31984b65ea5e0c216d066b358e6cd4fd9c8c9e021fdd3e5022fa6a9fc804b673bf4433d4b8c6f13aa3d0336f2976aeea50245fbc6640674acfc8bce3d SHA512 bb9ca966cdbd5ef5da3cf4f11038f03495e643c07b7d93eab31d484d5615781361706c54d82e42887f0e5e867e7b8c62f565cb57527a4056be2cb10f0fa19cb0 +DIST genpatches-5.15-87.extras.tar.xz 3936 BLAKE2B 05717f3f9ccb161a5076c6623f15465729ec898ab7a8fb4e611d07acaca96df6b890a3af0890dedf6acb06c7db148df625fafeca5099eb96e31ae981e00a23e3 SHA512 ddda9d1daf3f71a8aade12758db2d698b2230a20b3df059437fba02b499d2a90f2bb5a5c0796b1fdf842ff64e515193ac97aa324a4047bbcceaf4849eeca2674 DIST genpatches-5.4-228.base.tar.xz 5198204 BLAKE2B 35942e1ffbfd792f2479ce2b97c7f191cf5fc5712ccf101ee1f5f7f0486d53da2307237fc2d50fe0353c82557df03fbdfbc669949616dfeda69970628ad98ee5 SHA512 333dd865d3f10083566ddf43ff4d159a6842c3ed92c703dbcebd0832b0fdbc53c0025856eb1608ac485c805702608e52c600e08922fb831536bc6a099f74f1d8 DIST genpatches-5.4-228.extras.tar.xz 1812 BLAKE2B dc4f0815c8915ae371db4da0ecc1066a269547ba1a967a6067121de25c06445356b6f1339088d402e7f9ca5dbb91b49ab717dc3168760cb26ff3e279177e16e4 SHA512 7ab2f0466b677b3506c080bacae1217b54b35ccb45f65000757bfa09e3ca2834a3b78c4b03730f11c6948be3e3a04c1fe3bc562585248039185d94ba805adfe7 DIST genpatches-5.4-229.base.tar.xz 5214840 BLAKE2B ede38de7b09b59ab96596aa4e47f7d2dff06e8e3e403e0b3a15092991bd21504ccffdc21b8fc5857fbd21ee89842f7a6d74fd88b5c7426ae2a5dd3d50ce8db51 SHA512 ad086f2b00e870d54b1605eac7fe537654c09830b69c316cee71a7bb5e621e6ada37ef780c4d2c3ea9678e4a72c19355acac2648e16943ba0dde4e711909826b @@ -76,6 +78,10 @@ DIST gentoo-kernel-5.15.82-1.amd64.gpkg.tar 69816320 BLAKE2B 95d5c5ec08f3cfd5255 DIST gentoo-kernel-5.15.82-1.arm64.gpkg.tar 62894080 BLAKE2B 423c56d412175022473078cdd66c7f989bf7af6a9cbb0131d306a921d7216018f8653ea308c7f6bd70470fe22a26f06b5934ac240e4d96d1859cc5bbbb0c8773 SHA512 a0b135d6440ed88c1684094a1b0343827440f10db356f44d011c38f6b069282a98a4abc1d137765615a1330459e3e073ca0fcf887354327d54752033c1237459 DIST gentoo-kernel-5.15.82-1.ppc64le.gpkg.tar 57221120 BLAKE2B 656fe1cfa2fbe58b0ea2d36345cc8198a0831893ba3b1f80df34c28693905aaa5d8e2613892c158ad1ac9a321aa1afd3b5e5f82d6c5f5b706c8d758f8991eab5 SHA512 2d2e49e5b81eacda9634e45f75cb11c2766c97b7ea6ce0d78c2ac2aa824a84bd53bbe7232805c0449473ad491cded3112017d9152efaa4f73c7c3280fe35675e DIST gentoo-kernel-5.15.82-1.x86.gpkg.tar 59146240 BLAKE2B dd23de4108a2a28a4d2aca028da7fe5ca7d039872a1ca3953bf5a0617453ffa75ff143d97dced02a1062dee5efd5524378e0746fc542a6c4754567253cc66526 SHA512 0c8b82845f12b5f52f888a506027296b6e67fdb0ad54c74dbfb93515c7aad34e83ba5207135d2c08fcf662564c5e14d57cca4a0c8aa7be681b6a68889fabf896 +DIST gentoo-kernel-5.15.83-1.amd64.gpkg.tar 69816320 BLAKE2B 40ab08a5ddd46312a4c4cebad848b9280697de7e890180c5f51a2245d4daeb4be2ee9fcd73a49169cc876940fdf800862bdd02beb4b9411c55155fa94304d84c SHA512 eb7ee34c860dfd3339ad81e92affac1690bb765704cac6d655b0a3380113a73021400a36bce1b4f8b48411c0ac533300959839200a400be84a622c5c565ce07d +DIST gentoo-kernel-5.15.83-1.arm64.gpkg.tar 62883840 BLAKE2B 817ffa0ccd261a5c04aa8065acce11bb332067bcd2ebc975c396fa5cd612a26d0603090737a31985cf656af7d29e955198911730bceffbe0ce2cc5adb6ccc197 SHA512 36e0a1be077510a6b8f7858744dbce6b5fa0d4d169cbba42f8e69e540f37d021d390b34d4dd79f01124fa15e8a4adae4422cc2a7a51f9695b7fc29cdafecede8 +DIST gentoo-kernel-5.15.83-1.ppc64le.gpkg.tar 57221120 BLAKE2B 280ea39da46333a57d640ba7c8a67f8a434ffec6b9c9345f6d317b6ff3b5cafaee978d18c2c5b5f9222a9294c2369923a93e284fdbd79a46a530b67e552a7395 SHA512 04e7d30f4b9eba907e2a1e800d445bda4a71aa579e545bbcf276f8e7dd29830b071514ff6d29bb85bd8f4c823313502152934ec88b82a4b807a503e0ef54ac56 +DIST gentoo-kernel-5.15.83-1.x86.gpkg.tar 59156480 BLAKE2B 8869927abc2afdf936cfff1daa8d2cf739ee15dc5b279135249f9a6db5ec618628c8336376b5c88ab47d6f6ab7ec9847d621a357b5a379088bc3424756c54eef SHA512 4d734959db23b82ed6c71a9d996de36cfa37a8f7d20a2280c0a0967e29bcd18278f01afd8fc28d27c4b67c9ade59e60e9353d4402c4de837d2491c2f62e41dc6 DIST gentoo-kernel-5.4.223-1.amd64.gpkg.tar 60620800 BLAKE2B 1fbd9fdc06da23b51f136db8eb5d2db76110116c5f73868b07162d853c5ef95094f953bc02686f2855b9b5b0954792c4eac884f6f81c1dc524d8c14e4310849b SHA512 9ed74651baff980bc578eec8cc66486d5183a042943e77d6f11e37ae26f7b8892128b1886038ec4b683762a61bf1a35ba2cd571037118557f4dd4f4494b2c720 DIST gentoo-kernel-5.4.223-1.arm64.gpkg.tar 56821760 BLAKE2B fc2ce930c0bd6d3c3efd51057e40bd1c83db3a812c8aac5996d05978aae4dbe6163012699c72fec553d83e1397e6cd9601fefbfe3105c30523ba49f1daac4a52 SHA512 d4fa5d7570c6fc7534d92ff23fedb2349196d0b07b7a8ed8fef43b40cd6a63205ffb30378340f704652b4e3a16b45aec3ab6bca9ae308548197c5c9383a1f452 DIST gentoo-kernel-5.4.223-1.ppc64le.gpkg.tar 54343680 BLAKE2B dc69045d3281260f370a97e2f77315f8488fc730980e7b3a93cd85ef3fd3044e18a0f8a1bd81d48e33acab8eb41b07fedc3679e4b1a732146d13b3552febb753 SHA512 b0463414a8a1503d393d8446c399269167d871591da08258a258f280cddb81bf8a6f20f4e3a9699cb64f2d7118bd0347b77cdb52f7340486a41b8bcbee1f6ba3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.83.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.83.ebuild new file mode 100644 index 000000000000..2421ecbb48fa --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.83.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2022 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##*.} + 4 )) +BINPKG=${P/-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=" + sys-devel/bc + sys-devel/flex + 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 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 +} |