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

Bastian Blank waldi at alioth.debian.org
Mon Mar 1 21:54:12 UTC 2010


Author: waldi
Date: Mon Mar  1 21:54:11 2010
New Revision: 732

Log:
* debian/changelog: Update.
* debian/scripts/xen-version: Ignore extra version.

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

Modified: trunk/xen-common/debian/changelog
==============================================================================
--- trunk/xen-common/debian/changelog	Mon Mar  1 21:22:54 2010	(r731)
+++ trunk/xen-common/debian/changelog	Mon Mar  1 21:54:11 2010	(r732)
@@ -1,3 +1,9 @@
+xen-common (3.4.2-4) UNRELEASED; urgency=low
+
+  * Ignore extra version in version lookup.
+
+ -- Bastian Blank <waldi at debian.org>  Mon, 01 Mar 2010 22:52:04 +0100
+
 xen-common (3.4.2-3) unstable; urgency=low
 
   * Load xen-evtchn module.

Modified: trunk/xen-common/debian/scripts/xen-version
==============================================================================
--- trunk/xen-common/debian/scripts/xen-version	Mon Mar  1 21:22:54 2010	(r731)
+++ trunk/xen-common/debian/scripts/xen-version	Mon Mar  1 21:54:11 2010	(r732)
@@ -19,11 +19,10 @@
 if [ -e "/sys/hypervisor/type" ]; then
     if [ "$(cat /sys/hypervisor/type)" = xen ]; then
         DIR=/sys/hypervisor/version
-        VERSION_EXTRA=$(cat $DIR/extra)
-        if [ "$VERSION_EXTRA" = "-unstable" ]; then
+        if [ "$(cat $DIR/extra)" = "-unstable" ]; then
             VERSION=unstable
         else
-            VERSION="$(cat $DIR/major).$(cat $DIR/minor)$VERSION_EXTRA"
+            VERSION="$(cat $DIR/major).$(cat $DIR/minor)"
         fi
     else
         warn "Can't read type from sysfs!"



More information about the Pkg-xen-changes mailing list