From: Arne Fitzenreiter Date: Sun, 18 May 2014 12:39:16 +0000 (+0200) Subject: core77: drop xen kernel support. X-Git-Tag: v2.15-core78~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fcore77;p=ipfire-2.x.git 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 --- 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 #