X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile.in;h=89e647450e37f1e11db3ec77e8971d9d2f3a0111;hb=d9eeebe35bedea60b31d9a642c02fe0e203141d3;hp=38476b8f4a2ad1bb6103843748b6459ed1f43ba4;hpb=96361c7cd26b9b22bfb59ffe0bd4b625c637a86b;p=virt-p2v.git diff --git a/Makefile.in b/Makefile.in index 38476b8..89e6474 100644 --- a/Makefile.in +++ b/Makefile.in @@ -42,7 +42,7 @@ VIRTP2V_RPM := $(PACKAGE)-$(VERSION)-1.noarch.rpm all: @echo "make rpm Build the virt-p2v RPM" @echo "make build Build the live CD ISO" - @echo "make boot [HDA=hda.img] [HDB=hdb.img] [ISO=livecd.iso]" + @echo "make boot [HDA=hda.img] [HDB=hdb.img] [ISO=livecd.iso] [SERIAL=yes]" @echo " Boot built/named ISO (uses qemu)" @echo "make update Update an existing live CD ISO with new" @echo " virt-p2v script, without doing full rebuild" @@ -74,7 +74,7 @@ RPM_FLAGS := --define "_topdir %(pwd)/rpmbuild" \ p2vrepo/$(VIRTP2V_RPM): \ virt-p2v.spec \ virt-p2v virt-p2v-update-wrapper iso-attach \ - inittab + inittab tty1 $(MAKE) dist rm -rf rpmbuild mkdir rpmbuild rpmbuild/{RPMS,BUILD,SRPMS,SPECS} rpmbuild/RPMS/noarch @@ -83,12 +83,6 @@ p2vrepo/$(VIRTP2V_RPM): \ cp rpmbuild/RPMS/noarch/$(VIRTP2V_RPM) p2vrepo createrepo p2vrepo -# Make the final script. - -virt-p2v: virt-p2v.ml0 virt-p2v.ml - cat $^ > $@ - chmod 0555 $@ - # Run live CD under qemu. ifeq ($(HAVE_QEMU_KVM),qemu-kvm) @@ -110,6 +104,8 @@ endif ifneq ($(HDB),) QEMU_ARGS += -hdb $(HDB) endif +SERIAL = none +QEMU_ARGS += -serial $(SERIAL) boot: $(QEMU) $(QEMU_ARGS) @@ -160,7 +156,7 @@ checkrpm: # Clean. clean: - rm -f *~ core virt-p2v pod2htm* + rm -f core *~ pod2htm* distclean: clean rm -rf autom4te.cache config.log config.status configure \