
This is the Bacula CDROM rescue directory. It currently contains
the following subdirectories:

  Directory          Contents
  autoconf           Configuration files
  freebsd            The FreeBSD rescue code (not much)
  linux              The Linux rescue code -- working
    cdrom              The Linux CDROM rescue code -- working
  solaris            The Solaris rescue code (not much)
                     Please read solaris/custom_boot_cd.txt 

Build instructions for Linux CDROM:       

First, you must configure with:

  cd <rescue>
  ./configure \
     --with-dev=<CDROM-device, e.g. /dev/hdc> \
     --with-bacula=<path-to-bacula-source> \
     --with-bacula=bin=<path-to-installed-bacula-binaries> \
     --with-bacula-scripts=<path-to-installed-scripts>

  This will find the current Bacula version, and create
  all the Makefiles from Makefile.in  

  Do not edit the Makefiles or your changes will be lost. Always
  edit Makefile.in

  There is also a --with-iso=<iso-image> option on configure
  that allows you to specify a location of an ISO image that
  already exists, presumably built by your Linux vendor.
  This option permits remastering of that image and including
  the Bacula files.  However, this work is incomplete, and I am
  a bit unsure what its state it.

  You can get all the "with" options by doing:

  ./configure --help

After doing the ./configure described above, to actually build
the CDROM (Linux only):
   
   cd <bacula-source>

   (configure and make your Bacula distribution, if
    you have not already done this.
    !!!!!!! Important !!!!!!!!!!
    You should not configure OpenSSL because there are     
    no static libraries for some of the components. The
    same may be true for Python  
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!)

   cd rescue/linux/cdrom
   (read the README in this directory)
   (become root)
   make
   make burn
   make clean 
   (optionally, you might want to cd to your Bacula
    source directory and do a "make clean" to remove
    any files created by root)
   (become normal user)

 See the README in linux/cdrom for more detailed information
 on possible modifications for your site or more of the
 details of building the CDROM.

 The documentation for actually using the CDROM can be found
 in the Rescue chapter of the Bacula manual.


To create a distribution tar file:
   cd <rescue>
   ./configure --with-bacula=<bacula-source-directory>
   make clean
   make
   make release

   The output will be a .tar.gz file in the current directory
   with the name bacula-rescue-<version>.tar.gz 
   It will print the name.

Note, this version of the Bacula Rescue CDROM is built on top of the MkCDRec package,
which can be found at:

  http://mkcdrec.ota.be/
