summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-28 04:46:32 +0000
committerSam James <sam@gentoo.org>2024-03-28 04:46:32 +0000
commit3e1b0adc1eb3618207a8315e90fb53b17d489994 (patch)
treeb43a850b2d09fff2d6300b87c311097bb4c0c352 /sys-apps
parentsys-apps/irqbalance: call udev_reload (diff)
downloadgentoo-3e1b0adc1eb3618207a8315e90fb53b17d489994.tar.gz
gentoo-3e1b0adc1eb3618207a8315e90fb53b17d489994.tar.bz2
gentoo-3e1b0adc1eb3618207a8315e90fb53b17d489994.zip
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 <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/irqbalance/files/irqbalance.confd-216
-rw-r--r--sys-apps/irqbalance/irqbalance-1.9.4.ebuild2
2 files changed, 17 insertions, 1 deletions
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
}