From 3e1b0adc1eb3618207a8315e90fb53b17d489994 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 28 Mar 2024 04:46:32 +0000 Subject: sys-apps/irqbalance: drop obsolete option from OpenRC conf.d IRQBALANCE_BANNED_INTERRUPTS was removed upstream. We could implement it as a shim for upstream's --banirq option but I don't see the point, people can pass that via the other variable anyway. Bug: https://github.com/Irqbalance/irqbalance/issues/271 Closes: https://bugs.gentoo.org/917338 Signed-off-by: Sam James --- sys-apps/irqbalance/files/irqbalance.confd-2 | 16 ++++++++++++++++ sys-apps/irqbalance/irqbalance-1.9.4.ebuild | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 sys-apps/irqbalance/files/irqbalance.confd-2 (limited to 'sys-apps') diff --git a/sys-apps/irqbalance/files/irqbalance.confd-2 b/sys-apps/irqbalance/files/irqbalance.confd-2 new file mode 100644 index 000000000000..b55054a11b1d --- /dev/null +++ b/sys-apps/irqbalance/files/irqbalance.confd-2 @@ -0,0 +1,16 @@ +# /etc/conf.d/irqbalance: config file for /etc/init.d/irqbalance + +# Additional options to pass to irqbalance itself. +IRQBALANCE_OPTS="" + +# These are envvars used by irqbalance itself, so make sure the "export" +# is retained. For more info, please see the irqbalance manpage. + +# Run irqbalance once and then exit +#export IRQBALANCE_ONESHOT="0" + +# Include debug messages in output +#export IRQBALANCE_DEBUG="0" + +# List of cpus to not include in balancing +#export IRQBALANCE_BANNED_CPUS="" diff --git a/sys-apps/irqbalance/irqbalance-1.9.4.ebuild b/sys-apps/irqbalance/irqbalance-1.9.4.ebuild index a2b48d74b723..0baa39a88aa2 100644 --- a/sys-apps/irqbalance/irqbalance-1.9.4.ebuild +++ b/sys-apps/irqbalance/irqbalance-1.9.4.ebuild @@ -65,7 +65,7 @@ src_install() { meson_src_install newinitd "${FILESDIR}"/irqbalance.init.4 irqbalance - newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance + newconfd "${FILESDIR}"/irqbalance.confd-2 irqbalance systemd_dounit "${WORKDIR}"/${P}/misc/irqbalance.service udev_dorules "${WORKDIR}"/${P}/misc/90-irqbalance.rules } -- cgit v1.2.3-65-gdbad