NAME="IPFire" # Software name
SNAME="ipfire" # Short name
VERSION="2.8test" # Version number
-CORE="42" # Core Level (Filename)
-PAKFIRE_CORE="41" # Core Level (PAKFIRE)
+CORE="43" # Core Level (Filename)
+PAKFIRE_CORE="42" # Core Level (PAKFIRE)
GIT_BRANCH=`git status | head -n1 | cut -d" " -f4` # Git Branch
SLOGAN="www.ipfire.org" # Software slogan
CONFIG_ROOT=/var/ipfire # Configuration rootdir
}
buildtoolchain() {
- if [ "$MACHINE" = "x86_64" ]; then
+ if [ "$(uname -m)" = "x86_64" ]; then
exiterror "Cannot build toolchain on x86_64. Please use the download."
fi
+ if [ "$(uname -r | grep ipfire)" ]; then
+ exiterror "Cannot build toolchain on ipfire. Please use the download."
+ fi
LOGFILE="$BASEDIR/log/_build.toolchain.log"
export LOGFILE
ipfiremake ddrescue
ipfiremake tcl
ipfiremake imspector
+ ipfiremake client175
echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
echo >> $BASEDIR/build/var/ipfire/firebuild
echo >> $BASEDIR/build/var/ipfire/firebuild
cat /proc/cpuinfo >> $BASEDIR/build/var/ipfire/firebuild
echo $PAKFIRE_CORE > $BASEDIR/build/opt/pakfire/db/core/mine
- if [ "$GIT_BRANCH" = "master" ]; then
+ if [ "$GIT_BRANCH" = "next" ]; then
echo "$NAME $VERSION - (Development Build: $GIT_LASTCOMMIT)" > $BASEDIR/build/etc/system-release
else
echo "$NAME $VERSION - $GIT_BRANCH" > $BASEDIR/build/etc/system-release