Basic device detection.
[virt-p2v.git] / Makefile
index f098f29..0124250 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,9 +29,7 @@ all:
 
 build: livecd.ks
        rm -f $(LABEL).iso
-       livecd-creator \
-         --config=$< \
-         --fslabel=$(LABEL)
+       livecd-creator --config=$< --fslabel=$(LABEL)
        ls -lhtr *.iso
 
 ISO    = $(LABEL).iso
@@ -47,12 +45,14 @@ livecd.ks: livecd.ks.in livecd-post.sh Makefile
          -e 's|@TIMEZONE@|$(TIMEZONE)|g' \
          < $< | cat - livecd-post.sh > $@
 
-livecd-post.sh: livecd-post.sh.in p2v.init virt-p2v.sh Makefile
+livecd-post.sh: livecd-post.sh.in p2v.init virt-p2v.sh inittab Makefile
        sed \
          -e '/@P2V.INIT@/ r p2v.init' \
          -e '/@P2V.INIT@/ d' \
          -e '/@VIRT-P2V.SH@/ r virt-p2v.sh' \
          -e '/@VIRT-P2V.SH@/ d' \
+         -e '/@INITTAB@/ r inittab' \
+         -e '/@INITTAB@/ d' \
          < $< > $@
 
 clean: