[Pkg-libvirt-commits] [SCM] Virt-what Debian packaging branch, master, updated. debian/1.1-1-2-ge6a8c93

Laurent Léonard laurent at open-minds.org
Sun Aug 9 18:39:01 UTC 2009


The following commit has been merged in the master branch:
commit ec6c9a07748ee7c2f265d0d59f6ec8afba95c4ee
Author: Laurent Léonard <laurent at open-minds.org>
Date:   Sun Aug 9 20:37:09 2009 +0200

    Add UML support.

diff --git a/debian/patches/0002-Add-UML-support.patch b/debian/patches/0002-Add-UML-support.patch
new file mode 100644
index 0000000..e1dcdd9
--- /dev/null
+++ b/debian/patches/0002-Add-UML-support.patch
@@ -0,0 +1,26 @@
+From: =?utf-8?q?Laurent=20L=C3=A9onard?= <laurent at open-minds.org>
+Date: Fri, 7 Aug 2009 15:22:54 +0200
+Subject: [PATCH] Add UML support.
+
+---
+ virt-what.in |    6 ++++++
+ 1 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/virt-what.in b/virt-what.in
+index d0ac095..d967307 100644
+--- a/virt-what.in
++++ b/virt-what.in
+@@ -87,6 +87,12 @@ if [ -d /proc/vz -a ! -d /proc/bc ]; then
+     echo openvz
+ fi
+ 
++# Check for UML.
++
++if grep -q 'UML' /proc/cpuinfo; then
++    echo uml
++fi
++
+ # To tell if it is Xen and KVM HVM (fully virtualized) we can use this
+ # helper C program.
+ 
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index d34be86..9e50250 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Change-virt-what-cpuid-helper-path-to-usr-lib-virt-w.patch
+0002-Add-UML-support.patch

-- 
Virt-what Debian packaging



More information about the Pkg-libvirt-commits mailing list