diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-05-30 17:13:32 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-05-30 17:14:14 +0200 |
commit | 459ea59cecb5296dba9cfec644eede2f6974fed2 (patch) | |
tree | 0cca45b0fd9fc0a604875026d3d7969aee310778 /sys-kernel/gentoo-kernel-bin | |
parent | sys-fs/vhba: update EAPI 7 -> 8 and porting to linux-mod-r1 (diff) | |
download | gentoo-459ea59cecb5296dba9cfec644eede2f6974fed2.tar.gz gentoo-459ea59cecb5296dba9cfec644eede2f6974fed2.tar.bz2 gentoo-459ea59cecb5296dba9cfec644eede2f6974fed2.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.4.244
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.244.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 ec653174179d..a071e83e5031 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,6 +14,8 @@ DIST genpatches-5.4-249.base.tar.xz 5692112 BLAKE2B 8057ddb24ebbd5ee1b4fb5f5a36b DIST genpatches-5.4-249.extras.tar.xz 1812 BLAKE2B b6b7bccf77851a17e8b514439a50c44de954ff461af71414c325ca5c0a65d7a79ee92f7a8b708afd28a3433acddd13aa3bbd5afcd82b4181e57ea05b008d7090 SHA512 c4977abc2bbb1c2319e9d2e4aed38419f9e2a70813e5f28d2b799533fc945574d9fee21c881b6dd4926a9c2ebe74ae414ada4993e3fcbd117b6536f983533282 DIST genpatches-5.4-250.base.tar.xz 5760352 BLAKE2B a0780e42391ad416839c34d85f079f11e9bf1579a293ea1bbdeb95e08e76d1d3f7956fcf9c83eb85223016bd4816d23c87e0b345bcb61b5076e5bbbd42024244 SHA512 8dd686658217cda074e0731c84d3e8c63bfa914b7e607eab28ab46c8cba647591fcd0a726108a08c826290e9edb01f29b6bd135af0991d818666a853764eb11d DIST genpatches-5.4-250.extras.tar.xz 1812 BLAKE2B 0240e10d23363cde222279e844bc26ef31228e01ca433879faa24d7171dd2c775c0274df9cbf5a6cc405fd89836d059fd978456c2fc57db17c50bd9eb0d69827 SHA512 0d673a62837950215bea4ede7bb38af7fbf09305c5ee2b4b37da83a9100076c40f5b185395640139a1e1015e4417078f66b4c316d0a023f844852d71f2b851a0 +DIST genpatches-5.4-251.base.tar.xz 5798892 BLAKE2B a519f23086a440d560e5301b77aa1a627e97d9c2545adddc6fdfe9b55b35dcbef285a6e92d4ab615b517177723875a53b6b5f1dc9c237dec3f23acb511e08be7 SHA512 c8d228cb18f2c64631ee5a40d7de58e78c7fd2c452f54101d0e6f67149d5d3df30076b461dada5bd862e4b97daf30a6d15c3f50526b46156d9ffca946b3c65d7 +DIST genpatches-5.4-251.extras.tar.xz 1812 BLAKE2B 440f5d63b80e31753c46c2c2bb07bfdd257cac6847dfaed63a19c9e255da0e6ca31f5535718572afa143918bbab9d8651b0d8462f5bce619866d78acbc063682 SHA512 54d1ea7625daff0c8d50f8abfba616378d8bc4c62cdfdc03648bec9312803464d0c662bfa619c357a73247c00b22b9725896cec5aaefc66ef811e0f97ff62e91 DIST genpatches-6.1-32.base.tar.xz 1474460 BLAKE2B 43060d16a84ca2c65ef9d7447747e6b857423134fd518e05c3c052bf5c664c9a0f8af97b84e7d911c84766cf478b71695537a3c56a367589bf37adaac032a7e0 SHA512 cf8bd867d09b68a197368c546ffa4c626b1c30f0f7a63138129d3abe8a0479c88717dff6ea0a79c53d7f108d2a1fedc433b7b2088e20f082be921701e5d7d790 DIST genpatches-6.1-32.extras.tar.xz 3808 BLAKE2B b697db5da31e471ab0af978e722c12ca2d8c5cc371f1d4c2d11c5816b34b479e6ac17f1cd9ab26826bacb065e0a254e18b767c9cfcc12fb16c40f9d73aa1e3d9 SHA512 9113f7505f8dd5a535e2550863dc8d69a6961fc4180d5a7b77206a397db570571f083e39f6be87da072b588e4a2d1b9c1e4b2a725172c9a799b3dc8e88542f66 DIST genpatches-6.1-33.base.tar.xz 1668040 BLAKE2B 60823b42a19d54af313039f75bbd4656414201e11b088c49c3d1c01405da82f9bb933ffbcaecd19a9d2b414553754733059b667f458c4d78fb0e4d46c02157b7 SHA512 2cd6755b1b01fc58a2a4f9a0b5c15c3e2ee5ac74bbf67c01ee4d543e6df30ee35f01bb23aab8e4b7fa0e36fbcb6cbf5e07bae6ab21010d12441d34ea802085fb @@ -58,6 +60,10 @@ DIST gentoo-kernel-5.4.243-1.amd64.gpkg.tar 60528640 BLAKE2B 7b09d8e199cdf013a19 DIST gentoo-kernel-5.4.243-1.arm64.gpkg.tar 56524800 BLAKE2B 4c1de4817afe67c3f4bf727e0eec2e710f7322bf2bb85038f789b953abc9fc0406266ebb8c9d22a7555176df44c9309b11bcbd193a4b540b70fd6a4901ce30de SHA512 c82a0ee7a8eec058086b49303c477278c3a6b6c93931b73bfe694001f99de6bf8109419b0de6c7636e2a972af1ab5936c2132e59125e68ac2c7761f51120b27d DIST gentoo-kernel-5.4.243-1.ppc64le.gpkg.tar 54210560 BLAKE2B 56c7938ace76e4d404536b2fb1c61ee4702ff618c389a644c9ab5eeaa7a54aa36d5155eeb0da3f11279d5090ae83de839a3f796a3520aa2db9b9049b7ec8bb27 SHA512 516c2cc6b9ac7428ebd52a40888093a553f8bd8145274c5bd9b0647bb94b26a133b721fb2e1b78701b26ab96b567e60397e199530454993390ce62e119b99e1d DIST gentoo-kernel-5.4.243-1.x86.gpkg.tar 52480000 BLAKE2B fde5455a18d1cb56ca78f48cbc92d6797479de159edce32a7bcc780c173b63e65bb2c2b0a78dc074103800e7e3606478383ef5647fed0b5b858e50dabb08a5eb SHA512 f0e29394bc5919160bc08f9e9960bb2c07b113b24c3cc053393b0c6f656768345f0db92a9683c97bdaf191bd0343be2c117b4421e6667896c8851a7185143075 +DIST gentoo-kernel-5.4.244-1.amd64.gpkg.tar 60528640 BLAKE2B 304077b1c25137f15984e4ce6593519186eccdf491eb98046a12194651ad973d9cc3a9bc83f9806b637e3898443c9fc0f97449528df6dd91c03ff1948dadb528 SHA512 a518e841d3b02afec7118cc344476fea2d643c9e71289bff6085e3bdd7b77e098e609b1d24336426192b5c22789f34e779d97441c6d5d22cd2b9d61b5712a9ff +DIST gentoo-kernel-5.4.244-1.arm64.gpkg.tar 56535040 BLAKE2B 11eb5cdfaa750cb84a64f804af672834d971e8bc8df67d3c86dcb3274d710f4d4fca4ff8d611b520dcc3a9fb4c36be1892b7fc38d06bca84545ecdb4ac21cfdd SHA512 ba63594c7546afbace4eee7102c05d66f8d93d596baf889b0224d753d806c96715a8f2088237ae1142ab7b1b5cda96fab38a2af1600711402ee25aa2b5ce016d +DIST gentoo-kernel-5.4.244-1.ppc64le.gpkg.tar 54210560 BLAKE2B 879d7c2ea090a0f09a5852cacd2409baa0efcc8436f266f02730f107ec3dfd90ba561a35bd83c5b5a7bbd68a193a4e5062f5bae1cd5fd7aa7079ea4d59b2f2cc SHA512 2bc13bc6f4823c2316d31c25494345abb79db4261320209cbce07b504eae4e70e41bc95af6ab4c01685fdba610836d5dc4de21e446972c31073ac0ef8ab80da4 +DIST gentoo-kernel-5.4.244-1.x86.gpkg.tar 52480000 BLAKE2B 91f563979539a150518ac368fe030bf08e48492037103f2f542a9148b0038f21656536d15be558e1bf193990da93560d37d23560e29f83a0b31c4c79bb8f6400 SHA512 f20773e9ffc3fa3d562a12cd0e184bf3801560b50b4a408bd923ed7381aeb658b480504e8324943d56b461bed7a9859b44e5a804f3f873e61b08df53112b55f2 DIST gentoo-kernel-6.1.27-r2-1.amd64.gpkg.tar 76646400 BLAKE2B e84b065c853d87b8f808c7c11a5791d3838b5648bcf2819c9aa5b74eb8b011a3bea6b60674b64fd69cde466e29d94b35763d071d5ae760f7582944fb222e2a13 SHA512 3d78e661c36bb954b5d6681618dd22fa82270c08262a0defb212dc5d7b1a7ef911b0ec0a069784d4c30e0faca34d2c9bd3e86b243e6f44a2be4818e04641ca2c DIST gentoo-kernel-6.1.27-r2-1.arm64.gpkg.tar 69294080 BLAKE2B fb631219b0a2fffa68d3ec63b3deffd97381dc42f2bc20579e2bacf3db9ce62444bcfaa5fe11ee7b06601203644c814f264d3a15025e436c42b7314dd1651444 SHA512 10f09b96f870309e15a2f1359647a396822a8781bb858843c1fe71ece6455e30c9477cca31522cd4244bca7f2596aefea68fc2b4b452e496f6cefdab0c78c7eb DIST gentoo-kernel-6.1.27-r2-1.ppc64le.gpkg.tar 62709760 BLAKE2B 5cb3a76645115f897ad7d30fce14eea5fd14729c3710eb5bd205fef5ded7e550707f8bbf9116f8eb0271fd0b5150a7cf0b5a383018568fb90c52fc75f17d1468 SHA512 f1febba8cbe2bb9e1f443a6763200d041e85f5a219ed2511a7290f9ceff908762331f87bd9fe9aee0b041e41c39bac5f5f6dc8cc6f600f5dfc8316cce00a95c0 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.244.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.244.ebuild new file mode 100644 index 000000000000..70e2f755ed95 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.244.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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##*.} + 7 )) +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 ${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 +} |