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
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.
-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 \