X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=images%2FMakefile.am;h=e413750d5bd761976c1b094b11b7e828064fb449;hp=90c4ce31205d4e9a662c727848a25d019690eb54;hb=c649817586e5b4df53b251d1290422f5ef046045;hpb=70c033998e0e721dc4f9eb2a20348098b259752c diff --git a/images/Makefile.am b/images/Makefile.am index 90c4ce3..e413750 100644 --- a/images/Makefile.am +++ b/images/Makefile.am @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. include $(top_srcdir)/subdir-rules.mk @@ -39,7 +39,7 @@ EXTRA_DIST = \ test-grep.txt \ guest-aux/make-debian-img.sh \ guest-aux/debian-packages \ - guest-aux/make-fedora-img.sh \ + guest-aux/make-fedora-img.pl \ guest-aux/fedora-name.db.txt \ guest-aux/fedora-name.db \ guest-aux/fedora-packages.db.txt \ @@ -56,7 +56,7 @@ noinst_DATA = test.iso # This is 'check_DATA' because we don't need it until 'make check' # time and we need the tools we have built in order to make it. -check_DATA = debian.img fedora.img ubuntu.img windows.img +check_DATA = debian.img fedora.img fedora-md1.img fedora-md2.img ubuntu.img windows.img CLEANFILES = \ test.iso test.sqsh \ @@ -170,12 +170,22 @@ $(builddir)/test-grep.txt.gz: test-grep.txt mv $@-t $@ # Make a (dummy) Fedora image. -fedora.img: guest-aux/make-fedora-img.sh \ +fedora.img: guest-aux/make-fedora-img.pl \ guest-aux/fedora-name.db \ guest-aux/fedora-packages.db TMPDIR=$(top_builddir) \ SRCDIR=$(srcdir) \ - bash $< + LAYOUT=partitions \ + ../run $< + +# Make a (dummy) Fedora image using md devices +fedora-md1.img fedora-md2.img: guest-aux/make-fedora-img.pl \ + guest-aux/fedora-name.db \ + guest-aux/fedora-packages.db + TMPDIR=$(top_builddir) \ + SRCDIR=$(srcdir) \ + LAYOUT=partitions-md \ + ../run $< guest-aux/fedora-name.db: guest-aux/fedora-name.db.txt rm -f $@ $@-t