Package: xen-tools
Version: 2.2-2
Followup-For: Bug #379347

Hello,

It seems that the proposed patch[1] prevents to create new xen images.

Attached patch should fix the problem.

Thank you,
Olivier;

1. http://lists.cvsrepository.org/xen-tools-commits/Jul06/0432.html

Index: bin/xen-create-image
===================================================================
RCS file: /home/cvs/xen-tools/bin/xen-create-image,v
retrieving revision 1.57
diff -u -r1.57 xen-create-image
--- bin/xen-create-image        23 Jul 2006 00:56:29 -0000      1.57
+++ bin/xen-create-image        25 Jul 2006 14:39:07 -0000
@@ -1016,7 +1016,7 @@
     my $count = 0;
     foreach my $key ( qw/debootstrap rpmstrap copy tar/ )
     {
-        if ( defined $CONFIG{$key} )
+        if ( $CONFIG{$key} )
         {
             $count += 1;
         }


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-xen-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages xen-tools depends on:
ii  debootstrap                   0.3.3      Bootstrap a basic Debian system
ii  libtext-template-perl         1.44-1.1   Text::Template perl module
ii  perl-modules                  5.8.8-6    Core Perl modules

Versions of packages xen-tools recommends:
ii  reiserfsprogs             1:3.6.19-3     User-level tools for ReiserFS file
ii  rpmstrap                  0.5.2-2        bootstrap a basic RPM-based system
ii  xen-hypervisor-3.0-i386 [ 3.0.2+hg9697-1 The Xen Hypervisor for i386
ii  xfsprogs                  2.8.4-1        Utilities for managing the XFS fil

-- no debconf information

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0x43CEA851

______________________________________________________
Olivier Tétard
site : http://www.miskin.be
JabberID : [EMAIL PROTECTED]
______________________________________________________

Reply via email to