Bastian Blank
2009-Nov-15 15:13 UTC
[Pkg-xen-changes] r670 - in trunk/xen-common: debian scripts
Author: waldi Date: Sun Nov 15 15:13:43 2009 New Revision: 670 Log: * debian/changelog: Update. * scripts/xen-utils-version: Check for type file entry first. Modified: trunk/xen-common/debian/changelog trunk/xen-common/scripts/xen-utils-version Modified: trunk/xen-common/debian/changelog =============================================================================--- trunk/xen-common/debian/changelog Sun Nov 15 15:05:24 2009 (r669) +++ trunk/xen-common/debian/changelog Sun Nov 15 15:13:43 2009 (r670) @@ -1,6 +1,7 @@ xen-common (3.4.2-1) UNRELEASED; urgency=low * New upstream version. + * Check for correct hypervisor type. -- Bastian Blank <waldi at debian.org> Sun, 23 Aug 2009 13:07:18 +0200 Modified: trunk/xen-common/scripts/xen-utils-version =============================================================================--- trunk/xen-common/scripts/xen-utils-version Sun Nov 15 15:05:24 2009 (r669) +++ trunk/xen-common/scripts/xen-utils-version Sun Nov 15 15:13:43 2009 (r670) @@ -12,7 +12,7 @@ done if [ -z "$VERSION" ]; then - if [ -d "/sys/hypervisor" ]; then + if [ -e "/sys/hypervisor/type" ]; then if [ "$(cat /sys/hypervisor/type)" = xen ]; then DIR=/sys/hypervisor/version VERSION_EXTRA=$(cat $DIR/extra)