summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild b/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
index 30094b283bf5..a856235646c3 100644
--- a/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
+++ b/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
@@ -33,10 +33,6 @@ RDEPEND="
selinux? ( sec-policy/selinux-irqbalance )
"
-PATCHES=(
- "${FILESDIR}"/${P}-drop-protectkerneltunables.patch
-)
-
pkg_setup() {
CONFIG_CHECK="~PCI_MSI"
linux-info_pkg_setup
@@ -45,6 +41,11 @@ pkg_setup() {
src_prepare() {
default
+ (
+ cd "${WORKDIR}"/${P} || die
+ eapply "${FILESDIR}"/${P}-drop-protectkerneltunables.patch
+ )
+
# Follow systemd policies
# https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy
sed \