fifteen: increase size of pae kernel.

This commit is contained in:
Arne Fitzenreiter
2014-01-14 17:53:14 +01:00
parent dd62fd25cd
commit bf5e1c4c52

View File

@@ -341,7 +341,7 @@ rm -rf /opt/pakfire/db/*/meta-linux-pae
if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then
ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
BOOTSPACE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
if [ $BOOTSPACE -lt 9000 -o $ROOTSPACE -lt 90000 ]; then
if [ $BOOTSPACE -lt 12000 -o $ROOTSPACE -lt 90000 ]; then
/usr/bin/logger -p syslog.emerg -t ipfire \
"core-update-$core: WARNING not enough space for pae kernel."
else