MKCDREC=@BUILD_DIR@/mkcdrec
CWD=@BUILD_DIR@/linux/cdrom
-first_rule: all
+first_rule: mkcdrec
dummy:
#-------------------------------------------------------------------------
copy-bacula:
cp -a bacula/ cdimage/
-pre-mkcdrec:
+pre-mkcdrec:
+ ./mkcdrec_rd
@echo "Patching mkcdrec Config.sh for Bacula"
@mkdir -p tmp
@rm -f tmp/1 tmp/2 tmp/1
cp /tmp/CDrec.iso bootcd.iso
chmod 644 bootcd.iso
rm -f /tmp/CDrec.iso
+ rm -f custom-rd.img.bz2
# This will build the old Bacula rescue
all: kernel binaries bacula initrd iso
-mkcdrec: bacula pre-mkcdrec main-mkcdrec post-mkcdrec
+mkcdrec: kernel binaries bacula pre-mkcdrec main-mkcdrec post-mkcdrec
copy-static-fd: kernel binaries static-bacula initrd iso
#
# Clean out files that are rebuilt
#
- @rm -f bootcd.iso
+ @rm -f bootcd.iso custom-rd.img.bz2
@rm -f 1 2 3 4
@rm -rf mnt
@rm -rf roottree/bin roottree/proc roottree/boot