2 # Makefile for building a Bacula Rescue CDROM or remastering
3 # a CDROM or ISO image adding the Bacula files.
12 #-------------------------------------------------------------------------
14 # Make an iso boot image
19 makecdimage --type=@type@ --where=@where@
21 # try booting it with qemu emulator
23 qemu -cdrom bacula-knoppix.iso
35 @(cd bacula; make copy-static-fd)
41 cp -a bacula/ cdimage/
43 knoppix: environment fillknoppix iso
51 #all: kernel binaries bacula initrd iso
54 copy-static-fd: kernel binaries static-bacula initrd iso
57 # This needs to be customized for your burner.
59 cdrecord dev=ATA:@CDSTL@ gracetime=2 fs=4096k driveropts=burnfree -v \
60 -useinfo speed=48 -dao -eject -pad -data "bacula-knoppix.iso"
62 # Blank the CDROM assuming it is +rw
64 cdrecord dev=ATA:@CDSTL@ gracetime=2 -v blank=fast -useinfo speed=48
72 # Clean out files that are rebuilt
74 @rm -f bacula-knoppix.iso
75 @rm -rf roottree/bacula-*
76 @(cd bacula; make distclean)
78 @echo " Please delete manually the REMASTER_PATH"