From a4da0b6e311ba28bcbc4f276c4030b6425fc4c4b Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 18 May 2014 14:39:16 +0200 Subject: [PATCH] core77: drop xen kernel support. The legacy xen kernel is incompatible to grsecurity and new udev so we are forced to drop the support. We have anounced this step 8 month ago. http://planet.ipfire.org/post/dropping-support-for-xen-3-x-deprecation-warning --- config/rootfiles/core/77/update.sh | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/config/rootfiles/core/77/update.sh b/config/rootfiles/core/77/update.sh index e9cf770045..9a4f781715 100644 --- a/config/rootfiles/core/77/update.sh +++ b/config/rootfiles/core/77/update.sh @@ -44,20 +44,12 @@ done # # Do some sanity checks. case $(uname -r) in - *-ipfire-versatile ) + *-ipfire-xen ) /usr/bin/logger -p syslog.emerg -t ipfire \ - "core-update-${core}: ERROR cannot update. versatile support is dropped." - # Report no error to pakfire. So it does not try to install it again. + "core-update-${core}: ERROR cannot update. legacy-xen support was dropped." + echo "IPFire 2.13 (i586) - core 76 - xen-legacy (EOL) No support!" > /etc/system-release exit 0 ;; - *-ipfire-xen ) - BOOTSIZE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f2 | tail -n 1` - if [ $BOOTSIZE -lt 28000 ]; then - /usr/bin/logger -p syslog.emerg -t ipfire \ - "core-update-${core}: ERROR cannot update because not enough space on boot." - exit 2 - fi - ;; *-ipfire* ) # Ok. ;; @@ -475,18 +467,6 @@ if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then fi fi -# Force reinstall xen kernel if it was installed -if [ -e "/opt/pakfire/db/installed/meta-linux-xen" ]; then - echo "Name: linux-xen" > /opt/pakfire/db/installed/meta-linux-xen - echo "ProgVersion: 0" >> /opt/pakfire/db/installed/meta-linux-xen - echo "Release: 0" >> /opt/pakfire/db/installed/meta-linux-xen - echo "Name: linux-xen" > /opt/pakfire/db/meta/meta-linux-xen - echo "ProgVersion: 0" >> /opt/pakfire/db/meta/meta-linux-xen - echo "Release: 0" >> /opt/pakfire/db/meta/meta-linux-xen - # Add xvc0 to /etc/securetty - echo "xvc0" >> /etc/securetty -fi - # # After pakfire has ended run it again and update the lists and do upgrade # -- 2.39.5