#!/bin/bash source CONFIG source functions ensure BASE ARCH NAME IN_RAM if [ "${IN_RAM}" = "1" ]; then mkdir -p ./${BASE} mount -t tmpfs none ./${BASE} -o size=2G,exec,suid,dev fi OPTS="" if exists MIRROR; then OPTS+=" --mirror ${MIRROR} " # OPTS+=" --early-mirror ${MIRROR} " fi if exists EXTRA_MIRROR; then OPTS+=" --extra-mirror ${EXTRA_MIRROR} " fi echo "Bootstrapping ..." if [ "x${VERBOSE}" = "x0" ]; then exec &> /dev/null fi ltsp-build-client --arch ${ARCH} --accept-unsigned-packages --chroot ${NAME} --base ./${BASE} --locale es --skipimage ${OPTS} if [ "$?" != "0" ]; then exitting fi exit 0