summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-11-08 22:33:41 +0100
committerMichał Górny <mgorny@gentoo.org>2024-11-08 22:45:16 +0100
commit041ee97a9feb51b53a60e4bb95b618fa3ccf156e (patch)
tree26ead6a7a2662394c9d6b2a0c44a7cb8afad960f /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 6.1.116 (diff)
downloadgentoo-041ee97a9feb51b53a60e4bb95b618fa3ccf156e.tar.gz
gentoo-041ee97a9feb51b53a60e4bb95b618fa3ccf156e.tar.bz2
gentoo-041ee97a9feb51b53a60e4bb95b618fa3ccf156e.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.171
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.171.ebuild138
2 files changed, 144 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 2407b014db91..fafd0edafbad 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -4,6 +4,8 @@ DIST genpatches-5.15-179.base.tar.xz 7600676 BLAKE2B 5654c1db636059018715b1ec3ae
DIST genpatches-5.15-179.extras.tar.xz 4060 BLAKE2B d8f7885fac420f6f64dafcd5edf3500c8745fc076a382a9c62cfe1a5fd86a2c1d880ff8fdd0bd12649760ba115abc43de9da76e559330c0272f88c43926fa990 SHA512 01a08098524bf56987a55707b767911270b19b7e7ba032ad84ed3942fcdd073c0bf92443fc7cfe24ce1e88ec065f37f1a5c5c20adf3594151bc933a71c92f9d9
DIST genpatches-5.15-180.base.tar.xz 7622872 BLAKE2B bdbfebd8160b3851b67c1bba86c8f0c7f7dff79f2304c9b297755043067575a14982d0e79f2aa0e3f42994520e8bc50cbff11651ad1d546d314f01d50a33e0f3 SHA512 606659b93b9782141434313a634fd648f5f934caa2016091693039035de0fe96e6c3a88075aefde18aaf323eed0d8a4188bef64f990f20fa9d06e4bc8d7e1079
DIST genpatches-5.15-180.extras.tar.xz 4056 BLAKE2B e617ff600d8bb942de4fce1cc3aaf2d6aa16cc9b5a83667dc0154a685554a36cc8c4201c77faa01d3a39dabb1771235502128a6b863b23fbad1213642ec2cd07 SHA512 fa1c81b58c3ee20ace2e1afbe47620e9c3df695eabfa062d5ce78c12b015b938164ecd5db2d533473051d48a2fdf250074d1b306c61edae4acbe41688b513b77
+DIST genpatches-5.15-181.base.tar.xz 7638284 BLAKE2B ed63f4366ef78d666e759344580db76f0b9b7431448fe47cd067afb578a89d1843b5bbd486535003e1cf66abaec8e3e0f224d1088fb2874954f56c845050ffd1 SHA512 4da2df057b631c76502574cea731ec7abb3c2faf709efc0d54c17299e63eae16c9b3dec072ef0a0dea08124b2cc53e020ae6a896bd9ce4650aa1af2f2aa30cdf
+DIST genpatches-5.15-181.extras.tar.xz 4056 BLAKE2B 09dae20d08f51aa6f3404984a11488e7671de63e927de295ae511dd5559d4220ce9371f6d487a425cbae79d653939d168ebaa030bee30237372e6148de916e7c SHA512 cb0d6890bfe82c05e4e4a15f68e4f668181d2595ecc75c1a9cf90df6129f3d1ef9877bbac299b76f8516bd40dee27a7f0fc85b713f9e085b8127cbf4dc7169b5
DIST genpatches-6.1-124.base.tar.xz 6355616 BLAKE2B 8b912dfa6afd71b8d2cfd709aefb7acd2df66e7806e19440db7ca74a6dc2fe13b2bc55b332aa1b4aef5c84bf64929a20cbbf1da5a30803999986762327eb56ed SHA512 1288c21d553220dc27e28ae533f003d07de5442ffa85bf06cf533266b3a16549239f389d61c7458b3f442f8902bdf4e429f2a17b89bacfe8632fd38147f97923
DIST genpatches-6.1-124.extras.tar.xz 4060 BLAKE2B 326344cb6b4df76db97f5666085d26a8907769b81bbd1016219f319b713c5d2e467c0c0641b1cf5bf7eea80c7d865544a1b6e77b432e002dc768f633d70c9941 SHA512 a440486dbce9c6b291a202200089b03669bcb7c5fd635350f4f2d8eea21d67c073ee7feeca95e62fe96673dd67c92632955a83e003cc49865aef6b84f67dbf48
DIST genpatches-6.1-125.base.tar.xz 6398228 BLAKE2B d22a9c9792cd0118b14cb75e37ccd526ca83840ba6f67c6cf1a0d8354094092cc1fa1c089634a5d60f6170e46183cafbc58943bb6c09d7a8eca6b44ff08f412e SHA512 5d82330540e9919e3339fb26431f787ca338550dcf85c5a91e573d4e3197eb9999fd653673d60a453306930e2126ee375faae67f4a7ceee7bef8af48500f91a0
@@ -34,6 +36,10 @@ DIST gentoo-kernel-5.15.170-1.amd64.gpkg.tar 68485120 BLAKE2B 1b3a4c91cd8c4745ce
DIST gentoo-kernel-5.15.170-1.arm64.gpkg.tar 62423040 BLAKE2B 8729d97f696bbe4ce47a651e0b682eb29074a1a4043c9e3197fde5088578e21cd74426a0171971b5ac0c807d06f49d07a870d3d08f891d31098b47ece047b1b3 SHA512 9195ba256ddaa72c47602b01691fe46d24b82698a3ac0d4c3976c3491933a017fa546d7aa2ffb80f08bf76c4d70b1d73f120fe5fd766f8ffc9496c016a2b1c2a
DIST gentoo-kernel-5.15.170-1.ppc64le.gpkg.tar 56770560 BLAKE2B dec7512c5f5da5cc9b9f7ccc27d5e6a8d1e2080dd814f5f4feafbec81a704588748eee3efaa285069368cee527a6e7cbf6b46252c71d5fadc9a218328a691c1b SHA512 931f2f818ef8150bbc14f5745d906a07795bcbc881719608f68caf9c60f889bf633ffa5b862f2383d24adf649d0ac0b134c20e3fc5de8032c43f6f596d0c5846
DIST gentoo-kernel-5.15.170-1.x86.gpkg.tar 58644480 BLAKE2B b2494aa16c75f5fd9980ed3d68e135ccf7e06afc1b911677bd94d36e2d192efc23b61ec1f857e6f9083b5c8020f80fb3a13a098605a450c018fca1ea28a7d6c0 SHA512 d613592bd71ef73cb784f23f07b3739dcb8068a2b9ccabc091f7841bd4dc036eae7cc9edc0729fbdc3705d5e56c7877256f7989079570942fd81c1bf0166b6ac
+DIST gentoo-kernel-5.15.171-1.amd64.gpkg.tar 68485120 BLAKE2B 7d1d6abfd10dd612bd843d92acfa71ea40f0195e3ae1e817888f6d8e80963834ecf09207cbf3613efbe6543e533a99bab050688834439c636e13ae0f04260fe5 SHA512 2d39c8c334b29e848a6fc0c119f2033ca559ac68ea61c2f73042b074978b379c626828833d1d63802502fda6834ef0d525e2f71a19ed81b88fa69aae05bf9d30
+DIST gentoo-kernel-5.15.171-1.arm64.gpkg.tar 62443520 BLAKE2B e43c8eef6b83dfa666a9bea5e7844a9c8c05495f2beae55da5fb1dae6e610866cb241f6d9736f1c4e0d6e5a305d0910b843d2de09070a8505b0c44cc61ed6a14 SHA512 d0da7e4f0599c0d1cedc17f4fff37bf9ca66f04e0f3de339fa89535ec6de1430ea6f129b3d11331206489348c52b52e95365baa9a9501b34ae26bf5071015eb2
+DIST gentoo-kernel-5.15.171-1.ppc64le.gpkg.tar 56760320 BLAKE2B 4f84d5798ab178dcd855146900911cb83d5cbfe38aa9433969c64a0dce3ae4124297900e75f612b2fbf7393c1595350c31c95a3ffb155a5df7e3b9fe8e6cdfc8 SHA512 bcfb85e0f1e792a68aa7a69d78cbcdd59af6066288f5097481644e4f15838f9fb1cc77be57cf0fbb17df22460ae4ea8b99c6ec0e382da01a73eab1ec4f45730d
+DIST gentoo-kernel-5.15.171-1.x86.gpkg.tar 58634240 BLAKE2B 765ca76fcb74581fe52ed79363f8975f81d02d096df5aa96cd093c4d140a6ad9acb0f90947d7f6395db463afeba456a7eafc5294deb283cc974e5da1814b18ea SHA512 3d93b623b39722ef1b97453df32b63e31c4b8448a107b78693dd6ae5edbb807ec5fb485cddb3cf5108595b7c5c79f7e4d0704c4fee9156e660874fb87b32844b
DIST gentoo-kernel-6.1.114-1.amd64.gpkg.tar 72622080 BLAKE2B d91bb8f7fc369cf67783d4495c770cc4bb60206ffef4eca7b53558285c438278e73a07195914b2f237dbbff245c16390b63a8a07aec1c5e7189b0fa6e76e3142 SHA512 acb13ab39b309d650a3c88e5eb3c20109cc2d2dd64c197078dc88e104ba5f9ec2ffc10eb0225e0f127a7cf1d3a358cd398108c7d9d156e72b96ec641b4d57758
DIST gentoo-kernel-6.1.114-1.arm64.gpkg.tar 65576960 BLAKE2B 4f0c3a12aa09e3641e28f34cf111654e37ad1ffcf1fc1a07a20469fd7a9c68cb1f20dd75cf8765baccf0d3fc1946c0f06eeaca2df1cbd8f01b7c8e59ebc22693 SHA512 46121bbc3fb990863b0fca644f804c8749b82f96eabff6a43325f36044e32b8c9a883dbb5d72c656396095027c86e14b7916937ae7e0285eef008e3e20ef2da2
DIST gentoo-kernel-6.1.114-1.ppc64le.gpkg.tar 59832320 BLAKE2B b13928739adee071c07efa583aecf9e57d493c34e98c0c950d6362fd4dccc9e97269d21077109181507920c787fcf9afb57ab0b1ee2110b34db0d541bda22546 SHA512 29cef05c82413550734e6a1a758ca169f8b7a7afaee239966ff2bddb2861579c2a23bdf3e4dd1501a178e24879acca38c297c61f0ec68d45163dddab998677a7
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.171.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.171.ebuild
new file mode 100644
index 000000000000..53b01d5e35e1
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.171.ebuild
@@ -0,0 +1,138 @@
+# Copyright 2020-2024 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##*.} + 10 ))
+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="
+ app-alternatives/bc
+ app-alternatives/lex
+ 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 HOSTLD="$(tc-getBUILD_LD)"
+ if type -P "${HOSTLD}.bfd" &>/dev/null; then
+ HOSTLD+=.bfd
+ fi
+ 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)"
+ HOSTLD="${HOSTLD}"
+ HOSTAR="$(tc-getBUILD_AR)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP="$(tc-getSTRIP)"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+ READELF="$(tc-getREADELF)"
+
+ # 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() {
+ local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}"
+
+ # Overwrite the identifier in the prebuilt package
+ echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
+
+ 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
+}