Univention Bugzilla – Attachment 4839 Details for
Bug 29384
Prüfung auf Kernel-Pakete ohne PAE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix PAE test
29384_univention-kernel-image-pae.diff (text/plain), 1.58 KB, created by
Philipp Hahn
on 2012-11-26 18:04 CET
(
hide
)
Description:
Fix PAE test
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2012-11-26 18:04 CET
Size:
1.58 KB
patch
obsolete
>diff --git a/branches/ucs-3.1/ucs/base/univention-updater/script/preup.sh b/branches/ucs-3.1/ucs/base/univention-updater/script/preup.sh >index 9dd8067..07c3e05 100644 >--- a/branches/ucs-3.1/ucs/base/univention-updater/script/preup.sh >+++ b/branches/ucs-3.1/ucs/base/univention-updater/script/preup.sh >@@ -118,10 +118,11 @@ if [ "$TERM" = "xterm" ]; then > fi > fi > >-if [ "$(dpkg-query -W -f='${Status}\n' univention-kernel-image-2.6.32 2>/dev/null)" = "install ok installed" ]; then >- paeavail=`grep "^flags" /proc/cpuinfo | grep pae` >- if [ -n "$paeavail" ]; then >- echo "You have the univention-kernel-image-2.6.32 installed, which is the meta package for systems" >+if [ "$(dpkg --print-architecture)" = "i386" ] && >+ grep -q "^flags\>.*\<pae\>" /proc/cpuinfo && >+ [ "$(dpkg-query -W -f='${Status}' univention-kernel-image-2.6.32 2>/dev/null)" = "install ok installed" ] >+then >+ echo "You have the univention-kernel-image-2.6.32 installed, which is the meta package for systems" > echo "without the Physical Adress Extension needed to support more than 4 GB of memory." > echo "Starting with UCS 3.1 the standard kernel for 32 bit CPUs will always use PAE. To upgrade" > echo "to this kernel you need to perform the following steps before starting the update:" >@@ -129,8 +130,7 @@ if [ "$(dpkg-query -W -f='${Status}\n' univention-kernel-image-2.6.32 2>/dev/nul > echo "1. univention-install univention-kernel-image-2.6.32-64gb" > echo "2. Reboot the system" > echo "3. apt-get remove univention-kernel-image-2.6.32" >- exit 1 >- fi >+ exit 1 > fi > > # call custom preup script if configured
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 29384
: 4839