X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=make.sh;h=170b16504c5610f0744a1b49ded8730fe1115823;hb=41c242bff8222d8e2100af708ddfd9719ac078c7;hp=0981b9a66eaa0c68d4024b6ce54f926377805074;hpb=333125abf850085611922634e31b714a35b31383;p=ipfire-2.x.git diff --git a/make.sh b/make.sh index 0981b9a66e..170b16504c 100755 --- a/make.sh +++ b/make.sh @@ -26,8 +26,8 @@ NAME="IPFire" # Software name SNAME="ipfire" # Short name # If you update the version don't forget to update backupiso and add it to core update VERSION="2.23" # Version number -CORE="133" # Core Level (Filename) -PAKFIRE_CORE="132" # Core Level (PAKFIRE) +CORE="137" # Core Level (Filename) +PAKFIRE_CORE="137" # Core Level (PAKFIRE) GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` # Git Branch SLOGAN="www.ipfire.org" # Software slogan CONFIG_ROOT=/var/ipfire # Configuration rootdir @@ -38,7 +38,7 @@ KVER=`grep --max-count=1 VER lfs/linux | awk '{ print $3 }'` GIT_TAG=$(git tag | tail -1) # Git Tag GIT_LASTCOMMIT=$(git log | head -n1 | cut -d" " -f2 |head -c8) # Last commit -TOOLCHAINVER=20190427 +TOOLCHAINVER=20190814 ############################################################################### # @@ -469,11 +469,11 @@ prepareenv() { mkdir -p "${BASEDIR}/build${TOOLS_DIR}" 2>/dev/null mkdir -p $BASEDIR/build/{etc,usr/src} 2>/dev/null mkdir -p $BASEDIR/build/{dev/{shm,pts},proc,sys} - mkdir -p $BASEDIR/{cache,ccache} 2>/dev/null + mkdir -p $BASEDIR/{cache,ccache/${BUILD_ARCH}} 2>/dev/null if [ "${ENABLE_RAMDISK}" = "on" ]; then mkdir -p $BASEDIR/build/usr/src - mount -t tmpfs tmpfs -o size=4G,mode=1777 $BASEDIR/build/usr/src + mount -t tmpfs tmpfs -o size=4G,nr_inodes=1M,mode=1777 $BASEDIR/build/usr/src fi mkdir -p $BASEDIR/build/usr/src/{cache,config,doc,html,langs,lfs,log,src,ccache} @@ -488,7 +488,7 @@ prepareenv() { mount --bind /proc $BASEDIR/build/proc mount --bind /sys $BASEDIR/build/sys mount --bind $BASEDIR/cache $BASEDIR/build/usr/src/cache - mount --bind $BASEDIR/ccache $BASEDIR/build/usr/src/ccache + mount --bind $BASEDIR/ccache/${BUILD_ARCH} $BASEDIR/build/usr/src/ccache mount --bind $BASEDIR/config $BASEDIR/build/usr/src/config mount --bind $BASEDIR/doc $BASEDIR/build/usr/src/doc mount --bind $BASEDIR/html $BASEDIR/build/usr/src/html @@ -520,6 +520,9 @@ prepareenv() { SYSTEM_RELEASE="${SYSTEM_RELEASE} - Development Build: $GIT_BRANCH/$GIT_LASTCOMMIT$GIT_STATUS" ;; esac + + # Setup ccache cache size + enterchroot ccache --max-size="${CCACHE_CACHE_SIZE}" >/dev/null } enterchroot() { @@ -900,6 +903,7 @@ update_contributors() { } # Default settings +CCACHE_CACHE_SIZE="4G" ENABLE_RAMDISK="auto" # Load configuration file @@ -1128,9 +1132,6 @@ buildipfire() { lfsmake2 lvm2 lfsmake2 multipath-tools lfsmake2 freetype - lfsmake2 grub - lfsmake2 efivar - lfsmake2 efibootmgr lfsmake2 libmnl lfsmake2 libnfnetlink lfsmake2 libnetfilter_queue @@ -1218,6 +1219,9 @@ buildipfire() { lfsmake2 libffi lfsmake2 python lfsmake2 python3 + lfsmake2 grub + lfsmake2 efivar + lfsmake2 efibootmgr lfsmake2 ca-certificates lfsmake2 fireinfo lfsmake2 libnet @@ -1255,6 +1259,7 @@ buildipfire() { lfsmake2 beep lfsmake2 libarchive lfsmake2 cmake + lfsmake2 libssh lfsmake2 cdrkit lfsmake2 dosfstools lfsmake2 reiserfsprogs @@ -1287,6 +1292,8 @@ buildipfire() { lfsmake2 misc-progs lfsmake2 nano lfsmake2 URI + lfsmake2 perl-CGI + lfsmake2 perl-Switch lfsmake2 HTML-Tagset lfsmake2 HTML-Parser lfsmake2 HTML-Template @@ -1337,8 +1344,13 @@ buildipfire() { lfsmake2 setserial lfsmake2 setup lfsmake2 libdnet + lfsmake2 rust + lfsmake2 jansson lfsmake2 yaml lfsmake2 libhtp + lfsmake2 colm + lfsmake2 ragel + lfsmake2 hyperscan lfsmake2 suricata lfsmake2 oinkmaster lfsmake2 ids-ruleset-sources @@ -1382,7 +1394,9 @@ buildipfire() { lfsmake2 fetchmail lfsmake2 cyrus-imapd lfsmake2 clamav + lfsmake2 perl-NetAddr-IP lfsmake2 spamassassin + lfsmake2 perl-Net-LibIDN lfsmake2 amavisd lfsmake2 dma lfsmake2 alsa @@ -1486,7 +1500,6 @@ buildipfire() { lfsmake2 perl-gettext lfsmake2 perl-Sort-Naturally lfsmake2 vdradmin - lfsmake2 miau lfsmake2 perl-DBI lfsmake2 perl-DBD-SQLite lfsmake2 perl-File-ReadBackwards @@ -1498,7 +1511,6 @@ buildipfire() { lfsmake2 watchdog lfsmake2 libpri lfsmake2 libsrtp - lfsmake2 jansson lfsmake2 asterisk lfsmake2 usb_modeswitch lfsmake2 usb_modeswitch_data @@ -1512,6 +1524,7 @@ buildipfire() { lfsmake2 swig lfsmake2 u-boot lfsmake2 u-boot-kirkwood + lfsmake2 u-boot-friendlyarm lfsmake2 python-typing lfsmake2 python-m2crypto lfsmake2 wireless-regdb @@ -1616,6 +1629,8 @@ buildipfire() { lfsmake2 flashrom lfsmake2 firmware-update lfsmake2 tshark + lfsmake2 geoip-generator + lfsmake2 speedtest-cli } buildinstaller() {