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="132" # Core Level (Filename)
-PAKFIRE_CORE="131" # Core Level (PAKFIRE)
+CORE="133" # Core Level (Filename)
+PAKFIRE_CORE="132" # 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
TOOLCHAINVER=20181030
-ENABLE_RAMDISK="on"
-
###############################################################################
#
# Beautifying variables & presentation & input output interface
# Fake kernel version, because some of the packages do not compile
# with kernel 3.0 and later.
- env="${env} UTS_RELEASE=${KVER}"
+ env="${env} UTS_RELEASE=${KVER}-ipfire"
# Fake machine version.
env="${env} UTS_MACHINE=${BUILD_ARCH}"
return 0
}
+# Default settings
+ENABLE_RAMDISK="auto"
+
# Load configuration file
if [ -f .config ]; then
. .config
configure_build "default"
fi
+# Automatically enable/disable ramdisk usage
+if [ "${ENABLE_RAMDISK}" = "auto" ]; then
+ # Enable only when the host system has 4GB of RAM or more
+ if [ ${SYSTEM_MEMORY} -ge 3900 ]; then
+ ENABLE_RAMDISK="on"
+ fi
+fi
+
buildtoolchain() {
local error=false
case "${BUILD_ARCH}:${HOST_ARCH}" in
lfsmake2 zabbix_agentd
lfsmake2 flashrom
lfsmake2 firmware-update
+ lfsmake2 tshark
}
buildinstaller() {