cookutils annotate cookiso.conf @ rev 551
libmodular.sh: Add some comments.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 16 16:06:34 2012 +0000 (2012-10-16) |
parents | cab55ddc0418 |
children |
rev | line source |
---|---|
slaxemulator@525 | 1 # cookiso.conf: cookiso (SliTaz Live Tool) |
slaxemulator@525 | 2 # configuration file. |
slaxemulator@525 | 3 # |
slaxemulator@525 | 4 |
slaxemulator@548 | 5 # this is to make SLITAZ_RELEASE variable works |
slaxemulator@548 | 6 . /etc/slitaz/slitaz.conf |
slaxemulator@525 | 7 |
slaxemulator@525 | 8 # Name of the ISO image to generate. |
slaxemulator@548 | 9 ISO_NAME="slitaz-$SLITAZ_RELEASE" |
slaxemulator@525 | 10 #ISO_NAME="slitaz-cooking-`date +%Y%m%d`" |
slaxemulator@525 | 11 |
slaxemulator@525 | 12 # ISO image volume name. |
slaxemulator@525 | 13 VOLUM_NAME="SliTaz LiveCD" |
slaxemulator@525 | 14 |
slaxemulator@525 | 15 # Name of the preparer. |
slaxemulator@525 | 16 PREPARED="$USER" |
slaxemulator@525 | 17 |
slaxemulator@525 | 18 # Tazlito work directory with flavors, distro and packages files. |
slaxemulator@548 | 19 WORK_DIR="$SLITAZ" |
slaxemulator@525 | 20 |
slaxemulator@525 | 21 # Path to the packages repository and the packages.list. |
slaxemulator@525 | 22 PACKAGES_REPOSITORY="$WORK_DIR/packages" |
slaxemulator@525 | 23 |
slaxemulator@525 | 24 # Path to the distro tree to gen-distro from a list of packages. |
slaxemulator@525 | 25 DISTRO="$WORK_DIR/distro" |
slaxemulator@525 | 26 |
slaxemulator@525 | 27 # Path to the LiveCD flavors files (http://hg.slitaz.org/flavors) |
slaxemulator@525 | 28 FLAVORS_REPOSITORY=$WORK_DIR/flavors |
slaxemulator@525 | 29 |
slaxemulator@525 | 30 # Path to the directory containing additional files |
slaxemulator@525 | 31 # to copy into the rootfs and rootcd of the LiveCD. |
slaxemulator@525 | 32 ADDFILES="$DISTRO/addfiles" |
slaxemulator@525 | 33 |
slaxemulator@532 | 34 # To enable slitaz-modular |
slaxemulator@532 | 35 MODULAR="" |
slaxemulator@532 | 36 |
slaxemulator@532 | 37 # part of slitaz-modular |
slaxemulator@532 | 38 OVERLAY="$ADDFILES/rootfs" |
slaxemulator@532 | 39 |
slaxemulator@532 | 40 # Set the rootfs and rootcd path with $DISTRO |
slaxemulator@532 | 41 # configuration variable. |
slaxemulator@532 | 42 if [ "$MODULAR" ]; then |
slaxemulator@532 | 43 ROOTFS=$DISTRO/modular |
slaxemulator@532 | 44 else |
slaxemulator@532 | 45 ROOTFS=$DISTRO/rootfs |
slaxemulator@532 | 46 fi |
slaxemulator@532 | 47 ROOTCD=$DISTRO/rootcd |
slaxemulator@532 | 48 |
slaxemulator@525 | 49 # Qemu emulator options for the command: emu-iso |
slaxemulator@525 | 50 QEMU_OPTS="-m 256" |