1 # Filename: 01_bootstrap.sh
2 # Purpose: build script for creating grml live-cd
3 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
4 # Bug-Reports: see http://grml.org/bugs/
5 # License: This file is licensed under the GPL v2.
6 # Latest change: Tue Feb 13 00:13:24 CET 2007
7 ################################################################################
11 debug "executing bootstrap" ;
13 # create main grml-live directory within chroot
14 if ! [ -d "${TARGET}/grml-live/" ] ; then
15 debug "bootstrap: creating ${TARGET}/grml-live/"
16 mkdir "${TARGET}/grml-live/"
19 # check whether chroot exists already
20 if [ -f "${TARGET}/grml-live/bootstrap" ] ; then
21 debug_warn "chroot exists already, skipping execution of $DEBOOTSTRAP and continuing"
23 $DEBOOTSTRAP --arch $ARCH $RELEASE $TARGET $MIRROR && touch "${TARGET}/grml-live/bootstrap"
27 ## END OF FILE #################################################################
28 # vim: ai tw=80 ft=sh expandtab