mkisofs is obsolete. Require genisoimage everywhere instead.
authorNikita A Menkovich <menkovich@gmail.com>
Sat, 2 Apr 2011 10:04:47 +0000 (11:04 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 2 Apr 2011 10:04:47 +0000 (11:04 +0100)
README
configure.ac
debian/control
images/Makefile.am

diff --git a/README b/README
index 7fa9e9e..fbff025 100644 (file)
--- a/README
+++ b/README
@@ -40,7 +40,7 @@ Requirements
 
 - squashfs-tools (mksquashfs only)
 
-- genisoimage / mkisofs
+- genisoimage (NOT mkisofs any more)
 
 - hivex >= 1.2.1 (http://libguestfs.org/download)
 
index 34070db..cf204e7 100644 (file)
@@ -270,10 +270,10 @@ else
 fi
 AC_SUBST([POD2_UTF8_OPTION])
 
-dnl Check for mkisofs.
-AC_PATH_PROGS([MKISOFS],[mkisofs],[no],
+dnl Check for genisoimage.
+AC_PATH_PROGS([GENISOIMAGE],[genisoimage],[no],
         [$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin])
-test "x$MKISOFS" = "xno" && AC_MSG_ERROR([mkisofs must be installed])
+test "x$GENISOIMAGE" = "xno" && AC_MSG_ERROR([genisoimage must be installed])
 
 dnl Check for optional xmllint.
 AC_CHECK_PROG([XMLLINT],[xmllint],[xmllint],[no])
index 4951f3c..9a20f9b 100644 (file)
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 7), autotools-dev,
   libmagic-dev, libncurses5-dev, libpcre3-dev, libxml2-dev,
   qemu-system (>= 0.13) | kvm (>= 0.13) | qemu-kvm (>= 0.13) | qemu (>= 0.13),
 # XXX how to say we need Linux >= 2.6.36?
-  mkisofs, pkg-config,
+  genisoimage, pkg-config,
 # when building from git:
   automake, autoconf, libtool, ocaml,
 # for python bindings:
index 40bf90f..d45e699 100644 (file)
@@ -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