[Libguestfs] [PATCH pkg-libvirt/libguestfs] Remove update-guestfs-appliance

Richard W.M. Jones rjones at redhat.com
Sat Mar 15 20:30:56 UTC 2014


I've just realized a couple of things:

(1) Reason why postinst removal of base.img doesn't work: Because it
was the libguestfs-tools postinst (not libguestfs0).  In any case this
is not so important, since the new supermin appliance is located in a
different directory now because of multiarch.

(2) The attached patch gets rid of some appliance installation rules
that aren't really needed any longer.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
-------------- next part --------------
>From cdf637e1db6b1655e85cc156550d1c1f61577200 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones at redhat.com>
Date: Sat, 15 Mar 2014 16:28:31 -0400
Subject: [PATCH] debian/rules: Explicit appliance installation is no longer
 needed.

---
 debian/rules | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0e0604a..211c26e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -108,20 +108,6 @@ override_dh_auto_install:
 	done
 
 override_dh_install:
-	mkdir -p debian/tmp/usr/lib/guestfs \
-		debian/tmp/usr/sbin/ \
-		debian/tmp/usr/share/man/man1 \
-		debian/tmp/lib/udev/rules.d/appliance/
-	install -m755 \
-		debian/build-default/appliance/libguestfs-make-fixed-appliance \
-		debian/tmp/usr/sbin/
-	install -m644 \
-		debian/build-default/appliance/libguestfs-make-fixed-appliance.1 \
-		debian/tmp/usr/share/man/man1/
-	install -m644 \
-		appliance/99-guestfs-serial.rules \
-		debian/tmp/lib/udev/rules.d/
-
 	erlang-depends -perlang-guestfs
 
 	dh_install -X.la -X.so.owner -Xbindtests -X/usr/lib/go/ \
-- 
1.9.0



More information about the Libguestfs mailing list