View | Details | Raw Unified | Return to bug 29384
Collapse All | Expand All

(-)a/branches/ucs-3.1/ucs/base/univention-updater/script/preup.sh (-6 / +6 lines)
 Lines 118-127   if [ "$TERM" = "xterm" ]; then Link Here 
118
	fi
118
	fi
119
fi
119
fi
120
120
121
if [ "$(dpkg-query -W -f='${Status}\n' univention-kernel-image-2.6.32 2>/dev/null)" = "install ok installed" ]; then
121
if [ "$(dpkg --print-architecture)" = "i386" ] &&
122
    paeavail=`grep "^flags" /proc/cpuinfo | grep pae`
122
	grep -q "^flags\>.*\<pae\>" /proc/cpuinfo &&
123
    if [ -n "$paeavail" ]; then
123
	[ "$(dpkg-query -W -f='${Status}' univention-kernel-image-2.6.32 2>/dev/null)" = "install ok installed" ]
124
        echo "You have the univention-kernel-image-2.6.32 installed, which is the meta package for systems"
124
then
125
	echo "You have the univention-kernel-image-2.6.32 installed, which is the meta package for systems"
125
	echo "without the Physical Adress Extension needed to support more than 4 GB of memory."
126
	echo "without the Physical Adress Extension needed to support more than 4 GB of memory."
126
	echo "Starting with UCS 3.1 the standard kernel for 32 bit CPUs will always use PAE. To upgrade"
127
	echo "Starting with UCS 3.1 the standard kernel for 32 bit CPUs will always use PAE. To upgrade"
127
	echo "to this kernel you need to perform the following steps before starting the update:"
128
	echo "to this kernel you need to perform the following steps before starting the update:"
 Lines 129-136   if [ "$(dpkg-query -W -f='${Status}\n' univention-kernel-image-2.6.32 2>/dev/nul Link Here 
129
	echo "1. univention-install univention-kernel-image-2.6.32-64gb"
130
	echo "1. univention-install univention-kernel-image-2.6.32-64gb"
130
	echo "2. Reboot the system"
131
	echo "2. Reboot the system"
131
	echo "3. apt-get remove univention-kernel-image-2.6.32"
132
	echo "3. apt-get remove univention-kernel-image-2.6.32"
132
        exit 1
133
	exit 1
133
    fi
134
fi
134
fi
135
135
136
# call custom preup script if configured
136
# call custom preup script if configured

Return to bug 29384