-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table cdtree
+remaster:
+ rm -f bootcd.iso
+ mkisofs -A "Bacula Rescue Disk" -V "Bacula Rescue Disk" \
+ -J -R -T -o bootcd.iso \
+ -b isolinux/isolinux.bin -c isolinux/boot.cat \
+ -no-emul-boot -boot-load-size 4 -boot-info-table cdimage
+
+cdimage:
+ makecdimage --type=@type@ --where=@where@
+
+
# try booting it with qemu emulator
boot:
qemu -cdrom bootcd.iso
bacula: dummy
@(cd bacula; make)
-all: kernel binaries bacula initrd iso
+copy-bacula:
+ cp -a bacula/ cdimage/
+
+all: cdimage bacula copy-bacula remaster
copy-static-fd: kernel binaries static-bacula initrd iso
# This needs to be customized for your burner.
burn:
- cdrecord dev=@CDSTL@ gracetime=2 fs=4096k driveropts=burnfree -v \
+ cdrecord dev=ATA:@CDSTL@ gracetime=2 fs=4096k driveropts=burnfree -v \
-useinfo speed=48 -dao -eject -pad -data "bootcd.iso"
# Blank the CDROM assuming it is +rw
blank:
- cdrecord dev=@CDSTL@ gracetime=2 -v blank=fast -useinfo speed=48
+ cdrecord dev=ATA:@CDSTL@ gracetime=2 -v blank=fast -useinfo speed=48
scan:
cdrecord -scanbus