Blob Blame History Raw
diff -up sapconf-0.98/sapconf.dmidecode-deps sapconf-0.98/sapconf
--- sapconf-0.98/sapconf.dmidecode-deps	2016-09-20 18:03:43.790482636 +0200
+++ sapconf-0.98/sapconf	2016-09-20 18:08:07.907549245 +0200
@@ -721,7 +721,12 @@ fi
 
 function check_rpms() {
 #virtrpms checks if the system is a virtualization guest that requires additional rpms
-virtrpms
+
+# bz#1377766, dmidecode is not supported on s390x/ppc64, skip it on these
+# platforms temporary before we have generic solution.
+if [ -x /usr/sbin/dmidecode -o -x /usr/bin/dmidecode ] ; then
+  virtrpms
+fi
 
 if [ $CHECK_ONLY == 0 ]; then
   for gp in $RPMS $EXTRA_RPMS $VIRTRPMS; do