[Pkg-ganeti-devel] [SCM] Ganeti packaging branch, master, updated. debian/2.4.5-2-5-g3974c86

Iustin Pop iustin at debian.org
Sun May 6 17:45:02 UTC 2012


The following commit has been merged in the master branch:
commit 038795f4965404770fb3f99cf7e20c248980447a
Author: Iustin Pop <iustin at debian.org>
Date:   Sun May 6 13:56:36 2012 +0200

    Remove 'support-kvm-1.0.patch'
    
    This is already present in 2.5.0, so we have to remove it.

diff --git a/debian/patches/series b/debian/patches/series
index 5d041b7..62f588b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 fix-startup-with-old-config.patch
 cfgupgrade12-remove-old-ssconf.patch
-support-kvm-1.0.patch
diff --git a/debian/patches/support-kvm-1.0.patch b/debian/patches/support-kvm-1.0.patch
deleted file mode 100644
index 0c54eda..0000000
--- a/debian/patches/support-kvm-1.0.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From: Guido Trotter <ultrotter at google.com>
-To: Ganeti Development <ganeti-devel at googlegroups.com>
-Subject: [PATCH stable-2.5] KVM: support version reported by 1.0
-Date: Thu,  5 Jan 2012 16:22:36 +0000
-
-This of course was working for all the rcs, but broke with 1.0 itself.
-
-Signed-off-by: Guido Trotter <ultrotter at google.com>
----
- lib/hypervisor/hv_kvm.py |   12 +++++++++---
- 1 files changed, 9 insertions(+), 3 deletions(-)
-
---- a/lib/hypervisor/hv_kvm.py
-+++ b/lib/hypervisor/hv_kvm.py
-@@ -199,7 +199,7 @@
-   _MIGRATION_INFO_MAX_BAD_ANSWERS = 5
-   _MIGRATION_INFO_RETRY_DELAY = 2
- 
--  _VERSION_RE = re.compile(r"\b(\d+)\.(\d+)\.(\d+)\b")
-+  _VERSION_RE = re.compile(r"\b(\d+)\.(\d+)(\.(\d+))?\b")
- 
-   ANCILLARY_FILES = [
-     _KVM_NETWORK_SCRIPT,
-@@ -937,8 +937,14 @@
-     if not match:
-       return None
- 
--    return (match.group(0), int(match.group(1)), int(match.group(2)),
--            int(match.group(3)))
-+    v_all = match.group(0)
-+    v_maj = int(match.group(1))
-+    v_min = int(match.group(2))
-+    if match.group(4):
-+      v_rev = int(match.group(4))
-+    else:
-+      v_rev = 0
-+    return (v_all, v_maj, v_min, v_rev)
- 
-   def StopInstance(self, instance, force=False, retry=False, name=None):
-     """Stop an instance.

-- 
Ganeti packaging



More information about the Pkg-ganeti-devel mailing list