sys-kernel/xanmod-rt-kernel: add 6.6.52
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
8f59c3966c
commit
8149120f2d
@ -4,8 +4,11 @@ DIST genpatches-6.6-56.base.tar.xz 3040548 BLAKE2B 751529aa9bdd2aa696fb367cc2afd
|
||||
DIST genpatches-6.6-56.extras.tar.xz 4056 BLAKE2B d54da14f3afefdb9aa8c6597913f37c5d1314e4a93216608bee52a52bcc05924bfadf2d5e7e49b0488159b0a57942f1579a4e7b3fcdc90a78c10e0efffb6a1ed SHA512 ba961d5434222ecd618cb44b08ec6413d98c1d1958af2712065d924370141f789ebb315dc53a5bdbb75d3cbe86cf719983e66a58d537eb78455eda509689aa73
|
||||
DIST genpatches-6.6-57.base.tar.xz 3079200 BLAKE2B d0f16f9b2f09f182c02fdb6cfa4b76f3d9d41f22b149d50faff129daa677b97830128a40c8c2f98b2534b722865b49b8a60b5f205b7d3284ef94a67946a4b460 SHA512 c6d16e6d814d363f0e34f3e7d569757f787340889f395ef9b3a273582a3d72d60b692e872764e5f411ac9a8648d886c9f6522342c238a421e423b2cd0e6b40fa
|
||||
DIST genpatches-6.6-57.extras.tar.xz 4056 BLAKE2B 9b071880383921fcc8cd2da092e1219e3b40684e6ffd04bd2ab75fd53624cdcb7289f1c40ae9256e0343bbea92393c153724ee628e8d164596ba4d7f8bb413df SHA512 a61cbf855e718ca7afed0b15614ad2e9bea740412e8251b35417d10f4b936364cc3820951acc45be2b18cba635cd1c43da8caeb4ac315747d02201be39148c8b
|
||||
DIST genpatches-6.6-59.base.tar.xz 3174716 BLAKE2B 8eded8d4d4c343869f587ecc2a218d124c34618494ded9d17b493f26894e545658021ad9cfa05bafd14389de07406f43a722c37276cc14096a3a7a00040e2ae7 SHA512 88e5ef8de0954f349e5c0745adb8f718dcabcd2e166c597c9de753c892eaad42c936984279fde86974b307858959cdef401f92f6f62a98bf1d4bed14cbff821e
|
||||
DIST genpatches-6.6-59.extras.tar.xz 4056 BLAKE2B 8d68a426082bcb168f74abb849a7a58090268c9cf098aa8982d9e700fab754a6f42dd833c1ee5d44d52f58d1a6b3da018a954d873ba131a2049a286a39ca3099 SHA512 ee133a7efaeba2abe242482825f4490e1c1b17fca64f9183713dca601fc64048288aa79125f7b8c0715f6c4fb158ea3a230e76b39b63d1a59dbecf80697ac000
|
||||
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
|
||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||
DIST patch-6.6.48-rt40-xanmod1.xz 2934280 BLAKE2B a333a0dfef7c28cd417cdba871fc14029527c248309078cea827ab87be89aa9227a604403f07583de6b666efa205f6f799cf0af97e675f19d4a95074799c7e4b SHA512 6c89a08fc15b11ec2cbc53352c16b13662f61e4ba22ab7044d9dd539deec060e84715466f70134cb7f1db509d66f6bfd916514e07c9235228e870f3a2b47d3c3
|
||||
DIST patch-6.6.49-rt41-xanmod1.xz 2950392 BLAKE2B cdf560cc0ef21c31081d63b45b070f33fd7ec8e446a8f92bbd45a5ae7c76cc782db7b3dcb0718912739f4d2938315378e9fa859beb987ff4c0c24a0d40175468 SHA512 a068453b5170e623c85da2d67174de96800190278e0bf9df90c530d1627c9762b34eb5c2b2cc81e9a43fb2bfd4d2b4ed0dd40aff39758f6b4d7e6bb2da36d602
|
||||
DIST patch-6.6.50-rt42-xanmod1.xz 2982744 BLAKE2B c6ef49df43c5ab3f456d8f41a9429db5079f304e21ed87f034b3d0f36ceba073f64cd92d2fa728fbb0940a73ae1d6137e8ae25f840329250bb73b72d1d161c2b SHA512 7b6e3008077dc038f9bf46bf0c69c09eb65516ca74d40814fb8607298cf3eaf9bc5e898b87de0972ef72a9aea3c25f456462c6ab1b92b4111cb9ffa22fecf463
|
||||
DIST patch-6.6.52-rt43-xanmod1.xz 3060252 BLAKE2B e273ca945b3745e7e0390e180258ac9d68ac67aa3786cc13c5821e1512508f617ff3685f5fa7f660475a0c85638470f0196738c6d9d9b1504878f03025a7cf49 SHA512 4f0b6e777a2df72594093505c1cb3a8ddff2bab415c6b3f15c75ecc3176045dc8997e00b868f26236dc710876bb760fb767d5d96f8fbd04cbbd1bc6083b384c3
|
||||
|
89
sys-kernel/xanmod-rt-kernel/xanmod-rt-kernel-6.6.52.ebuild
Normal file
89
sys-kernel/xanmod-rt-kernel/xanmod-rt-kernel-6.6.52.ebuild
Normal file
@ -0,0 +1,89 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
|
||||
GENTOO_CONFIG_VER=g13
|
||||
|
||||
XANMOD_VERSION="1"
|
||||
RT_PATCHSET="43"
|
||||
|
||||
KV_FULL="${PV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}-dist"
|
||||
|
||||
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
||||
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
||||
SRC_URI="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
https://downloads.sourceforge.net/xanmod/patch-${PV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.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
|
||||
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
||||
"
|
||||
BDEPEND="
|
||||
debug? ( dev-util/pahole )
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
||||
usr/src/linux-.*/vmlinux
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Remove linux-stable patches (see 0000_README)
|
||||
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
||||
|
||||
local PATCHES=(
|
||||
# meh, genpatches have no directory
|
||||
"${WORKDIR}"/patch-${PV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}
|
||||
"${WORKDIR}"/*.patch
|
||||
)
|
||||
default
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
rm "${S}"/localversion* || die
|
||||
local myversion="-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}-dist"
|
||||
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
|
||||
)
|
||||
use debug || merge_configs+=(
|
||||
"${dist_conf_path}"/no-debug.config
|
||||
"${FILESDIR}"/no-debug-extra.config
|
||||
)
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user