[Libguestfs] [PATCH 2/4] Fix out-of-tree appliance build

Hilko Bengen bengen at hilluzination.de
Mon Mar 3 23:07:30 UTC 2014


---
 appliance/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/appliance/Makefile.am b/appliance/Makefile.am
index 7077d37..2e505fc 100644
--- a/appliance/Makefile.am
+++ b/appliance/Makefile.am
@@ -106,7 +106,7 @@ daemon.tar.gz: ../daemon/guestfsd guestfsd.suppressions
 
 init.tar.gz: init
 	rm -f $@ $@-t
-	tar zcf $@-t init
+	( cd $(srcdir) && tar zcf - init ) > $@-t
 	mv $@-t $@
 
 # We should put this file in /lib/udev/rules.d, but put it in /etc so
-- 
1.9.0




More information about the Libguestfs mailing list