Package: libguestfs / 1:1.40.2-2

0003-Do-not-use-DTB-for-armel.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Hilko Bengen <bengen@debian.org>
Date: Sun, 6 Jul 2014 21:34:47 +0200
Subject: Do not use DTB for armel

---
 lib/guestfs-internal.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/guestfs-internal.h b/lib/guestfs-internal.h
index 75b8a5c..b6f6be7 100644
--- a/lib/guestfs-internal.h
+++ b/lib/guestfs-internal.h
@@ -128,6 +128,9 @@
 /* Machine types. */
 #ifdef __arm__
 #define MACHINE_TYPE "virt"
+#ifdef __ARM_PCS_VFP /* do not use DTB for armel */
+#define DTB_WILDCARD "vexpress*a15-tc1.dtb"
+#endif
 #endif
 #ifdef __aarch64__
 #define MACHINE_TYPE "virt"