Blame SOURCES/0001-Missing-have_cpuinfo-check.patch

90b589
From eefc1e7e3dd8fb422baf0f13aec1df9880541b83 Mon Sep 17 00:00:00 2001
90b589
From: Jasper Lievisse Adriaanse <bug@jasper.la>
90b589
Date: Thu, 10 Aug 2017 08:44:01 +0100
c18f13
Subject: [PATCH 01/22] Missing have_cpuinfo check.
90b589
90b589
---
90b589
 virt-what.in | 2 +-
90b589
 1 file changed, 1 insertion(+), 1 deletion(-)
90b589
90b589
diff --git a/virt-what.in b/virt-what.in
90b589
index 8c27b11..9050035 100644
90b589
--- a/virt-what.in
90b589
+++ b/virt-what.in
90b589
@@ -308,7 +308,7 @@ if ! "$skip_qemu_kvm"; then
90b589
         # option, since /proc/cpuinfo will not contain the QEMU
90b589
         # string. QEMU 2.10 added a new CPUID leaf, so this
90b589
         # problem only triggered for older QEMU
90b589
-        if grep -q 'QEMU' "${root}/proc/cpuinfo"; then
90b589
+        if have_cpuinfo && grep -q 'QEMU' "${root}/proc/cpuinfo"; then
90b589
             echo qemu
90b589
         fi
90b589
     fi
90b589
-- 
c18f13
2.32.0
90b589