[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, master, updated. debian/1.10.6-3

Hilko Bengen bengen at debian.org
Sun Aug 7 21:49:32 UTC 2011


The following commit has been merged in the master branch:
commit 6a5de14b20d9c9f8cc17bdecb50119610aeb7b85
Author: Hilko Bengen <bengen at debian.org>
Date:   Sun Aug 7 13:58:59 2011 +0200

    Added update-guestfs-appliance

diff --git a/debian/libguestfs0.README b/debian/libguestfs0.README
index 7fc6a0a..1b19d4d 100644
--- a/debian/libguestfs0.README
+++ b/debian/libguestfs0.README
@@ -1,16 +1,9 @@
 libguestfs for Debian
 =====================
 
-The base.img file is not shipped as part of the libguestfs package
-because it contains copies of material from several other .deb
-packages. However, the script that is 
+libguestfs needs a supermin appliance to perform its work. To generate
+or update it, simply run:
 
-To generate or update this file, it, run the following command (as
-root):
+# update-guestfs-appliance
 
-# ( cd /usr/lib/guestfs; ./make.sh )
-
-I realize that this is a sub-optimal solution and promise to improve
-it in one of the next revisions.
-
- -- Hilko Bengen <bengen at debian.org>, Fri, 29 Jul 2011 18:29:54 +0200
+ -- Hilko Bengen <bengen at debian.org>, Sun,  7 Aug 2011 13:34:13 +0200
diff --git a/debian/libguestfs0.install b/debian/libguestfs0.install
index 54e4242..0c09699 100644
--- a/debian/libguestfs0.install
+++ b/debian/libguestfs0.install
@@ -11,3 +11,4 @@ appliance/packagelist usr/lib/guestfs
 appliance/excludelist usr/lib/guestfs
 appliance/supermin.d/init.img   usr/lib/guestfs/supermin.d
 appliance/supermin.d/daemon.img usr/lib/guestfs/supermin.d
+debian/update-guestfs-appliance usr/sbin
diff --git a/debian/libguestfs0.manpages b/debian/libguestfs0.manpages
new file mode 100644
index 0000000..403f4f7
--- /dev/null
+++ b/debian/libguestfs0.manpages
@@ -0,0 +1 @@
+debian/update-guestfs-appliance.8
diff --git a/debian/update-guestfs-appliance b/debian/update-guestfs-appliance
new file mode 100755
index 0000000..d786ec1
--- /dev/null
+++ b/debian/update-guestfs-appliance
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+( cd /usr/lib/guestfs; ./make.sh )
diff --git a/debian/update-guestfs-appliance.8 b/debian/update-guestfs-appliance.8
new file mode 100644
index 0000000..b034604
--- /dev/null
+++ b/debian/update-guestfs-appliance.8
@@ -0,0 +1,37 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.TH LIBGUESTFS 8 "August 2011"
+.SH NAME
+update-guestfs-appliance \- update the supermin appliance used by
+libguestfs
+.SH SYNOPSIS
+.B update-guestfs-appliance
+.SH DESCRIPTION
+\fBupdate-guestfs-appliance\fP creates or updates the supermin
+appliance for use with libguestfs. It uses \fBfebootstrap\fP for this,
+therefore access to the package repository is needed.
+.PP
+A supermin appliance contains only lists of files and directories. The
+contents of the referenced files are only copied into an ad-hoc
+filesystem whenever libguestfs starts a virtual machine. Therefore,
+calling \fBupdate-guestfs-appliance\fP is only needed after libguestfs
+has been installed or when the filesystem layouts or dependencies of
+needed packages on the host system have been changed.
+.PP
+.SH FILES
+.BR /usr/lib/guestfs/make.sh
+(the script that does the actual work),
+.nh
+.nf
+.BR /usr/lib/guestfs/supermin.d/hostfiles
+.BR /usr/lib/guestfs/supermin.d/base.img
+.fi
+.hy
+.SH SEE ALSO
+.BR guestfish (1),
+.BR guestmount (1),
+.BR febootstrap (8),
+.BR febootstrap-supermin-helper (8).
+.SH AUTHOR
+\fBupdate-guestfs-appliance\fP and this manual page were written by
+Hilko Bengen <bengen at debian.org>, for the Debian project (and may be
+used by others).

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list