summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-30 22:22:56 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-30 22:24:06 +0200
commit6901cdd7bfb2558529308b2231545de4ca6f3bdb (patch)
tree5810333fd5ee5c7f6a4c5677db41078d56438bf7 /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 6.1.31 (diff)
downloadgentoo-6901cdd7bfb2558529308b2231545de4ca6f3bdb.tar.gz
gentoo-6901cdd7bfb2558529308b2231545de4ca6f3bdb.tar.bz2
gentoo-6901cdd7bfb2558529308b2231545de4ca6f3bdb.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.114
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/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.114.ebuild127
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index e4373f7b08f5..bfc4b256d836 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -12,6 +12,8 @@ DIST genpatches-5.15-118.base.tar.xz 4596840 BLAKE2B d33cfad9149f4f80c98c649c52b
DIST genpatches-5.15-118.extras.tar.xz 3936 BLAKE2B b74dd7b0194cf6881ef699d0b1db858bb8c44780d5263cbf136f9d181a48420ae31886cd762f819a91b21a2f2acb83f3c46b1950dc53367d8efebe8c86a9317b SHA512 1a3671f3abf8ae04afe50639fe27dfbc07f9f51b297effcd587704f88efda801d3df3255f9d04acbdf4bfac9986a2788a54f4e9fe22344aa0166bbc3de260880
DIST genpatches-5.15-119.base.tar.xz 4664324 BLAKE2B 8d594786237d670753f237a4948f5d0e7a85c9f5762f082fdc65dbdad9bdf84422c110d7da2defa10eb548fb03cf42420d54dba7c8b62d51bd1ae04446294783 SHA512 8cc047640fc20b1cf9a91809f0ab4ffcdc00e69441f52c7a14d411b254f6cd7e6921dc1e037402341dfb443cfc08a3032540dd1fb8c2c5288a15100eaee896de
DIST genpatches-5.15-119.extras.tar.xz 3932 BLAKE2B fe9680afdaf4153177cbb2380361b18fa252f26a93f57b64e14fd761774596576ff3269bca33fbc6f41dc58d2804e67a664d44167dcd75f8f63c33ff7cc3da75 SHA512 ce0a62af36ef19b6543eaf84491447d65d11bf560ec6db450545b5b88d37552cd3933aed20afb0912e12671fa11de6e5efac6d668f593eac3cc4078d170d3c7a
+DIST genpatches-5.15-120.base.tar.xz 4681108 BLAKE2B 7e69c38991ab3b5ec949f48fff8564c854017b8bafac61747eede20f79d71dade59effaee29fe849b1fdbee7abcaeeeef3f55a39b95b96bda6a70af05a905a68 SHA512 2be319896281e7cab1646da40a3067c3815270ff5fb29edccda9138862a39ace2192a1cd38a4232bc14ebed0d6c0c877a9fd58f225d7cedca743664e2a993025
+DIST genpatches-5.15-120.extras.tar.xz 3932 BLAKE2B fb00b97c8b61234646388bec0dd23a1310a7bdca9d04a2048a32a4e30605662c7001188bc125170aeca2ded63954a71b612908286aeab06928dec00cedc76902 SHA512 c2b6ee91b3505dae7fe78a393001cdf6ac7d0020f8123f14d961b90d1424144996e182fcb5304d5890c041e2d940a960bac0795ebc22e85459285b16f67d9b3f
DIST genpatches-5.4-249.base.tar.xz 5692112 BLAKE2B 8057ddb24ebbd5ee1b4fb5f5a36b295c4e8ab857e407c5b9e061780e1d23ecca7ab5adfb10ca4f6733a7776c2aa6e353419257c255b07bc991ecb6857aa31555 SHA512 b0057da850ab5368dcbf2b454d408b72204150cc2643e087d2f084c3074de22ce36fa4c319552b90d9059ba279e8dc6551cd6348c3616275b050167bfdb58023
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
@@ -62,6 +64,10 @@ DIST gentoo-kernel-5.15.113-1.amd64.gpkg.tar 69550080 BLAKE2B a16f76058c810a2026
DIST gentoo-kernel-5.15.113-1.arm64.gpkg.tar 62504960 BLAKE2B 25b6c09d59700bb103a72489fb594c26b6d38db9689984bf90e17ef1a7d8b862eb8430d1c4bce0008fd754194dfb30aeddbfb4e67b4a7341ecbbafc65670713a SHA512 66e2a4e23622c57c83f520ab5cdc38c3be19d860a7435c1107869e80c46257dffc5f2a1a59dce8c27f93977c2f99cdbc32cd10c361cff7a2ee88657985de36e6
DIST gentoo-kernel-5.15.113-1.ppc64le.gpkg.tar 57108480 BLAKE2B 9e2e59c22499dbe2a349906f3384109574db6da4f588911f6617ae8fd44665c9b7be693ac44bdc655fee384c8ee7a326df3a2bec562f6378251246fc916e3b3e SHA512 675446aa59b92559812e21f47da17f76cc46c27de5968babde8d0ddb4afe89c255b67f8ef34f083f4ec723bee717732acd175a0cda91ae878d6c352f4e31c44b
DIST gentoo-kernel-5.15.113-1.x86.gpkg.tar 59115520 BLAKE2B fbafe9571a7318d02372cacc9468f9d79074ed6e1e073034e2e414f17643f8d84638f6e346377cf8a35af898d174e6216c24a5271e87c61309d0a4c517e7023d SHA512 b83daa6fffd2bf177fb921c08626838ad851d315b8cb32dcf1673311623227eb9c55c8316aec741a49af6e6aaaed527ac4105df58033476f00a6afb2a8bc1850
+DIST gentoo-kernel-5.15.114-1.amd64.gpkg.tar 69539840 BLAKE2B bcc43fe6a4e17363f234a4e1bbc6cb4ac64f3d39fcf80258a7d3b3d4951ed92b165d5dd7e2f0921ccb75300f8a9e5058783752bd2b4944ee30c33e5241bc56c2 SHA512 bd63fc27132d722391a23884d60baa5cf407c223d519d46be3c47eb5c9496b0542cab93ce2bd7c7a4d8d52e19b8dbdc6595a6bd25ddba89f1a467a85aaa4be8d
+DIST gentoo-kernel-5.15.114-1.arm64.gpkg.tar 62515200 BLAKE2B 985311a49f8314cf5787c51dfb683a4372a842a4976352f220775afa8c335ed73e15deaaf3dc5be577d4ef9552dfd6e42bdb75295836aa71baaffdb75dfe24cf SHA512 3b182db4df94d3ad44e712284fc83838ba3f1676639fd57ace8d9346429f4dbbe3b011fc86317836fce2c240d54eda363a1465aa9e514eeb5dad9ab533a7bf9d
+DIST gentoo-kernel-5.15.114-1.ppc64le.gpkg.tar 57118720 BLAKE2B d825703befacdea4409fdece540ff5f940cb7b91a57e8e278cd3d345588029f0a355b16256071329fedb04e29b5b43d07443591fb1c238a3e6760cd89e0b5b1f SHA512 bb734a8e2223ca26fefc4fe3234429fde15b3c6368544b9a45c7115253280c43ded8795ab2a0c02988d30de90ee71167145336be5476cd1b4c43b9a68f2a7a92
+DIST gentoo-kernel-5.15.114-1.x86.gpkg.tar 59115520 BLAKE2B df62b2f821ae01a7e73a95af88a4c27caa4cf9aa39da91caca403ce579b27071084b104c33dd2ab2766873758aeb396834f8d98ddc31165c05812f787efae25e SHA512 be0fbab45f2b5f7ed907cfe3332571ffba9a18c02c6a052483aa4db966f6e733a116e9d4064918491b39f86e95f5393dee8725d0e3bb917a799b87797377f621
DIST gentoo-kernel-5.4.242-r2-1.amd64.gpkg.tar 60508160 BLAKE2B 84cdcc58a34eb5253e9fe1e04fc4d7a57b5a849510f809f446c81b0b5e359f0157673e95ba1b027ea9b93209aa2bcec6aab06b5206032ff2edf9ceec87bb8cf0 SHA512 a7c8fa437003b43e4ba7e7bebd83c4a9e0c6adfeb16d5d2b401d6fa97e9910367fdd12993af146a272f3c50f38dc0372e7b21e2a7cbd70d92b7f5d362912a5f0
DIST gentoo-kernel-5.4.242-r2-1.arm64.gpkg.tar 56535040 BLAKE2B 0c51e776f6179546c9ff7911c2d38a92b694f77f097392907bad8121bf7c7c22c55c5fec9ed6c871e71ce4bcb00a6c180a6b7ed8dc637d1e9a2790b8a536296e SHA512 9ccf63015358b119f07da66d4e0acadd1b6d941ed6f3341e636d4ebd87728d1126fbacaba8387b5a1da4c3071eb8835c964a3d448d34d107eb7d71e3e90cec0d
DIST gentoo-kernel-5.4.242-r2-1.ppc64le.gpkg.tar 54210560 BLAKE2B 17c4b2e80a47535e384e36970e7aa4d876fc78569833ee8c92161233d620e6a9b76ef5386ed4c2555b3bf33f65b655f6024e0abd2ff73f1cbcd71e29c46f9fed SHA512 ecd6fa2bf630e75aff59c14ba82b5675cfd075a3d64cdb93a753a2a985e0d3ebfff6586d7ab87fd96e7f45026f39041d7541fe855706513309c2fcebd759f7c6
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.114.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.114.ebuild
new file mode 100644
index 000000000000..83c6a5e4fa8f
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.114.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
+}