[Pkg-xen-changes] r1041 - in trunk/xen/debian: . scripts

Bastian Blank waldi at alioth.debian.org
Sun Jun 17 22:00:58 UTC 2012


Author: waldi
Date: Sun Jun 17 22:00:57 2012
New Revision: 1041

Log:
* debian/changelog: Update.
* debian/scripts/xen-version: Remove support for Lenny and earlier.

Modified:
   trunk/xen/debian/changelog
   trunk/xen/debian/scripts/xen-version

Modified: trunk/xen/debian/changelog
==============================================================================
--- trunk/xen/debian/changelog	Sun Jun 17 21:54:50 2012	(r1040)
+++ trunk/xen/debian/changelog	Sun Jun 17 22:00:57 2012	(r1041)
@@ -2,6 +2,7 @@
 
   * Remove /usr/lib/xen-default.
   * Fix init script usage.
+  * Remove support for Lenny and earlier.
 
  -- Bastian Blank <waldi at debian.org>  Sun, 17 Jun 2012 23:52:46 +0200
 

Modified: trunk/xen/debian/scripts/xen-version
==============================================================================
--- trunk/xen/debian/scripts/xen-version	Sun Jun 17 21:54:50 2012	(r1040)
+++ trunk/xen/debian/scripts/xen-version	Sun Jun 17 22:00:57 2012	(r1041)
@@ -9,16 +9,7 @@
     type="$(cat /sys/hypervisor/type)"
     if [ "$type" = xen ]; then
         DIR=/sys/hypervisor/version
-        VERSION_EXTRA="$(cat $DIR/extra)"
-        if [ "$VERSION_EXTRA" = "-unstable" ]; then
-            # Old xen-unstable
-            VERSION=unstable
-        elif [ "$VERSION_EXTRA" != "${VERSION_EXTRA#-}" ]; then
-            # ABI for Lenny and smaller
-            VERSION="$(cat $DIR/major).$(cat $DIR/minor)$VERSION_EXTRA"
-        else
-            VERSION="$(cat $DIR/major).$(cat $DIR/minor)"
-        fi
+        VERSION="$(cat $DIR/major).$(cat $DIR/minor)"
     elif [ -z "$type" ]; then
         error "Can't read hypervisor type from sysfs!"
     else



More information about the Pkg-xen-changes mailing list