X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=appliance%2FMakefile.am;h=93e1167937be988e2b6f96ff1932de2c18b7f1b0;hb=f68b3ac861ae607a333211c775dded82ae2b2c4a;hp=d15e5f2586ba7e51f7735dfb13c9ff2cdba3b05c;hpb=23273711bdbb07cabb19c095797a33d71b7fe711;p=libguestfs.git diff --git a/appliance/Makefile.am b/appliance/Makefile.am index d15e5f2..93e1167 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -68,7 +68,7 @@ kmod.whitelist: kmod.whitelist.in grep -v '^[[:space:]]*$$' < $< | grep -v '^#' > $@ packagelist: packagelist.in - cpp -undef -DREDHAT=1 < $< | \ + cpp -undef -D$(DIST)=1 < $< | \ grep -v '^[[:space:]]*$$' | grep -v '^#' > $@ # This is for building the supermin appliance. It has to be enabled @@ -92,16 +92,6 @@ $(SUPERMINIMG): supermin.incfiles supermin-make.sh endif -# This should rebuild the scripts if the input files change, although -# it doesn't always seem to work. -%.sh: %.sh.in - cd .. && ./config.status appliance/$@ - chmod +x $@ - -libguestfs-supermin-helper: libguestfs-supermin-helper.in - cd .. && ./config.status appliance/$@ - chmod +x $@ - #---------------------------------------------------------------------- # Extra rules for testing the appliance. @@ -126,7 +116,7 @@ test-boot-realistic: emptydisk -m 384 \ -kernel $(VMLINUZ) -initrd $(INITRAMFSIMG) \ -hda emptydisk \ - -append "console=ttyS0 guestfs=10.0.2.4:6666" \ + -append "console=ttyS0 guestfs=10.0.2.4:6666 guestfs_rescue=1" \ -nographic \ -serial stdio \ -net channel,6666:unix:/tmp/sock,server,nowait \