# To edit:
set -x
RELEASE='trusty' # Only trusty (Ubuntu 14.04) will work at this time.
UBUNTU_FIRST_USER='ubuntu'
set +x #Do not show the password
UBUNTU_FIRST_USER_PASS='#EDIT THIS#'
set -x
BUILD_HOSTNAME='ubuntu'
EXTRA_SOFTWARE='htop mc openssh-server vim language-pack-de'
#REMOVE_SOFTWARE='manpages'
REMOVE_SOFTWARE='';
#WriteTo='mmcblk0'
WriteTo='image'
#WriteTo='nothing'
# if you want to create a Harddisk (and a mmc as "BIOS", then show extra_files.sh
# The workdir:
WORKDIR='/tmp'
#http_proxy='http://x60:3142'
# the card-device to write
INSTALL_DEVICE='/dev/mmcblk0';
# avtivate to install the firmware
UPDATE_FIRMWARE='true'
#UPDATE_FIRMWARE=''
# The newest firmware has errors with a few of usb-devices, Yo can use a older Version
# You have to activate UPDATE_FIRMWARE if you want to do this.
#UPDATE_FIRMWARE_USB_SAVE='true'
UPDATE_FIRMWARE_USB_SAVE=''
# Activate for USB-Devices mit higher power.consumption than 600mA.
# In this case you must have minimum 2.1A ...
Activate1_2AmpPowerOverUSB='true'
#============================================================#
# #
# DO NOT(!) EDIT #
# #
#============================================================#
set +x
export WriteTo
export RELEASE
export WORKDIR
export BASEDIR=`echo "${WORKDIR}/${RELEASE}" | sed 's#//#/#g'`
export BUILDDIR="${BASEDIR}/build"
export R=${BUILDDIR}/chroot
export EXTRA_SOFTWARE
export REMOVE_SOFTWARE
export HTTP_PROXY=$http_proxy
export UBUNTU_FIRST_USER
export UBUNTU_FIRST_USER_PASS
export BUILD_HOSTNAME
export INSTALL_DEVICE
set -x