From d2a25fd1735506e8592bcd70b9c02063023cb149 Mon Sep 17 00:00:00 2001 From: Nikita A Menkovich Date: Thu, 14 Jul 2011 19:24:43 +0100 Subject: [PATCH] debian: New sub-package: guestfsd. This patch adds guestfsd debian package to the build. The daemon can be installed in virtualization clients to enable libguestfs live access. --- debian/control | 10 ++++++++++ debian/guestfsd.dirs | 1 + debian/guestfsd.install | 1 + debian/rules | 3 +++ 4 files changed, 15 insertions(+) create mode 100644 debian/guestfsd.dirs create mode 100644 debian/guestfsd.install diff --git a/debian/control b/debian/control index bd769b8..7e4ca6c 100644 --- a/debian/control +++ b/debian/control @@ -96,6 +96,16 @@ Description: libguestfs filesystem interactive shell virtual machine filesystems. It uses libguestfs and exposes all of the functionality of the guestfs API, see guestfs(3). +Package: guestfsd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + bsdmainutils, diff, grub-pc, iproute, + libaugeas0, udev, binutils, cpio, dosfstools, + file, lsof, module-init-tools, net-tools, parted, + procps, scrub, strace, zerofree +Description: Daemon to access to guest virtual machine throuh virtio serial + Daemon to access to guest virtual machine throuh virtio serial + Package: guestmount Section: devel Architecture: any diff --git a/debian/guestfsd.dirs b/debian/guestfsd.dirs new file mode 100644 index 0000000..236670a --- /dev/null +++ b/debian/guestfsd.dirs @@ -0,0 +1 @@ +usr/sbin diff --git a/debian/guestfsd.install b/debian/guestfsd.install new file mode 100644 index 0000000..17d19c4 --- /dev/null +++ b/debian/guestfsd.install @@ -0,0 +1 @@ +usr/sbin/guestfsd diff --git a/debian/rules b/debian/rules index 89a93d8..da6272e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +export DH_VERBOSE=1 + DEB_PYTHON_SYSTEM=pysupport DEB_DH_INSTALL_SOURCEDIR = debian/tmp DEB_VENDOR=$(shell dpkg-vendor --query vendor) @@ -17,6 +19,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := \ --disable-haskell \ --disable-php \ --with-readline \ + --enable-install-daemon \ --with-python-installdir=/usr/share/pyshared DEB_DBG_PACKAGES = libguestfs0-dbg -- 1.8.3.1