sys-kernel/xanmod-rt-kernel: drop 6.6.31_p31
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
2778476c7b
commit
99ea0ca188
@ -1,11 +1,8 @@
|
|||||||
DIST genpatches-6.6-38.base.tar.xz 2066552 BLAKE2B 61205dc2b5d17f15af23d8eb8af0720fe5f6c560ae671c98252d7c9e28e9b93fdde067811664f095ce103beab9bcb1810e9ab9e32a82d972cbbb44ce5257f097 SHA512 ef6d0814f5bd646c49e54fadc46e73ef118466978a6fba1bd18d832e6dd089a1699ec14f40e769e061bdb84f843e94c190b31729b48a36a317d66da6a8d00622
|
|
||||||
DIST genpatches-6.6-38.extras.tar.xz 4052 BLAKE2B 7d25eaaf329cc043fd5189114c5d100f2a3dad9a97b0c87cfc9541ff95ffeb9e3a8a723e5c4fa1f9241c4fd67aac5aa1e4aba96f5cedad5609463b96bc272da7 SHA512 d5957d7ca9718bf87621fb4200b5bbc4e1457fc7fda1500714fc88730a4dfd4dce81e386bd2a2f88e02aff16c46e35402421439e6393a5ad15848d26d9056b44
|
|
||||||
DIST genpatches-6.6-42.base.tar.xz 2474752 BLAKE2B 074b24c3848ba0b2521d364d67222ab324cfacc3036b2c3b9ceebebf03afcf21d963921841f6f987422e904be35653f9dafc2a795ed6eaa050d6a37595bdd111 SHA512 6ce7c93c92a5f2951c9a60b7a058560dec8c3f9c16f00ac4b58c23f88ceaf9cbc519653320bc95f45039219eecb068247f3c27ac448c8695ed8c9e93022fdc37
|
DIST genpatches-6.6-42.base.tar.xz 2474752 BLAKE2B 074b24c3848ba0b2521d364d67222ab324cfacc3036b2c3b9ceebebf03afcf21d963921841f6f987422e904be35653f9dafc2a795ed6eaa050d6a37595bdd111 SHA512 6ce7c93c92a5f2951c9a60b7a058560dec8c3f9c16f00ac4b58c23f88ceaf9cbc519653320bc95f45039219eecb068247f3c27ac448c8695ed8c9e93022fdc37
|
||||||
DIST genpatches-6.6-42.extras.tar.xz 4048 BLAKE2B 0d86f11ef43c33b1014423a4417be73e4ace2eb5d9c38c7a63e8bc424eff7399137239138de1b89a70247f1b174766c9672cb05743aeaa14ea66d8bab67593bc SHA512 5d264209a734c4cbc48dab228b7d8570b735748b1c01f80beb2803dca3027ed78303ff937aecb1d8e3e6f2e2d4722aa0c1b5c77a4d45f2a9c53cfe1c0ac0affd
|
DIST genpatches-6.6-42.extras.tar.xz 4048 BLAKE2B 0d86f11ef43c33b1014423a4417be73e4ace2eb5d9c38c7a63e8bc424eff7399137239138de1b89a70247f1b174766c9672cb05743aeaa14ea66d8bab67593bc SHA512 5d264209a734c4cbc48dab228b7d8570b735748b1c01f80beb2803dca3027ed78303ff937aecb1d8e3e6f2e2d4722aa0c1b5c77a4d45f2a9c53cfe1c0ac0affd
|
||||||
DIST genpatches-6.6-43.base.tar.xz 2527856 BLAKE2B 961c8ebaaea9c45748d990b3df6f3a343b02a186797a7fa97fd332e25b6f9cf0a294420b223b8d502dd2e266e20942e304db65e562d9086b948cca0e51920521 SHA512 f8104db60c2ff32ce04e86f995b1c4a87eb7aa5510299c7d347eeaf23f4d64c55da0590743d45e952cb894ce4f91bd2da595badbdaa71fc546685d3a7ea9026e
|
DIST genpatches-6.6-43.base.tar.xz 2527856 BLAKE2B 961c8ebaaea9c45748d990b3df6f3a343b02a186797a7fa97fd332e25b6f9cf0a294420b223b8d502dd2e266e20942e304db65e562d9086b948cca0e51920521 SHA512 f8104db60c2ff32ce04e86f995b1c4a87eb7aa5510299c7d347eeaf23f4d64c55da0590743d45e952cb894ce4f91bd2da595badbdaa71fc546685d3a7ea9026e
|
||||||
DIST genpatches-6.6-43.extras.tar.xz 4052 BLAKE2B c12fe48720ff166e507be3a4cc19ee00c541ea92fd3939b6cc80bb476d63a896efb3667ca4a7aab837d60c6c3bcf2c0137dae44a60612a8d342f8b90807f671c SHA512 9de420e251c76787bf9edb1023c80453e1df103ffc8075b870bdd1456f1e0c07f8bdfaac5d0d19cf698c7d1d048a48a0ea2326791260585bf24082c713727edf
|
DIST genpatches-6.6-43.extras.tar.xz 4052 BLAKE2B c12fe48720ff166e507be3a4cc19ee00c541ea92fd3939b6cc80bb476d63a896efb3667ca4a7aab837d60c6c3bcf2c0137dae44a60612a8d342f8b90807f671c SHA512 9de420e251c76787bf9edb1023c80453e1df103ffc8075b870bdd1456f1e0c07f8bdfaac5d0d19cf698c7d1d048a48a0ea2326791260585bf24082c713727edf
|
||||||
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
|
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
|
||||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||||
DIST patch-6.6.31-rt31-xanmod1.xz 2116004 BLAKE2B 7213b5d52ba68d12e9f3a606a95fbc6c3c8366fbe680c702a610d48393262942697a188dedc86aa48479bd000b0bf5e44e6b700eecf6f8a1c2d1025fe31ff5a2 SHA512 213a4e0f8c6906eae5c48a3524651aa5b8f123d38e60ff2424978680e3f6f92ed8b6bf6ad4788b15d2597cdb9c1b51b969aff56aae0c9ebb3623505d90e1d21b
|
|
||||||
DIST patch-6.6.35-rt34-xanmod1.xz 2478716 BLAKE2B 470205370b238c96600893d727309a36ed5f027f2214ab1543a0241032172a27b6de69aa0a156dcdbad1d78ebb629f15f597e6bcd445721715f4bf7a41940267 SHA512 c9616ea18c448d7812c233bca8d395974156553988f6dc56ef43ed5016c97bdced5c8d91f03ec0afbab2afe76a724f790a48ea77da99bbba54c7e49821c1a3ae
|
DIST patch-6.6.35-rt34-xanmod1.xz 2478716 BLAKE2B 470205370b238c96600893d727309a36ed5f027f2214ab1543a0241032172a27b6de69aa0a156dcdbad1d78ebb629f15f597e6bcd445721715f4bf7a41940267 SHA512 c9616ea18c448d7812c233bca8d395974156553988f6dc56ef43ed5016c97bdced5c8d91f03ec0afbab2afe76a724f790a48ea77da99bbba54c7e49821c1a3ae
|
||||||
DIST patch-6.6.36-rt35-xanmod1.xz 2524124 BLAKE2B 18d781c91adcef16ff6cd9338e207e1bf500c8d98aa52b38b57b4c8d32476886c643308e97e43ee67d3a5a89b45082f27e36133158f4639c6242d0506f79c396 SHA512 be5ad36a8f2dda1a32bc440813685c39b9ffe3f8262bfee87b2ba596daccee92b69bff520d13c017052ac8f395b75574fee2d63de8a3eceb53892d1d38913b45
|
DIST patch-6.6.36-rt35-xanmod1.xz 2524124 BLAKE2B 18d781c91adcef16ff6cd9338e207e1bf500c8d98aa52b38b57b4c8d32476886c643308e97e43ee67d3a5a89b45082f27e36133158f4639c6242d0506f79c396 SHA512 be5ad36a8f2dda1a32bc440813685c39b9ffe3f8262bfee87b2ba596daccee92b69bff520d13c017052ac8f395b75574fee2d63de8a3eceb53892d1d38913b45
|
||||||
|
@ -1,109 +0,0 @@
|
|||||||
# 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%.*}
|
|
||||||
MY_PV="${PV%_p*}"
|
|
||||||
|
|
||||||
GENPATCHES_P=genpatches-${MY_PV%.*}-$(( ${MY_PV##*.} + 7 ))
|
|
||||||
GENTOO_CONFIG_VER=g13
|
|
||||||
|
|
||||||
RT_PATCHSET="${PV/*_p}"
|
|
||||||
|
|
||||||
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-${MY_PV}-rt${RT_PATCHSET}-xanmod1.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"
|
|
||||||
SLOT="${MY_PV}"
|
|
||||||
KEYWORDS="-* ~amd64"
|
|
||||||
IUSE="debug"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
debug? ( dev-util/pahole )
|
|
||||||
"
|
|
||||||
PDEPEND="
|
|
||||||
>=virtual/dist-kernel-${MY_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-${MY_PV}-rt${RT_PATCHSET}-xanmod1
|
|
||||||
"${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}-xanmod1-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[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# lazy workaround
|
|
||||||
kernel-install_pkg_preinst() {
|
|
||||||
debug-print-function ${FUNCNAME} "${@}"
|
|
||||||
|
|
||||||
local dir_ver=${PV}${KV_LOCALVERSION}
|
|
||||||
local kernel_dir=${ED}/usr/src/linux-${dir_ver}
|
|
||||||
local relfile=${kernel_dir}/include/config/kernel.release
|
|
||||||
[[ ! -d ${kernel_dir} ]] &&
|
|
||||||
die "Kernel directory ${kernel_dir} not installed!"
|
|
||||||
[[ ! -f ${relfile} ]] &&
|
|
||||||
die "Release file ${relfile} not installed!"
|
|
||||||
local release
|
|
||||||
release="$(<"${relfile}")" || die
|
|
||||||
|
|
||||||
if [[ -L ${EROOT}/lib && ${EROOT}/lib -ef ${EROOT}/usr/lib ]]; then
|
|
||||||
# Adjust symlinks for merged-usr.
|
|
||||||
rm "${ED}/lib/modules/${release}"/{build,source} || die
|
|
||||||
dosym "../../../src/linux-${dir_ver}" "/usr/lib/modules/${release}/build"
|
|
||||||
dosym "../../../src/linux-${dir_ver}" "/usr/lib/modules/${release}/source"
|
|
||||||
fi
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user