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, 3 insertions(+), 1 deletion(-)


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

diff --git a/ChangeLog b/ChangeLog
index ddd19cf..2638ed4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 ????-??-?? - Version 1.0.2
 
+ * vdsm: vdsmid: do not attempt to install dmidecode on platforms other than
 
 2013-03-14 - Version 1.0.1
 
diff --git a/src/plugins/ovirt-host-deploy/vdsm/vdsmid.py 
b/src/plugins/ovirt-host-deploy/vdsm/vdsmid.py
index 2ebaf37..5bc0466 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 platform.machine() in ('x86_64', 'i686'):
+            self.packager.install(('dmidecode',))
 
     @plugin.event(
         stage=plugin.Stages.STAGE_CUSTOMIZATION,


--
To view, visit http://gerrit.ovirt.org/14069
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: ovirt-host-deploy-1.0
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