sys-kernel/xanmod-rt-kernel: drop 6.1.54_p15
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
776d287cb7
commit
130ae8e35b
@ -1,8 +1,5 @@
|
|||||||
DIST genpatches-6.1-61.base.tar.xz 3552112 BLAKE2B 173e2e31b444f7d88a9f6ad2253be4a8c0c2dec500b63d3695949d875970d1162f88c68c3c39b62428b63ae3c20fe4e03b7cd69680f2b4ef54f34ba5c2ddb4a1 SHA512 01f20a5cc610ecfa3fe026f8d1ed9987babdfc2648a623d721b756e4b9d307dcbfc0cfae385c40066619a297258927493c757df94454bc1a8b4a96f8d415af5b
|
|
||||||
DIST genpatches-6.1-61.extras.tar.xz 3812 BLAKE2B 2c6cf3ccdef6c66bc321654e84582e0e0b0e8beb68a6fc390b2d526fd2da1f38603389a8aeeba031fb09a5e8493a0de3fbc944c172f7cb17d26dd91053817a17 SHA512 1a5bb61de1d22749d6dc9a1d3798d825a936cad0bcb045b52fd163fcd3381f8d284187b86c03a0688047d8720b2c387ec86202456df8b46e7ae84f9b0e37569f
|
|
||||||
DIST genpatches-6.1-66.base.tar.xz 3766288 BLAKE2B 3cf0a62fbfcd492e5c16b4158bcf7dfaecf7cc8df376e308ad606d8203022e04a0375a2c9a4fe58bf37bafbfd4a1ccacbb8939fc166590089884ba9989929430 SHA512 69418fe7fe88958d95bdcfb142e6350363180ede26cc44e035a0fdba12d2a8cc542a0ed7789572677eba29f9905af8720c8ddfa13e8257b129bfa95641e72f50
|
DIST genpatches-6.1-66.base.tar.xz 3766288 BLAKE2B 3cf0a62fbfcd492e5c16b4158bcf7dfaecf7cc8df376e308ad606d8203022e04a0375a2c9a4fe58bf37bafbfd4a1ccacbb8939fc166590089884ba9989929430 SHA512 69418fe7fe88958d95bdcfb142e6350363180ede26cc44e035a0fdba12d2a8cc542a0ed7789572677eba29f9905af8720c8ddfa13e8257b129bfa95641e72f50
|
||||||
DIST genpatches-6.1-66.extras.tar.xz 3816 BLAKE2B 8b2f2aa2f65d427c4ec39cdb988200d31d360f2ffde6f633838b0c3437c4efe8438e01ccd8e2de57d7f164c32d509e35a8be1ac4818841a7719a3cdce9e47717 SHA512 7f40e6153812cfe74de8ce376d4ae02868b6f246027cbce67e0714a139e60b4aa32743876c180f3b7b07e9b6fd07d2138e21ff5e6ced9571d29bf3e647b615c4
|
DIST genpatches-6.1-66.extras.tar.xz 3816 BLAKE2B 8b2f2aa2f65d427c4ec39cdb988200d31d360f2ffde6f633838b0c3437c4efe8438e01ccd8e2de57d7f164c32d509e35a8be1ac4818841a7719a3cdce9e47717 SHA512 7f40e6153812cfe74de8ce376d4ae02868b6f246027cbce67e0714a139e60b4aa32743876c180f3b7b07e9b6fd07d2138e21ff5e6ced9571d29bf3e647b615c4
|
||||||
DIST gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a
|
DIST gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a
|
||||||
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
||||||
DIST patch-6.1.54-rt15-xanmod1.xz 2796388 BLAKE2B 36bd403368aef8a3c72d1e2f29d4a18494de285a86b82e6df31d91c13c9ae184a6c9268fbb8d7b0ea0ccea33990a2f2aa4503bfe1dba5cd4d7f24004af89d33e SHA512 225692366debe25b2b3eba4e901a4a5ca8176ea933e11450b10ce6b4b84c2a91b810fa4612586d693a4507c0a40e0b002035a0c9387b1004767eae2681d20fef
|
|
||||||
DIST patch-6.1.59-rt16-xanmod1.xz 2964568 BLAKE2B c6b28f88b9881c49c3d208de4ba67fd8c61d94a49dbe40eecd4feafaeef3552edeb5b2f98921247a1eb49eb0a54ed3516172796ddcb3a4b50cde2ed8fbadc076 SHA512 3f8274a13065ba031813f29df0cca1f43d58d512a65af349b82001a4321005b7a6b4217408ee13224c56f145b7ea69292e7421b0926f10a980073de56b0015c7
|
DIST patch-6.1.59-rt16-xanmod1.xz 2964568 BLAKE2B c6b28f88b9881c49c3d208de4ba67fd8c61d94a49dbe40eecd4feafaeef3552edeb5b2f98921247a1eb49eb0a54ed3516172796ddcb3a4b50cde2ed8fbadc076 SHA512 3f8274a13065ba031813f29df0cca1f43d58d512a65af349b82001a4321005b7a6b4217408ee13224c56f145b7ea69292e7421b0926f10a980073de56b0015c7
|
||||||
|
@ -1,105 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit kernel-build
|
|
||||||
|
|
||||||
MY_P=linux-${PV%.*}
|
|
||||||
MY_PV="${PV%_p*}"
|
|
||||||
|
|
||||||
GENPATCHES_P=genpatches-${MY_PV%.*}-$(( ${MY_PV##*.} + 7 ))
|
|
||||||
GENTOO_CONFIG_VER=g9
|
|
||||||
|
|
||||||
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
|
|
||||||
mirror://sourceforge/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"
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
# Copyright 2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Virtual to depend on any Distribution Kernel"
|
|
||||||
HOMEPAGE=""
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE=""
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
|| (
|
|
||||||
~sys-kernel/gentoo-kernel-${PV}
|
|
||||||
~sys-kernel/gentoo-kernel-bin-${PV}
|
|
||||||
~sys-kernel/vanilla-kernel-${PV}
|
|
||||||
~sys-kernel/xanmod-kernel-${PV}
|
|
||||||
~sys-kernel/xanmod-kernel-bin-${PV}
|
|
||||||
~sys-kernel/xanmod-rt-kernel-${PV}
|
|
||||||
)"
|
|
Loading…
Reference in New Issue
Block a user