debian: New sub-package: guestfsd.
authorNikita A Menkovich <menkovich@gmail.com>
Thu, 14 Jul 2011 18:24:43 +0000 (19:24 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 14 Jul 2011 18:24:43 +0000 (19:24 +0100)
This patch adds guestfsd debian package to the build.  The daemon can
be installed in virtualization clients to enable libguestfs live
access.

debian/control
debian/guestfsd.dirs [new file with mode: 0644]
debian/guestfsd.install [new file with mode: 0644]
debian/rules

index bd769b8..7e4ca6c 100644 (file)
@@ -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 (file)
index 0000000..236670a
--- /dev/null
@@ -0,0 +1 @@
+usr/sbin
diff --git a/debian/guestfsd.install b/debian/guestfsd.install
new file mode 100644 (file)
index 0000000..17d19c4
--- /dev/null
@@ -0,0 +1 @@
+usr/sbin/guestfsd
index 89a93d8..da6272e 100755 (executable)
@@ -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