Bastian Blank
2012-Jun-17 22:00 UTC
[Pkg-xen-changes] r1041 - in trunk/xen/debian: . scripts
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