added docs/building-process
[grml-live.git] / scripts / 01_bootstrap.sh
index 027f5bd..ef6ea1e 100644 (file)
@@ -14,13 +14,16 @@ bootstrap() {
   if ! [ -d "${TARGET}/grml-live/" ] ; then
      debug "bootstrap: creating ${TARGET}/grml-live/"
      mkdir "${TARGET}/grml-live/"
+     mkdir "${TARGET}/grml-live/scripts/"
+     mkdir "${TARGET}/grml-live/files/"
   fi
 
   # check whether chroot exists already 
   if [ -f "${TARGET}/grml-live/bootstrap" ] ; then
      debug_warn "chroot exists already, skipping execution of $DEBOOTSTRAP and continuing"
   else
-     $DEBOOTSTRAP --arch $ARCH $RELEASE $TARGET $MIRROR && touch "${TARGET}/grml-live/bootstrap"
+     # $DEBOOTSTRAP --arch $ARCH $RELEASE $TARGET $MIRROR && touch "${TARGET}/grml-live/bootstrap"
+     $DEBOOTSTRAP $RELEASE $TARGET $MIRROR && touch "${TARGET}/grml-live/bootstrap"
   fi
 }