[Pkg-xen-changes] r798 - in trunk/xen/debian: . patches

Bastian Blank waldi at alioth.debian.org
Mon Aug 2 13:11:18 UTC 2010


Author: waldi
Date: Mon Aug  2 13:11:17 2010
New Revision: 798

Log:
* debian/changelog: Set version to 4.0.1~rc4-1.
* debian/libxenstore3.0.symbols: Add new symbol.
* debian/patches/tools-python-xen-relative-path.diff: Update.

Modified:
   trunk/xen/debian/changelog
   trunk/xen/debian/libxenstore3.0.symbols
   trunk/xen/debian/patches/tools-python-xen-relative-path.diff

Modified: trunk/xen/debian/changelog
==============================================================================
--- trunk/xen/debian/changelog	Mon Aug  2 13:10:13 2010	(r797)
+++ trunk/xen/debian/changelog	Mon Aug  2 13:11:17 2010	(r798)
@@ -1,3 +1,9 @@
+xen (4.0.1~rc4-1) UNRELEASED; urgency=low
+
+  * New upstream release candidate.
+
+ -- Bastian Blank <waldi at debian.org>  Mon, 02 Aug 2010 11:08:13 +0000
+
 xen (4.0.1~rc3-1) unstable; urgency=low
 
   * New upstream release candidate.

Modified: trunk/xen/debian/libxenstore3.0.symbols
==============================================================================
--- trunk/xen/debian/libxenstore3.0.symbols	Mon Aug  2 13:10:13 2010	(r797)
+++ trunk/xen/debian/libxenstore3.0.symbols	Mon Aug  2 13:11:17 2010	(r798)
@@ -7,6 +7,7 @@
  xs_daemon_close at Base 3.2.0
  xs_daemon_open at Base 3.2.0
  xs_daemon_open_readonly at Base 3.2.0
+ xs_daemon_destroy_postfork at Base 4.0.1~rc4
  xs_daemon_rootdir at Base 3.2.0
  xs_daemon_rundir at Base 3.2.0
  xs_daemon_socket at Base 3.2.0

Modified: trunk/xen/debian/patches/tools-python-xen-relative-path.diff
==============================================================================
--- trunk/xen/debian/patches/tools-python-xen-relative-path.diff	Mon Aug  2 13:10:13 2010	(r797)
+++ trunk/xen/debian/patches/tools-python-xen-relative-path.diff	Mon Aug  2 13:11:17 2010	(r798)
@@ -1,14 +1,18 @@
 --- a/tools/python/xen/xm/create.py
 +++ b/tools/python/xen/xm/create.py
-@@ -704,37 +704,31 @@
+@@ -704,45 +704,39 @@
          return None
      config_image = [ vals.builder ]
      if vals.kernel:
--        if os.path.dirname(vals.kernel) != "" and os.path.exists(vals.kernel):
--            config_image.append([ 'kernel', vals.kernel ])
--        elif vals.kernel == 'hvmloader':
 +        t = auxbin.path_boot(vals.kernel)
-+        if vals.kernel == 'hvmloader':
+         if vals.bootloader:
+             # If bootloader is specified, vals.kernel will be used
+             # by bootloader when boots DomU. So it is needless to
+             # check the path is existent or not.
+             config_image.append([ 'kernel', vals.kernel ])
+-        elif os.path.dirname(vals.kernel) != "" and os.path.exists(vals.kernel):
+-            config_image.append([ 'kernel', vals.kernel ])
+         elif vals.kernel == 'hvmloader':
              # Keep hvmloader w/o a path and let xend find it.
              # This allows guest migration to a Dom0 having different
              # xen install pathes.
@@ -21,13 +25,16 @@
          else:
              raise ValueError('Cannot find kernel "%s"' % vals.kernel)
      if vals.ramdisk:
--        if os.path.dirname(vals.ramdisk) != "" and os.path.exists(vals.ramdisk):
++        t = auxbin.path_boot(vals.ramdisk)
+         if vals.bootloader:
+             # Same with 'kernel' above
+             config_image.append([ 'ramdisk', vals.ramdisk ])
+-        elif os.path.dirname(vals.ramdisk) != "" and os.path.exists(vals.ramdisk):
 -            config_image.append([ 'ramdisk', vals.ramdisk ])
 -        elif os.path.exists(os.path.abspath(vals.ramdisk)):
 -            # Keep old behaviour, if path is valid.
 -            config_image.append([ 'ramdisk', os.path.abspath(vals.ramdisk) ])
-+        t = auxbin.path_boot(vals.ramdisk)
-+        if t:
++        elif t:
 +            config_image.append([ 'ramdisk', t ])
          else:
              raise ValueError('Cannot find ramdisk "%s"' % vals.ramdisk)
@@ -49,7 +56,7 @@
          else:
              raise ValueError('Cannot find loader "%s"' % vals.loader)
      if vals.cmdline_ip:
-@@ -1062,7 +1056,7 @@
+@@ -1072,7 +1066,7 @@
      args = [ 'acpi', 'apic',
               'boot',
               'cpuid', 'cpuid_check',
@@ -58,7 +65,7 @@
               'fda', 'fdb',
               'gfx_passthru', 'guest_os_type',
               'hap', 'hpet',
-@@ -1084,6 +1078,8 @@
+@@ -1094,6 +1088,8 @@
      for a in args:
          if a in vals.__dict__ and vals.__dict__[a] is not None:
              config_image.append([a, vals.__dict__[a]])
@@ -67,7 +74,7 @@
      if vals.vncpasswd is not None:
          config_image.append(['vncpasswd', vals.vncpasswd])
  
-@@ -1150,10 +1146,9 @@
+@@ -1160,10 +1156,9 @@
  
      config_image = configure_image(vals)
      if vals.bootloader:



More information about the Pkg-xen-changes mailing list