Bastian Blank
2012-Jun-14  12:10 UTC
[Pkg-xen-changes] r1029 - in trunk/xen/debian: . scripts
Author: waldi
Date: Thu Jun 14 12:10:04 2012
New Revision: 1029
Log:
* debian/changelog: Update.
* debian/scripts/xen-toolstack: Ignore error for non-existant executables.
Modified:
   trunk/xen/debian/changelog
   trunk/xen/debian/scripts/xen-toolstack
Modified: trunk/xen/debian/changelog
=============================================================================---
trunk/xen/debian/changelog	Thu Jun 14 11:21:22 2012	(r1028)
+++ trunk/xen/debian/changelog	Thu Jun 14 12:10:04 2012	(r1029)
@@ -7,6 +7,7 @@
       CVE-2012-0218
     - Disable Xen on CPUs affected by AMD Erratum #121. PV guests can
       cause a DoS of the host.
+  * Don''t fail if standard toolstacks are not available. (closes:
#677244)
 
  -- Bastian Blank <waldi at debian.org>  Wed, 13 Jun 2012 23:29:14 +0200
 
Modified: trunk/xen/debian/scripts/xen-toolstack
=============================================================================---
trunk/xen/debian/scripts/xen-toolstack	Thu Jun 14 11:21:22 2012	(r1028)
+++ trunk/xen/debian/scripts/xen-toolstack	Thu Jun 14 12:10:04 2012	(r1029)
@@ -11,7 +11,7 @@
     else
        
PATH="$dir/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
     fi
-    command -v "$1"
+    command -v "$1" || :
 }
 
 if [ -e $configfile ]; then