mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Fix appliance build dependency problem
The appliance was being completely rebuilt every time guestfsd was updated. This was because make.sh depended on guestfsd, which it had to do because it called update.sh to install guestfsd. This fix removes the call to update.sh in make.sh, and therefore the dependency on guestfsd. The Makefile already includes a rule to run update.sh when guestfsd is updated, so this was unnecessary.
This commit is contained in:
committed by
Richard W.M. Jones
parent
ff4ae8633e
commit
d1c2287fe4
@@ -53,7 +53,7 @@ VMLINUZ = vmlinuz.$(REPO).$(host_cpu)
|
||||
# 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)/daemon/guestfsd
|
||||
$(top_builddir)/initramfs/fakeroot.log: make.sh kmod.whitelist packagelist
|
||||
mv $(INITRAMFSIMG) $(INITRAMFSIMG).bak 2>/dev/null; :
|
||||
mv $(VMLINUZ) $(VMLINUZ).bak 2>/dev/null; :
|
||||
if ! bash make.sh; then rm -f $@; exit 1; fi
|
||||
|
||||
@@ -168,10 +168,6 @@ __EOF__
|
||||
|
||||
ls -lh $koutput
|
||||
|
||||
# Now directly run the update script to copy/update the daemon in the
|
||||
# initramfs.
|
||||
cd appliance && bash update.sh
|
||||
|
||||
elif [ "@DIST@" = "DEBIAN" ]; then
|
||||
cd @top_builddir@/appliance
|
||||
debirf make -n debian
|
||||
|
||||
Reference in New Issue
Block a user