[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, experimental, updated. debian/0.9.13_rc1-1
Guido Günther
agx at sigxcpu.org
Tue Jun 26 14:27:29 UTC 2012
The following commit has been merged in the experimental branch:
commit e4714b7d895a154ccc74a471d65b120122e35c49
Author: Guido Günther <agx at sigxcpu.org>
Date: Fri Jun 8 16:13:24 2012 +0200
Add sanlock support
Closes: #676345
Thanks: David Weber
diff --git a/debian/control b/debian/control
index 6092f86..787a155 100644
--- a/debian/control
+++ b/debian/control
@@ -33,6 +33,7 @@ Build-Depends: cdbs (>= 0.4.90~),
libnuma-dev [amd64 i386 ia64 mips mipsel powerpc],
radvd [linux-any],
libnetcf-dev [linux-any],
+ libsanlock-dev [linux-any],
# For "make check"
dwarves,
libxml2-utils,
@@ -136,3 +137,15 @@ Description: libvirt Python bindings
.
This package contains Python bindings for the libvirt library
+Package: libvirt-sanlock
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libvirt0 (= ${binary:Version}), augeas-tools
+Priority: extra
+Description: library for interfacing with different virtualization systems
+ Libvirt is a C toolkit to interact with the virtualization capabilities
+ of recent versions of Linux (and other OSes). The library aims at providing
+ a long term stable C API for different virtualization mechanisms. It currently
+ supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
+ .
+ This package contains the sanlock plugin.
+
diff --git a/debian/libvirt-bin.install b/debian/libvirt-bin.install
index dd9b344..72f23a4 100644
--- a/debian/libvirt-bin.install
+++ b/debian/libvirt-bin.install
@@ -3,7 +3,8 @@ usr/sbin/*
etc/libvirt/*
etc/sasl2/*
usr/share/polkit-1
-usr/lib/libvirt/*
+usr/lib/libvirt/libvirt*
+usr/lib/libvirt/connection-driver
usr/share/augeas/*
usr/share/libvirt/*
usr/share/man/man8/*
diff --git a/debian/libvirt-sanlock.cron.weekly b/debian/libvirt-sanlock.cron.weekly
new file mode 100644
index 0000000..4abbe5c
--- /dev/null
+++ b/debian/libvirt-sanlock.cron.weekly
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Disabled by default
+exit 0
+
+/usr/sbin/virt-sanlock-cleanup -q
+exit 0
+
+
+
diff --git a/debian/libvirt-sanlock.install b/debian/libvirt-sanlock.install
new file mode 100644
index 0000000..d8a7348
--- /dev/null
+++ b/debian/libvirt-sanlock.install
@@ -0,0 +1 @@
+usr/lib/libvirt/lock-driver/sanlock.so
diff --git a/debian/rules b/debian/rules
index f240b70..853b284 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
WITH_QEMU = --with-qemu
WITH_OPENVZ = --with-openvz
WITH_NETCF = --with-netcf
+ WITH_SANLOCK = --with-sanlock
ifneq (,$(findstring $(DEB_HOST_ARCH), amd64 i386 ia64 mips mipsel powerpc))
WITH_NUMA = --with-numactl
else
--
Libvirt Debian packaging
More information about the Pkg-libvirt-commits
mailing list