ISO Managment

ISO Content

ISO file is generated from /wakes/cdrom tree, which contents 2 directories:

# ls -l /wakes/cdrom/
total 4
drwxr-xr-x 1 root root    0 Jul  5 22:53 depot
drwxr-xr-x 1 root root 4096 Aug  5 10:52 isolinux

isolinux

# ls -l /wakes/cdrom/isolinux
total 15653
-rw-r--r-- 1 root root 6166439 Aug  5 11:07 initrd.gz
-rw-r--r-- 1 root root   13432 Aug  5 11:44 isolinux.bin
-rw-r--r-- 1 root root     311 Jul  8 23:08 isolinux.cfg
-rw-r--r-- 1 root root     237 Oct  5  2009 isolinux.txt
-rw-r--r-- 1 root root 3690848 Aug  9  2009 vmlinuz

/wakes/cdrom/isolinux/isolinux.txt

 __          __   _             
 \ \        / /  | |            
  \ \  /\  / /_ _| | _____  ___ 
   \ \/  \/ / _` | |/ / _ \/ __|
    \  /\  / (_| |   <  __/\__ \
     \/  \/ \__,_|_|\_\___||___/

The Wakes GNU/Linux Operating System

/wakes/cdrom/isolinux/isolinux.cfg

default linux
prompt 0
timeout 0
display isolinux.txt
label linux
kernel vmlinuz
append initrd=initrd.gz boot=install quiet noapic

depot

# ls -l /wakes/cdrom/depot/0.1/main
total 1
lrwxrwxrwx 1 root root 92 Aug  5 11:33 binaries -> /wakes/rep/0.1/main/binaries
lrwxrwxrwx 1 root root 94 Aug  5 11:33 catalogue -> /wakes/rep/0.1/main/catalogue

ISO Creation

wakes=/wakes
-R     Generate  SUSP  and  RR records using the Rock Ridge protocol to
       further describe the files on the ISO-9660 filesystem.  The Rock
       Ridge  protocol  is  needed in order to add POSIX like file meta
       data like permissions, extended time  stamps,  user/group  is'd,
       link  counts,  inode  numbers and symbolic links. The Rock Ridge
       protocol allows to archive hierarchy trees with unlimited depth.
-f     Follow all symbolic links when generating the filesystem.   When
       this  option is not in use, symbolic links will be entered using
       Rock Ridge if enabled, otherwise the file will be ignored. 

Full ISO creation

mkisofs -R -f -b isolinux/isolinux.bin -c boot.catalog -no-emul-boot \
  -boot-info-table -o $wakes/iso/wakes-full-alpha1-$new_num-$arch.iso \
  $wakes/cdrom

Slim ISO creation:

mkisofs -R -b isolinux/isolinux.bin -c boot.catalog -no-emul-boot \
  -boot-info-table -o $wakes/iso/wakes-full-alpha1-$new_num-$arch.iso \
  $wakes/cdrom