X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=images%2FMakefile.am;h=8d0755d548e1aa8aac9af212975a527566560074;hb=7e484865894b98de7a976a688c19e64bdd13dade;hp=40bf90fd7d8302711dd85ec85f9b42d1902fcde0;hpb=22a50e4e3bb9125c5f2520b812811d4ae2bd7d72;p=libguestfs.git diff --git a/images/Makefile.am b/images/Makefile.am index 40bf90f..8d0755d 100644 --- a/images/Makefile.am +++ b/images/Makefile.am @@ -101,7 +101,7 @@ images_files = $(images_files_src) $(images_files_build) test.iso: $(images_files) rm -f $@ $@-t mkdir -p directory - $(MKISOFS) -J -r -graft-points \ + $(GENISOIMAGE) -J -r -graft-points \ -o $@-t \ $(images_files) /directory=directory rmdir directory @@ -171,28 +171,34 @@ $(builddir)/test-grep.txt.gz: test-grep.txt fedora.img: guest-aux/make-fedora-img.sh guest-aux/fedora-name.db LIBGUESTFS_PATH=../appliance \ LD_LIBRARY_PATH=../src/.libs \ + TMPDIR=$(top_builddir) \ bash $< guest-aux/fedora-name.db: guest-aux/fedora-name.db.txt - $(DB_LOAD) $@ < $< + rm -f $@ $@-t + $(DB_LOAD) $@-t < $< + mv $@-t $@ # Make a (dummy) Debian image. debian.img: guest-aux/make-debian-img.sh - LIBGUESTFS_PATH=../appliance \ - LD_LIBRARY_PATH=../src/.libs \ + LIBGUESTFS_PATH=$(top_builddir)/appliance \ + LD_LIBRARY_PATH=$(top_builddir)/src/.libs \ + TMPDIR=$(top_builddir) \ bash $< # Make a (dummy) Ubuntu image. ubuntu.img: guest-aux/make-ubuntu-img.sh - LIBGUESTFS_PATH=../appliance \ - LD_LIBRARY_PATH=../src/.libs \ + LIBGUESTFS_PATH=$(top_builddir)/appliance \ + LD_LIBRARY_PATH=$(top_builddir)/src/.libs \ + TMPDIR=$(top_builddir) \ bash $< # Make a (dummy) Windows image. windows.img: guest-aux/make-windows-img.sh \ guest-aux/windows-software guest-aux/windows-system - LIBGUESTFS_PATH=../appliance \ - LD_LIBRARY_PATH=../src/.libs \ + LIBGUESTFS_PATH=$(top_builddir)/appliance \ + LD_LIBRARY_PATH=$(top_builddir)/src/.libs \ + TMPDIR=$(top_builddir) \ bash $< # Since users might not have the tools needed to create this, we