[Libguestfs] [PATCH 4/6] out-of-tree build: fix appliance

Hilko Bengen bengen at hilluzination.de
Sun Aug 14 08:58:11 UTC 2011


---
 appliance/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/appliance/Makefile.am b/appliance/Makefile.am
index 503160e..bec2b48 100644
--- a/appliance/Makefile.am
+++ b/appliance/Makefile.am
@@ -69,6 +69,7 @@ supermin.d/daemon.img: ../daemon/guestfsd
 	mv $@-t $@
 
 supermin.d/init.img: init
+	cmp -s $(srcdir)/init $(builddir)/init || cp $(srcdir)/init $(builddir)/init
 	mkdir -p supermin.d
 	rm -f $@ $@-t
 	echo "init" | cpio --quiet -o -H newc > $@-t
-- 
1.7.5.4




More information about the Libguestfs mailing list