mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
build: Ensure building appliance depends on guestfsd
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.
This commit is contained in:
committed by
Richard Jones
parent
1befbee8b8
commit
1b60344e67
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user