Resolves: bz975474

This commit is contained in:
Petr Holasek 2013-06-19 16:56:10 +02:00
parent 6dfe01aaa0
commit 74f7ffdf98
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -up irqbalance-1.0.6/misc/irqbalance.service.orig irqbalance-1.0.6/misc/irqbalance.service
--- irqbalance-1.0.6/misc/irqbalance.service.orig 2013-06-19 16:51:49.586832569 +0200
+++ irqbalance-1.0.6/misc/irqbalance.service 2013-06-19 16:52:02.385833438 +0200
@@ -1,6 +1,7 @@
[Unit]
Description=irqbalance daemon
After=syslog.target
+ConditionVirtualization=no
[Service]
EnvironmentFile=/etc/sysconfig/irqbalance

View File

@ -1,6 +1,6 @@
Name: irqbalance Name: irqbalance
Version: 1.0.6 Version: 1.0.6
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 2 Epoch: 2
Summary: IRQ balancing daemon Summary: IRQ balancing daemon
@ -25,6 +25,7 @@ Requires(preun):systemd-units
ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 %{arm} ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 %{arm}
Patch1: irqbalance-1.0.4-env-file-path.patch Patch1: irqbalance-1.0.4-env-file-path.patch
Patch2: irqbalance-1.0.6-no-virt-service.patch
%description %description
irqbalance is a daemon that evenly distributes IRQ load across irqbalance is a daemon that evenly distributes IRQ load across
@ -33,6 +34,7 @@ multiple CPUs for enhanced performance.
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
%{configure} %{configure}
@ -70,6 +72,9 @@ fi
/sbin/chkconfig --del irqbalance >/dev/null 2>&1 || : /sbin/chkconfig --del irqbalance >/dev/null 2>&1 || :
%changelog %changelog
* Wed Jun 19 2013 Petr Holasek <pholasek@redhat.com> - 2:1.0.6-2
- Block irqbalance from running in virt environments (bz975474)
* Mon Jun 10 2013 Petr Holasek <pholasek@redhat.com> - 2:1.0.6-1 * Mon Jun 10 2013 Petr Holasek <pholasek@redhat.com> - 2:1.0.6-1
- Rebased to version 1.0.6 - Rebased to version 1.0.6