Alon Bar-Lev has uploaded a new change for review.

Change subject: vdsm: vdsmid: do not attempt to install dmidecode on platforms 
other than x86
......................................................................

vdsm: vdsmid: do not attempt to install dmidecode on platforms other than x86

Change-Id: Ib683ad399287f2a9502a2851557269cabeaded4d
Reported-By: Pradipta Kumar Banerjee <[email protected]>
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M ChangeLog
M src/plugins/ovirt-host-deploy/vdsm/vdsmid.py
2 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/44/13744/1

diff --git a/ChangeLog b/ChangeLog
index 395b526..d5b1968 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
 
  * vdsm: bridge: fix vlan id detection, thanks to Jeff Bailey for reporting.
  * vdsm: hardware: do not fail if cannot read msr, rhbz#916589.
+ * vdsm: vdsmid: do not attempt to install dmidecode on platforms other than
+   x86.
 
 2013-02-14 - Version 1.0.0
 
diff --git a/src/plugins/ovirt-host-deploy/vdsm/vdsmid.py 
b/src/plugins/ovirt-host-deploy/vdsm/vdsmid.py
index 2ebaf37..6bf5be3 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/vdsmid.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/vdsmid.py
@@ -77,7 +77,8 @@
         ),
     )
     def _packages(self):
-        self.packager.install(('dmidecode',))
+        if arch in ('x86_64', 'i686'):
+            self.packager.install(('dmidecode',))
 
     @plugin.event(
         stage=plugin.Stages.STAGE_CUSTOMIZATION,


--
To view, visit http://gerrit.ovirt.org/13744
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib683ad399287f2a9502a2851557269cabeaded4d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to