mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
sys-kernel/vanilla-kernel: Bump to 6.14.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -40,6 +40,8 @@ DIST linux-6.14.6.tar.sign 989 BLAKE2B 6056ba08a6652fe56a2be2312166b0430e2a0de91
|
||||
DIST linux-6.14.6.tar.xz 149475048 BLAKE2B dedcadc0b7506f620da3ac849446539e83d694f0955d5417e063b6680d53ef8993eeef40562ae8dae9249a21bea9746093f8873a360dd74f6b139fbafdd7b9ac SHA512 092cee673c116dc737e00ec52da58475d039dd2e8f9cfb8d645971e754862c0042146e4011a2854f0bbe3ea8f78ce1aef11cff66a471f3daf3f467ceff5987eb
|
||||
DIST linux-6.14.7.tar.sign 989 BLAKE2B 7ad0b481458b8665c45efeca16356b06e6378aa10d6bb06810addeb887a0eb3a639d3503d82b99ac09de61716cc5114306ade154ff132cc6b3ed44721f2f50b7 SHA512 c026b4b7ee3e9e57e6e516980439fa9b2b61912d2419dbf00a43eba1e42cc7ae34e089800f32704c7233aee34e7cea0dabb166dc9e41c51faf618c9efc418a6d
|
||||
DIST linux-6.14.7.tar.xz 149478908 BLAKE2B 1b0dc72ec9ff449d7245a0a457a8c1eea3ba63b42c5c179d9262cdbc2f04451c12359fadf74c7464b67115e9206730787b56a3dd539297e7e5c1ad2ae7e13632 SHA512 be93d50c32b04101c93d75102444c82c158496221d0caeed92943d927120ce87e4f4201c8f91d176eb12eecaa9d68fd07b1455590e81b466cd3620bcd01a3db9
|
||||
DIST linux-6.14.8.tar.sign 989 BLAKE2B f71a171ed868bbfe2144611ef88e98261941fb0c9e5ea9eb46c522fa46c5100274545561fb3fc2390b0a07e3820111cb48eacac5349b1568b674c1cbb3983282 SHA512 05d9d2d9925c0130cd0f7e331f31ee48944a5054d1000c0ba28d368c9c7494c88810cfa504aa1eec4f3ce59725fedca71260c29fe15c321e4d4346a26d2a4a91
|
||||
DIST linux-6.14.8.tar.xz 149477012 BLAKE2B 7a9336a015011fd502f31f17fff4ee6826724b4401650092fabaa93a68df14bc0dbd6e43c03f85cdac622ea28c4cd57d6ab1bcb808ce0b9ddf0ec03179f1b3e2 SHA512 d703397cc7cbb32c73f56a5e36242099a896329e52fde393325c0af3774c2c631dd3b44b6f9a1d7700ee30863c283485b737637e3e361d232bbb858798eef2c3
|
||||
DIST linux-6.6.90.tar.sign 989 BLAKE2B 12ff9cda783a8686b9207599aebb13bde4a5010d2ac43c5972f5213edf043ff3f5abbcb89f86d50b615d28b65c15baca396b36f6cd9b426291be764e8b5c32c8 SHA512 6abd0d11b3a0a307098049840280b7201cb969d5f2d4fcf5057443d378e8b724a59edc608bfbeb4a164c6fca4fece1b6f1fc689345f913287621144e1a54013c
|
||||
DIST linux-6.6.90.tar.xz 140578308 BLAKE2B 4d76b25a7592926c3bdf29381a3f84f36e2b53d8ba9a683b636d487c9a1c02f2b96da7d7b4fa11b6945d9f20d8f36cae97caa77c842b63e63ecea80eb56b6f81 SHA512 7ffc9a8dd0a1bfbc5f4d749b12886d8c75e0dd4c71917c6d838a79d2d7fd242914cef114f8ab4728fa2df21fe7d06c05a3f96d12c9de69e292a64404e8aa8479
|
||||
DIST linux-6.6.92.tar.sign 989 BLAKE2B a953fefe6029d3691c4dd8d14b3951ad2edc7e459ff31d9a7d4c68c6d58ec523a39d0f0b3e53c8b0853993566cea6383ad8d4c9ef130e24ef06655dd42c8d271 SHA512 0763acc35aef645f4fefefab767420cc75cd852bd1d458e80af37d400a2af6eb169f5e9710cf1db10ace5ed89b13da339b1aa9e7520f24b4d73df83f43306eb5
|
||||
|
||||
@@ -0,0 +1,136 @@
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
inherit kernel-build toolchain-funcs verify-sig
|
||||
|
||||
MY_P=linux-${PV}
|
||||
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
|
||||
# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
|
||||
CONFIG_VER=6.14.5-gentoo
|
||||
GENTOO_CONFIG_VER=g16
|
||||
|
||||
DESCRIPTION="Linux kernel built from vanilla upstream sources"
|
||||
HOMEPAGE="
|
||||
https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
|
||||
https://www.kernel.org/
|
||||
"
|
||||
SRC_URI+="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
verify-sig? (
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
|
||||
)
|
||||
amd64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
|
||||
-> kernel-x86_64-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
arm64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
|
||||
-> kernel-aarch64-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
ppc64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
|
||||
-> kernel-ppc64le-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
x86? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
|
||||
-> kernel-i686-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~x86"
|
||||
IUSE="debug hardened"
|
||||
REQUIRED_USE="arm? ( savedconfig )"
|
||||
|
||||
BDEPEND="
|
||||
debug? ( dev-util/pahole )
|
||||
verify-sig? ( sec-keys/openpgp-keys-kernel )
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
verify-sig_uncompress_verify_unpack \
|
||||
"${DISTDIR}"/linux-${PV}.tar.{xz,sign}
|
||||
unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local biendian=false
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
arm | hppa | loong)
|
||||
> .config || die
|
||||
;;
|
||||
amd64)
|
||||
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
|
||||
;;
|
||||
arm64)
|
||||
cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
|
||||
biendian=true
|
||||
;;
|
||||
ppc)
|
||||
# assume powermac/powerbook defconfig
|
||||
# we still package.use.force savedconfig
|
||||
cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
|
||||
;;
|
||||
ppc64)
|
||||
cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
|
||||
biendian=true
|
||||
;;
|
||||
x86)
|
||||
cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
local myversion="-dist"
|
||||
use hardened && myversion+="-hardened"
|
||||
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
||||
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
||||
|
||||
local merge_configs=(
|
||||
"${T}"/version.config
|
||||
"${dist_conf_path}"/base.config
|
||||
"${dist_conf_path}"/6.12+.config
|
||||
)
|
||||
use debug || merge_configs+=(
|
||||
"${dist_conf_path}"/no-debug.config
|
||||
)
|
||||
if use hardened; then
|
||||
merge_configs+=( "${dist_conf_path}"/hardened-base.config )
|
||||
|
||||
tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
|
||||
|
||||
if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
|
||||
merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
|
||||
fi
|
||||
fi
|
||||
|
||||
# this covers ppc64 and aarch64_be only for now
|
||||
if [[ ${biendian} == true && $(tc-endian) == big ]]; then
|
||||
merge_configs+=( "${dist_conf_path}/big-endian.config" )
|
||||
fi
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user