MACHINE=`uname -m`
SVN_REVISION=`svn info | grep Revision | cut -c 11-`
-IPFVER="full devel" # Which version should be compiled? (full|light|voice|devel)
+IPFVER="full devel" # Which versions should be compiled? (full|light|voice|devel)
# Set an information about the build number
if [ -e ./.svn ]; then
ipfiremake fcpci SMP=1
# ipfiremake promise-sata-300-tx SMP=1
ipfiremake zaptel SMP=1
+ ipfiremake fuse SMP=1
ipfiremake linux
ipfiremake ipp2p
ipfiremake fcdsl
ipfiremake fcpci
# ipfiremake promise-sata-300-tx
ipfiremake zaptel
+ ipfiremake fuse
ipfiremake expat
ipfiremake gdbm
ipfiremake gmp
ipfiremake dosfstools
ipfiremake reiserfsprogs
ipfiremake squashfstools
+ ipfiremake ntfs-3g
ipfiremake ethtool
ipfiremake ez-ipupdate
ipfiremake fcron
ipfiremake iptables
ipfiremake libupnp
ipfiremake ipp2p IPT=1
+ ipfiremake moblock
ipfiremake linux-igd
ipfiremake ipac-ng
ipfiremake ipaddr
# Create images for install
for i in $IPFVER
do
- ipfiremake cdrom ED=$i
+ if [ $i == "devel" ]; then
+ if [ ! -f ipfire-$VER.i586-devel.iso ]; then
+ ipfiremake cdrom ED=$i
+ fi
+ else
+ ipfiremake cdrom ED=$i
+ fi
done
ipfiremake pxe
cp -f $LFS/install/images/{*.iso,*.tgz} $BASEDIR >> $LOGFILE 2>&1
PWD=`pwd`
cd $BASEDIR/cache/
echo -e "Uploading cache to ftp server:"
- ncftpls -u $FTP_CACHE_USER -p $FTP_CACHE_PASS ftp://$FTP_CACHE_URL$FTP_CACHE_PATH/ > /var/tmp/ftplist
+ ncftpls -u $FTP_CACHE_USER -p $FTP_CACHE_PASS ftp://$FTP_CACHE_URL$FTP_CACHE_PATH/ > /tmp/ftplist
for i in *; do
if [ "$i" == "toolchains" ]; then continue; fi
- grep -q $i /var/tmp/ftplist
+ grep -q $i /tmp/ftplist
if [ "$?" -ne "0" ]; then
echo -ne "$i"
ncftpput -u $FTP_CACHE_USER -p $FTP_CACHE_PASS $FTP_CACHE_URL $FTP_CACHE_PATH/ $i
- if [ "$?" -eq "0" ]; then
- beautify message DONE
- else
+ if [ "$?" -ne "0" ]; then
beautify message FAIL
fi
fi
done
- rm -f /var/tmp/ftplist
+ rm -f /tmp/ftplist
cd $PWD
exit 0
;;