#!/bin/bash # get configuration BUILDSERVER_CONFIG_DIR="/etc/mage-buildserver" source ${BUILDSERVER_CONFIG_DIR}/buildserver.conf source ${BUILDSERVER_LIB_DIR}/buildserver-functions.sh # override #BUILDROOT="/mnt/test-buildroot" #BUILD_ARCH=( x86_64 i686 ) #BUILDROOT_PROFILE="R11" #SMAGE_SVN_REPO="svn://cvs.magellan-linux.de/smage/trunk" #MAGE_SVN_REPO="svn://cvs.magellan-linux.de/mage/trunk" SMAGEFILE="$1" if [[ -z ${SMAGEFILE} ]] then die "no smage file given. call '$(basename $0) with/relative/path/from/buildroot/svn/smage/to/smagefile'" fi