Compare commits
4 Commits
cc94e1ce37
...
3153418738
Author | SHA1 | Date | |
---|---|---|---|
|
3153418738 | ||
|
77d16ddda1 | ||
|
3a64b4c959 | ||
|
48c05efc6d |
@ -1,4 +1,3 @@
|
||||
DIST sdbus-cpp-1.1.0.tar.gz 201532 BLAKE2B 3dac74cb7fc6717db9d25463ddfb9122db54edcd3bc9d1e71d18c132ede1efaf12b514f335c3978f51277afff7e6ab5533cfd02241759f7e3d24cede8aa29c6d SHA512 ba6230c0d1019875d92a92f793278c528a01692dc70e7acee8bb289af5dae65c1ad7b1c139f859cb7a960c7b48501178bfdf755163c2bc4d3766e67f3aa9b883
|
||||
DIST sdbus-cpp-1.2.0.tar.gz 205798 BLAKE2B da040acb49f5294665b09df97c171eac38f7c6ce5e86093b45b896c4b216afc9b45870395404ffb8e7c32ac8b98f6c795fb528691b344587545e5ae27d4423d6 SHA512 dab2c4d9a5ea6d626672a5a6ee6f3490c60c6fdd160769801a4d6b4cf3df4983fad57ff0230132a5d637ec78a55993200ce217fa89461016e101865cc2777d7d
|
||||
DIST systemd-stable-251.tar.gz 11432310 BLAKE2B a525a07a143b6c25b97c2ef510ca38ad7c752b96d7efd073a714d6750fbb8309ab926a6415988eeb195104319484fa2476f5dd486673cc848e24cadbd76744da SHA512 9a67136b1fc6600881b2b1a1d89185e5e48ab600a9226b1f27229f8d87c1afc9a1502095f2e26dff3bf0de8f4780293d6b3f78536357859cbfc4bec62d425125
|
||||
DIST sdbus-cpp-1.3.0.tar.gz 217150 BLAKE2B aa9a902cdff6a6f2268cfe04b45105ab08ee4b3a257db10af63f8224a9932e28c5f755879c866274722a2087a59c0a22dc0616ac5d696229daeaa965a156e220 SHA512 8f4cb9ae88b1ec0db0bcc27e131fcb9ad8a8bc88e39721b3b73f63e057bae4cd36619894e25114ccddb1a8e6c21db2f80adcabb3263ff5d8b34b72af7563afe2
|
||||
DIST systemd-stable-253.tar.gz 11987926 BLAKE2B 73319210bff59616811a36d526903a78e4af2061da9e4b23f2da88a43695b43b5c62de6ec4685f99edbe6b34d5ee1dc0f8889dc9649eb10d9b18514453ceb13e SHA512 85bc9a3715d9ccc80df2c5678b74a4a3b72569643d1779511ea631d692dea0fa1da255ef18b1c4fd477a777c036ea2afe9c0ffb29101c09c608933455002f029
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -7,11 +7,8 @@ inherit cmake
|
||||
|
||||
DESCRIPTION="High-level C++ D-Bus library for Linux"
|
||||
HOMEPAGE="https://github.com/Kistler-Group/sdbus-cpp/"
|
||||
|
||||
SYSTEMDVER="251"
|
||||
SRC_URI="
|
||||
https://github.com/Kistler-Group/sdbus-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
!systemd? ( https://github.com/systemd/systemd-stable/archive/v"${SYSTEMDVER}".tar.gz -> systemd-stable-"${SYSTEMDVER}".tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
@ -21,7 +18,8 @@ IUSE="doc examples systemd test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
systemd? ( sys-apps/systemd )
|
||||
systemd? ( >=sys-apps/systemd-236 )
|
||||
!systemd? ( >=sys-auth/elogind-236 )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
@ -39,17 +37,10 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/remove_download_from_external_project.patch" )
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
use systemd || mv "${WORKDIR}"/systemd-stable-"${SYSTEMDVER}" "${S}"_build/systemd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_CODE_GEN=ON
|
||||
-DBUILD_LIBSYSTEMD=$(usex !systemd)
|
||||
-DBUILD_LIBSYSTEMD=OFF
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DBUILD_EXAMPLES=$(usex examples)
|
||||
-DBUILD_SHARED_LIBS=ON
|
@ -1,5 +1,8 @@
|
||||
DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3fbb95eef61701bf953df6e25e37a12fb12702b57f66e30ac757f28d9d1bcd0f2fbc38775d5b73922504084ff95f9fda1d78f SHA512 e3777a612facad029782fe63abc702af06197521fcf90f4c80311fd7ad94739209573c7de910dfaeafd88948c2c3f3d29bb27f4fa1069475295b6f5b29e14116
|
||||
DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0
|
||||
DIST genpatches-6.1-52.base.tar.xz 3173368 BLAKE2B 429b5bc3af457d91b9c178737e573d150e337859c0f07a25043c86b834829e749b92c57fa2d80b2acfe9864f916ebe77c830249be23391d6553f5469b1934708 SHA512 0f003893b6c24fa9bb79722d6d83edb25e77fff11a526f86052980ee175d6dd599784cfcc7ad82055de9663a178fb9de38a766cfe61fe17fbde696a5292f023f
|
||||
DIST genpatches-6.1-52.extras.tar.xz 3808 BLAKE2B 6a67986309840e14bd4759c0aabb1af5d6b3653660d1a12d8706567470a28b3a56d5a09cbdd3df9068bed7a845206b5a81fca3a1be0ffe7122579d9b3ff63401 SHA512 0476ec7af5906dfd4dd48c96799568f8ed7d24d7d43717979e03a16219b732461e0afc7af1c5a4f528a08c4b5c2c35d249e81be1c6d0f854f7993da2e0c7aad3
|
||||
DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628
|
||||
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
||||
DIST patch-6.1.38-rt12-xanmod1.xz 2139372 BLAKE2B 6c9cfc207fc6cb478ee5aa0b958fa697a5fd0028cf3ee690c05bb9a923723d478022c25591534f4f03f6c26584b98226f7ebdcee48c5bda7ddf7cce285800b1d SHA512 1d93313e8d38e5201de201ec84bd39de5c8184bb807d7edacda2fa92e72c0b65d672b3614d1d1cf0b1577cb7d8c777814396590d01640365c39894895b779c16
|
||||
DIST patch-6.1.46-rt13-xanmod1.xz 2532772 BLAKE2B eab46381f9880ea2dc906ae3a7794541cee4d289f2ab8b8e93ce0feb44b7547f549f2512ff52a200244843bb15801a8152c0799c702bad3d63101bc13a6469ee SHA512 7cc9f31873eddef13b3d47c409a5c1c49bb05f46723ef6dea1e509ef2e8bee3fbd966dbd8168c1f201ba10f58c0f2a8d2b9501ba603208a4a01d9e51e5349f0f
|
||||
|
7
sys-kernel/xanmod-rt-kernel/files/no-debug-extra.config
Normal file
7
sys-kernel/xanmod-rt-kernel/files/no-debug-extra.config
Normal file
@ -0,0 +1,7 @@
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
CONFIG_DEBUG_INFO_NONE=y
|
||||
# CONFIG_DEBUG_INFO_DWARF5 is not set
|
||||
# CONFIG_DEBUG_INFO_BTF is not set
|
||||
# CONFIG_PAHOLE_HAS_SPLIT_BTF is not set
|
||||
# CONFIG_DEBUG_INFO_BTF_MODULES is not set
|
||||
# CONFIG_GDB_SCRIPTS is not set
|
105
sys-kernel/xanmod-rt-kernel/xanmod-rt-kernel-6.1.46_p13.ebuild
Normal file
105
sys-kernel/xanmod-rt-kernel/xanmod-rt-kernel-6.1.46_p13.ebuild
Normal file
@ -0,0 +1,105 @@
|
||||
# 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##*.} + 6 ))
|
||||
GENTOO_CONFIG_VER=g7
|
||||
|
||||
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,4 +1,7 @@
|
||||
DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3fbb95eef61701bf953df6e25e37a12fb12702b57f66e30ac757f28d9d1bcd0f2fbc38775d5b73922504084ff95f9fda1d78f SHA512 e3777a612facad029782fe63abc702af06197521fcf90f4c80311fd7ad94739209573c7de910dfaeafd88948c2c3f3d29bb27f4fa1069475295b6f5b29e14116
|
||||
DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0
|
||||
DIST genpatches-6.1-52.base.tar.xz 3173368 BLAKE2B 429b5bc3af457d91b9c178737e573d150e337859c0f07a25043c86b834829e749b92c57fa2d80b2acfe9864f916ebe77c830249be23391d6553f5469b1934708 SHA512 0f003893b6c24fa9bb79722d6d83edb25e77fff11a526f86052980ee175d6dd599784cfcc7ad82055de9663a178fb9de38a766cfe61fe17fbde696a5292f023f
|
||||
DIST genpatches-6.1-52.extras.tar.xz 3808 BLAKE2B 6a67986309840e14bd4759c0aabb1af5d6b3653660d1a12d8706567470a28b3a56d5a09cbdd3df9068bed7a845206b5a81fca3a1be0ffe7122579d9b3ff63401 SHA512 0476ec7af5906dfd4dd48c96799568f8ed7d24d7d43717979e03a16219b732461e0afc7af1c5a4f528a08c4b5c2c35d249e81be1c6d0f854f7993da2e0c7aad3
|
||||
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
||||
DIST patch-6.1.38-rt12-xanmod1.xz 2139372 BLAKE2B 6c9cfc207fc6cb478ee5aa0b958fa697a5fd0028cf3ee690c05bb9a923723d478022c25591534f4f03f6c26584b98226f7ebdcee48c5bda7ddf7cce285800b1d SHA512 1d93313e8d38e5201de201ec84bd39de5c8184bb807d7edacda2fa92e72c0b65d672b3614d1d1cf0b1577cb7d8c777814396590d01640365c39894895b779c16
|
||||
DIST patch-6.1.46-rt13-xanmod1.xz 2532772 BLAKE2B eab46381f9880ea2dc906ae3a7794541cee4d289f2ab8b8e93ce0feb44b7547f549f2512ff52a200244843bb15801a8152c0799c702bad3d63101bc13a6469ee SHA512 7cc9f31873eddef13b3d47c409a5c1c49bb05f46723ef6dea1e509ef2e8bee3fbd966dbd8168c1f201ba10f58c0f2a8d2b9501ba603208a4a01d9e51e5349f0f
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
XANMOD_VERSION=1
|
||||
RT_PATCHSET="${PV/*_p}"
|
||||
|
||||
K_WANT_GENPATCHES="base extras"
|
||||
K_GENPATCHES_VER="52"
|
||||
|
||||
ETYPE="sources"
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
K_NOSETEXTRAVERSION="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
DESCRIPTION="Full XanMod sources with CONFIG_PREEMPT_RT and including the Gentoo patchset "
|
||||
HOMEPAGE="https://xanmod.org"
|
||||
LICENSE+=" CDDL"
|
||||
SRC_URI="
|
||||
${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
|
||||
mirror://sourceforge/xanmod/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz
|
||||
${GENPATCHES_URI}
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_unpack() {
|
||||
UNIPATCH_LIST_DEFAULT=""
|
||||
UNIPATCH_LIST="${DISTDIR}/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz "
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
|
||||
kernel-2_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# 627796
|
||||
sed \
|
||||
"s/default PREEMPT_NONE/default PREEMPT_RT/g" \
|
||||
-i "${S}/kernel/Kconfig.preempt" || die "sed failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "MICROCODES"
|
||||
elog "Use xanmod-sources with microcodes"
|
||||
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
|
||||
}
|
22
virtual/dist-kernel/dist-kernel-6.1.46_p13.ebuild
Normal file
22
virtual/dist-kernel/dist-kernel-6.1.46_p13.ebuild
Normal file
@ -0,0 +1,22 @@
|
||||
# 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