diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-07-25 13:17:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-07-25 13:17:13 +0200 |
commit | a90cd31de18263560e236722f1789ccbe98cc9db (patch) | |
tree | 5c2fe8a06a698e7d17abd1668fa337d2bc0a80d6 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.1.41 (diff) | |
download | gentoo-a90cd31de18263560e236722f1789ccbe98cc9db.tar.gz gentoo-a90cd31de18263560e236722f1789ccbe98cc9db.tar.bz2 gentoo-a90cd31de18263560e236722f1789ccbe98cc9db.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.122
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.122.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 3e4ce612a06c..ca887b8a35cd 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -4,6 +4,8 @@ DIST genpatches-5.15-126.base.tar.xz 4920632 BLAKE2B b35059e13c2c9fab04f23fd8b41 DIST genpatches-5.15-126.extras.tar.xz 3936 BLAKE2B 7bc9d712efe225829760abd48dfac3bf1556750189f99dd77590fdac8d4f5aa1491a49da029e9faf6dcabeb32aa0b2b725223566bddd3d43a41ca0432348420e SHA512 f196a93dc976eba4bf3a8fe5d52229de0e4a4cde31c58be63be35ab65c4753969e4f0ff86b77ef0d7375392b55cfecfa93a4d963d79f3c5753efbfede6a19a17 DIST genpatches-5.15-127.base.tar.xz 5054384 BLAKE2B d6f7f2c26d4cc35c62243d3e59a6f7c6a03243dcdaba6abc76d36d35f83f2f38618f821a6c42a34563043e1382a448c2d53d6fb52b71195a4913fb80fc602a7a SHA512 e73bfbff7218f9d5ce2ce82ec04b401cf013b8ba58fb08b0fc6a8c35fd146e1e1a899a291b2eb5c2100721f95def82aa2294fb67032143371bd9a4f2cbd0a0d7 DIST genpatches-5.15-127.extras.tar.xz 3932 BLAKE2B f818f3a46a46793a5726e7931c989e64bd61e077718fac4c7125efb93f4301de930a6fd5c3a9b18cb53a0339539e5973650056dd9b4a4a9e66e6877124bcd925 SHA512 6552611103653e8b26a951ede5b6133fe22d1c3f6d21aa9f381ef309fc82aa2edbfc3857e10066125dd0f9db3b62aa1e6fc2fd9a16e033eed1ec975f4e64128d +DIST genpatches-5.15-128.base.tar.xz 5056336 BLAKE2B 7b25accd5e2c987050480abac7b79cd280820ee8b3607c84a58b6bc1c30c97c209b1a392c9c92abb7494307ccd138358674e7a984cf4766c2889ec9cee069546 SHA512 be70279f9cf6bdccf0bb3436b13cabca61e6360eae2d33e576f408ef2d32ed3bbb449083b0a84c31f98328ddda68b587f689487fe8346df41e83ecdaf702063e +DIST genpatches-5.15-128.extras.tar.xz 3932 BLAKE2B 64d34eee4a4ee36c8d2431d8341723eb0ec32be703fbb3927e7984e9ea365b7907f38b2f013e725221bfb7d867eb63da4e784506615e1cacf9018c58981a2ce3 SHA512 b735304d7990925485ca45f1cd0f6434a96af45269bb3e10b9b67a41f84440654f62831a5160125f8d0c1ff4587ab00294caa1fa5223e8daf86dc0393bc8a695 DIST genpatches-5.4-256.base.tar.xz 5956736 BLAKE2B f1f5f42e5383da96ac4dbbe9cf7d8ff8c7194c10d33b914ba36d29e98291752354597951eeea197f11ed05feff4c83f777c49fca71332c2276612cc6b69f1bd9 SHA512 888ded20e68dd0ef134c9558c4edd8490cf73b84fa9f9efc1dc70144ad5accfe560200592dc93ac5d5919bdc7cd9f70a3832d46b9466a136ebe51cce75b069ae DIST genpatches-5.4-256.extras.tar.xz 1812 BLAKE2B 3942c845d2159bb2fc927c5f19a3d5fc0cd7abee0a1102e07a4bb657a213527575fac692ec408f12f679e3a1e791087237baaa6199e92d8062bcc4576fd142c1 SHA512 6242d77b0a7de7542395a5461e6aa8b2a2003f77ab81b1931511f36b42b914bad839ff2683154371118bbd81953de0604d23d75f662437686da694dbb610c8e3 DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3fbb95eef61701bf953df6e25e37a12fb12702b57f66e30ac757f28d9d1bcd0f2fbc38775d5b73922504084ff95f9fda1d78f SHA512 e3777a612facad029782fe63abc702af06197521fcf90f4c80311fd7ad94739209573c7de910dfaeafd88948c2c3f3d29bb27f4fa1069475295b6f5b29e14116 @@ -34,6 +36,10 @@ DIST gentoo-kernel-5.15.121-1.amd64.gpkg.tar 69539840 BLAKE2B d42aaea6edaa2930c1 DIST gentoo-kernel-5.15.121-1.arm64.gpkg.tar 62515200 BLAKE2B 0359aacb24fc99558ff61493e39dc1cb2b324c9a37d58cb45f9cc25714bf204fdf50edb0625c09399abd2e30965609a9d288024864b3fd237c69a0d67c57b651 SHA512 f66be90de8b144989dd3ad998a6d6a4e9246caaf8770642f1b7f292ff61d8fb31494d2162c76b7e6f5204bda8bc4b00a151c8b38529a4f7a05d35733ae8ebd34 DIST gentoo-kernel-5.15.121-1.ppc64le.gpkg.tar 57108480 BLAKE2B 0659b4db32e9940338fb37cbab61b9a61629a30b3bfb83a81ee9be5ed407bf35270cd9e430778fa4d524402da9a6ceb947590cfeebe7933390b26c3c2c3be508 SHA512 bc988307d11b34ca2efb59424ff372408e8c103ada84881df89750b5253112ceb112034ae8f6c2c13cd6fc2386693d61f054f83c596ddc1c8facae6d25c3f1ff DIST gentoo-kernel-5.15.121-1.x86.gpkg.tar 59125760 BLAKE2B 4d8872361a392faf7ab90475b77a87b1f895603af96fbb8771125b15e1f20f899880491aa7384c8ee5da573f0003a951fa34ec73ecbaac16c4c2e773eec56ca8 SHA512 ce1c9e4d195ac79d22433ad1edbbb5f97922bc027f4d417d5f01065a5a9ce9b07334dae7b0cd2aaa0c00492bd6bb6794fa158b957290a206d3c6c269e2196b37 +DIST gentoo-kernel-5.15.122-1.amd64.gpkg.tar 69550080 BLAKE2B 19e838d91b771456a22a1c003c79af1abbd4f7eb1e8629bb0b226a3e54481bf5514038454ee082945035e543c249657305e92121ffc8fae97003f530725503ef SHA512 00b371cf9039215a02f5cf06790ff76443f8cb504e794b91e61746e75ed99f43fdf94602439744771cd40aeb547416dceb3122a4ecf83b5ae18f3b7628b07b05 +DIST gentoo-kernel-5.15.122-1.arm64.gpkg.tar 62504960 BLAKE2B 7fa1d232e86175bc06fc26bf4bde90c3170e724566779697a8153f14d8c0a38f6a2b31900f02ea5de95cf122b5f955914aadfbd8061ad3d0a0d6d8c0ef23e988 SHA512 09591edcdca3c29e5f78a51a65a7e5169d55094de627be73973c6302b62454f18d28996a72a667814b2cbd8dbfeaac3ea642d6092d6d296c63b077ee979c0fc5 +DIST gentoo-kernel-5.15.122-1.ppc64le.gpkg.tar 57118720 BLAKE2B ad11ad53e8e42220d1efc9948f72e72e41353e73357670f33ca30c8157b6d8e859b05d77ad31a033032134ea74a63bc3de53723ba118c566d4268a9c7d18c203 SHA512 377124529e69e09de0a4f0760d0500bb3550f5bf6752b6264a37dd320f6b99e3aad6636074d8189c4e2f437281d3e2ed7cca76ffdbdb77cd92b19852448d36a8 +DIST gentoo-kernel-5.15.122-1.x86.gpkg.tar 59136000 BLAKE2B 1730477ff339c6852dbe00fafc07caf6a249e65ff7b478c7bfe8e5b3bd14f6e09803b0e64641a1eb280990dddbea948f19f293898547688670b4a3ce69a83d8b SHA512 d00d6fb69946c8fe44a7561e14fb2276326fa365d6e78a31bbf425ee4ba696b17c42a0f1ac412ecfbc40a02fe588e5635bbe0f436d4820c5ca0854a37715a983 DIST gentoo-kernel-5.4.249-1.amd64.gpkg.tar 60528640 BLAKE2B 2397717a13a63f2a2e3dc67595a66882c51224e61618129f9e741ae37ea434f16bc7d5ecb0428a51a5f2be254bf91e79dc08bf5d337cdb249e2309fbb944d376 SHA512 dce3f23c88d192ad5a86be6a6dcd7451d99ec1645fac008233ca9d98947d0ae49eff75c2ff73bb83192fea7bafcd22bc7789e05f93738448efee64876feb0c1f DIST gentoo-kernel-5.4.249-1.arm64.gpkg.tar 56524800 BLAKE2B 220770a04dc54e99d3f0d6ef31668646c273235a380763d7e861b9c37da3c36e91a5d5ce1225e48802c369009d41ea74b45d84ec3e0013fe321a4bac96a7a359 SHA512 a49c8a07da208a103cb88b72c0833d7387e0ad7ea30f303353cb6d4b8886ba5ed1cbb3ac7cac51d9ef026f4f60c19146c853f7cce95cbdf42c2c9a96c7b639b0 DIST gentoo-kernel-5.4.249-1.ppc64le.gpkg.tar 54200320 BLAKE2B 70533946721333a0fea463b6b6d53e6956c8f683b9545c84aab578c8e53a17a39ff01e535f3d22cf70d508bab01bcd525c3058ff4cc65edfa0a73d7a2eb59bc8 SHA512 45f56abce580de3a348c763d4e60a9e3bf6cee0e1372ce78567cfba2275b907851e141d0a07c953d513f9d46e2397ff036fa44c5ced53ba9286a0d945bf6e5da diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.122.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.122.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.122.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##*.} + 6 )) +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=" + 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 +} |