echo -ne "Checking for necessary space on disk $BASE_DEV" | tee -a $LOGFILE
BASE_DEV=`df -P -k $BASEDIR | tail -n 1 | awk '{ print $1 }'`
BASE_ASPACE=`df -P -k $BASEDIR | tail -n 1 | awk '{ print $4 }'`
- if (( 2202000 > $BASE_ASPACE )); then
+ if (( 2048000 > $BASE_ASPACE )); then
BASE_USPACE=`du -skx $BASEDIR | awk '{print $1}'`
- if (( 2202000 - $BASE_USPACE > $BASE_ASPACE )); then
+ if (( 2048000 - $BASE_USPACE > $BASE_ASPACE )); then
beautify message FAIL
- exiterror "Not enough temporary space available, need at least 2.1GB on $BASE_DEV"
+ exiterror "Not enough temporary space available, need at least 2GB on $BASE_DEV"
fi
else
beautify message DONE
ipfiremake ppp
ipfiremake rp-pppoe
ipfiremake unzip
- ipfiremake linux PASS=I
+# ipfiremake linux PASS=I # Can we remove the installer kernel?
ipfiremake linux PASS=S
# ipfiremake 3cp4218 PASS=SMP
# ipfiremake amedyn PASS=SMP
# ipfiremake pulsar PASS=SMP
# ipfiremake unicorn PASS=SMP
# ipfiremake promise-sata-300-tx PASS=SMP
+ ipfiremake zaptel PASS=S
ipfiremake linux
# ipfiremake 3cp4218
# ipfiremake amedyn
# ipfiremake pulsar
# ipfiremake unicorn
# ipfiremake promise-sata-300-tx
+ ipfiremake zaptel
# ipfiremake pcmciautils
ipfiremake expat
ipfiremake gdbm
ipfiremake lcms
ipfiremake libmng
ipfiremake freetype
+ ipfiremake libart
ipfiremake gd
ipfiremake popt
ipfiremake pcre
ipfiremake slang
ipfiremake newt
-# ipfiremake libcap
+ ipfiremake libcap
ipfiremake pciutils
ipfiremake libxml2
ipfiremake BerkeleyDB
ipfiremake ipac-ng
ipfiremake ipaddr
ipfiremake iptstate
-# ipfiremake iputils
-exit 1
+ ipfiremake iputils
ipfiremake l7-protocols
- ipfiremake isapnptools
- ipfiremake isdn4k-utils
- ipfiremake kudzu
+# ipfiremake isapnptools # ERROR :(
+# ipfiremake isdn4k-utils # What about mISDN???
+# ipfiremake kudzu # ERROR :(
ipfiremake logrotate
ipfiremake logwatch
ipfiremake mingetty
ipfiremake nano
ipfiremake nash
ipfiremake nasm
+### The Perl Modules have to be updated! I will skip this now!
ipfiremake URI
ipfiremake HTML-Tagset
ipfiremake HTML-Parser
ipfiremake Text-Tabs+Wrap
ipfiremake Locale-Country
ipfiremake GeoIP
+###
ipfiremake fwhits
ipfiremake noip_updater
ipfiremake ntp
ipfiremake squid
ipfiremake squid-graph
ipfiremake squidguard
- ipfiremake tcpdump
+# ipfiremake tcpdump
ipfiremake traceroute
ipfiremake vlan
ipfiremake wireless
ipfiremake pkg-config
ipfiremake glib
ipfiremake pammysql
- ipfiremake saslauthd PASS=2
ipfiremake xinetd
ipfiremake ghostscript
ipfiremake cups
ipfiremake clamav
ipfiremake razor
ipfiremake spamassassin
-# ipfiremake amavisd
+ ipfiremake amavisd
ipfiremake stund
- ipfiremake zaptel
ipfiremake libpri
- ipfiremake bristuff
+# ipfiremake bristuff
ipfiremake asterisk
ipfiremake mpg123
ipfiremake libmad
# Run installer scripts one by one
LOGFILE="$BASEDIR/log/_build.installer.log"
export LOGFILE
- ipfiremake syslinux
- ipfiremake as86
- ipfiremake mbr
ipfiremake uClibc
installmake busybox
+ installmake udev
installmake sysvinit
installmake e2fsprogs
installmake misc-progs
+exiterror STOP HERE!
+ ipfiremake syslinux
+ ipfiremake as86
+ ipfiremake mbr
installmake slang
installmake util-linux
installmake newt
fi
exit 0
;;
-prefetch)
+downloadsrc)
if [ ! -d $BASEDIR/cache ]; then
mkdir $BASEDIR/cache
fi
"")
clear
svn info
- select name in "Exit" "IPFIRE: Prefetch" "IPFIRE: Build (silent)" "IPFIRE: Watch Build" "IPFIRE: Batch" "IPFIRE: Clean" "SVN: Commit" "SVN: Update" "SVN: Status" "SVN: Diff" "LOG: Tail" "Help"
+ select name in "Exit" "IPFIRE: Downloadsrc" "IPFIRE: Build (silent)" "IPFIRE: Watch Build" "IPFIRE: Batch" "IPFIRE: Clean" "SVN: Commit" "SVN: Update" "SVN: Status" "SVN: Diff" "LOG: Tail" "Help"
do
case $name in
- "IPFIRE: Prefetch")
- $0 prefetch
+ "IPFIRE: Downloadsrc")
+ $0 downloadsrc
;;
"IPFIRE: Build (silent)")
$0 build-silent
$0 svn update
;;
"Help")
- echo "Usage: $0 {build|changelog|clean|gettoolchain|newpak|prefetch|shell|sync|toolchain}"
+ echo "Usage: $0 {build|changelog|clean|gettoolchain|newpak|downloadsrc|shell|sync|toolchain}"
cat doc/make.sh-usage
;;
"LOG: Tail")
done
;;
*)
- echo "Usage: $0 {build|changelog|clean|gettoolchain|newpak|prefetch|shell|sync|toolchain}"
+ echo "Usage: $0 {build|changelog|clean|gettoolchain|newpak|downloadsrc|shell|sync|toolchain}"
cat doc/make.sh-usage
;;
esac