[Pkg-xen-changes] r395 - trunk/xen-common/debian/patches

Guido Trotter ultrotter at alioth.debian.org
Wed May 23 12:32:31 UTC 2007


Author: ultrotter
Date: Wed May 23 12:32:30 2007
New Revision: 395

Log:
Fix long domain names shutdown


Added:
   trunk/xen-common/debian/patches/xendomains.dpatch   (contents, props changed)
Modified:
   trunk/xen-common/debian/patches/00list

Modified: trunk/xen-common/debian/patches/00list
==============================================================================
--- trunk/xen-common/debian/patches/00list	(original)
+++ trunk/xen-common/debian/patches/00list	Wed May 23 12:32:30 2007
@@ -3,3 +3,4 @@
 xend-disable-relocation
 interpreter
 path-relative
+xendomains

Added: trunk/xen-common/debian/patches/xendomains.dpatch
==============================================================================
--- (empty file)
+++ trunk/xen-common/debian/patches/xendomains.dpatch	Wed May 23 12:32:30 2007
@@ -0,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## xendomains.dpatch by Guido Trotter <ultrotter at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad xen-common-3.0.4-1~/tools/examples/init.d/xendomains xen-common-3.0.4-1/tools/examples/init.d/xendomains
+--- xen-common-3.0.4-1~/tools/examples/init.d/xendomains	2007-04-18 11:09:05.000000000 +0100
++++ xen-common-3.0.4-1/tools/examples/init.d/xendomains	2007-05-23 13:29:06.691900880 +0100
+@@ -175,9 +175,9 @@
+ 
+ parseln()
+ {
+-    name=`echo "$1" | cut -c0-17`
++    name=`echo "$1" | cut -d\  -f1 `
+     name=${name%% *}
+-    rest=`echo "$1" | cut -c18- `
++    rest=`echo "$1" | cut -d\  -f2 `
+     read id mem cpu vcpu state tm < <(echo "$rest")
+ }
+ 



More information about the Pkg-xen-changes mailing list