[Libguestfs] [PATCH 3/4] build: Ensure building appliance depends on guestfsd

Matthew Booth mbooth at redhat.com
Fri Nov 20 18:52:47 UTC 2009


Previously, only the update.sh rule checked the daemon had been built. update.sh
is called directly from within make.sh, so in that path the dependency was never
checked. This adds the daemon dependency explicitly to the rebuild-from-scratch
path.
---
 appliance/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/appliance/Makefile.am b/appliance/Makefile.am
index bf1183d..abb5086 100644
--- a/appliance/Makefile.am
+++ b/appliance/Makefile.am
@@ -59,7 +59,7 @@ endif
 # This is for building the normal appliance:
 $(INITRAMFSIMG) $(VMLINUZ): $(top_builddir)/initramfs/fakeroot.log
 
-$(top_builddir)/initramfs/fakeroot.log: make.sh kmod.whitelist packagelist
+$(top_builddir)/initramfs/fakeroot.log: make.sh kmod.whitelist packagelist $(top_builddir)/daemon/guestfsd
 	mv $(INITRAMFSIMG) $(INITRAMFSIMG).bak 2>/dev/null; :
 	mv $(VMLINUZ) $(VMLINUZ).bak 2>/dev/null; :
 	if ! bash make.sh; then rm -f $@; exit 1; fi
-- 
1.6.5.2




More information about the Libguestfs mailing list