File: Do-not-use-DTB-for-armel.patch

package info (click to toggle)
libguestfs 1%3A1.54.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 98,888 kB
  • sloc: ansic: 379,443; ml: 38,771; sh: 10,328; java: 9,631; cs: 6,377; haskell: 5,729; makefile: 5,178; python: 3,821; perl: 2,467; erlang: 2,461; ruby: 349; xml: 275; pascal: 257; javascript: 157; cpp: 10
file content (22 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (2)
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 174ca13..11cd083 100644
--- a/lib/guestfs-internal.h
+++ b/lib/guestfs-internal.h
@@ -123,6 +123,9 @@ cleanup_mutex_unlock (pthread_mutex_t **ptr)
 #endif
 #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"