[Pkg-xen-devel] Bug#502123: xen-utils-unstable: Debian patch breaks paravirtualized guest initrd

Anders Kaseorg andersk at MIT.EDU
Sun Jun 14 02:39:03 UTC 2009


Now this buggy patch has been copied from xen-unstable into xen-3 svn 
(r625):

http://svn.debian.org/wsvn/pkg-xen/trunk/xen-3/debian/patches/tools-python-xen-xm-relative-path.diff?op=file

Please, please, please, please fix it before releasing a broken xen 3.4.0 
into Debian.

--- xen-3/debian/patches/tools-python-xen-xm-relative-path.diff
+++ xen-3/debian/patches/tools-python-xen-xm-relative-path.diff
@@ -23,10 +23,10 @@
 +        config_image.append([ 'kernel', abspath(vals.kernel, 'boot') ])
      if vals.ramdisk:
 -        config_image.append([ 'ramdisk', os.path.abspath(vals.ramdisk) ])
-+        config_image.append([ 'ramdisk', abspath(vals.kernel, 'boot') ])
++        config_image.append([ 'ramdisk', abspath(vals.ramdisk, 'boot') ])
      if vals.loader:
 -        config_image.append([ 'loader', os.path.abspath(vals.loader) ])
-+        config_image.append([ 'loader', abspath(vals.kernel, 'boot') ])
++        config_image.append([ 'loader', abspath(vals.loader, 'boot') ])
      if vals.cmdline_ip:
          cmdline_ip = strip('ip=', vals.cmdline_ip)
          config_image.append(['ip', cmdline_ip])

Anders





More information about the Pkg-xen-devel mailing list