[Pkg-libvirt-commits] [libguestfs] 260/266: Added patch that disables --dtb on armel

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:42:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit 84e0a45efaa6c4a39c700101df2a82c43fa21756
Author: Hilko Bengen <bengen at debian.org>
Date:   Sun Jul 27 14:09:23 2014 +0200

    Added patch that disables --dtb on armel
---
 debian/patches/0003-Do-not-use-DTB-for-armel.patch | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/0003-Do-not-use-DTB-for-armel.patch b/debian/patches/0003-Do-not-use-DTB-for-armel.patch
new file mode 100644
index 0000000..4b5a90b
--- /dev/null
+++ b/debian/patches/0003-Do-not-use-DTB-for-armel.patch
@@ -0,0 +1,23 @@
+From: Hilko Bengen <bengen at debian.org>
+Date: Sun, 6 Jul 2014 21:34:47 +0200
+Subject: Do not use DTB for armel
+
+---
+ src/guestfs-internal.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
+index 648f005..c8b0dcd 100644
+--- a/src/guestfs-internal.h
++++ b/src/guestfs-internal.h
+@@ -145,8 +145,10 @@
+  * internally when using mach-virt).
+  */
+ #define MACHINE_TYPE "vexpress-a15"
++#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"
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 4574a17..cf66984 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-perl-revert-failed-attempt-at-building-out-of-tree-s.patch
 0002-golang-Fix-for-out-of-tree-builds.patch
+0003-Do-not-use-DTB-for-armel.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list