[Pkg-libvirt-commits] [libguestfs] 89/266: v2v: Add fedora to "RHEL family".

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit f0b71818a6bfb3a9a4c40f26604ee1e7dec67926
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Aug 13 12:37:48 2014 +0100

    v2v: Add fedora to "RHEL family".
    
    The calling code allows Fedora guests to be used when calling
    Convert_linux.  However Convert_linux itself would fail with an
    assertion error when you did this.
---
 v2v/convert_linux.ml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index 3489c6b..18fb64f 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -74,6 +74,7 @@ let rec convert ?(keep_serial_console = true) verbose (g : G.guestfs)
 
   let family =
     match inspect.i_distro with
+    | "fedora"
     | "rhel" | "centos" | "scientificlinux" | "redhat-based" -> `RHEL_family
     | "sles" | "suse-based" | "opensuse" -> `SUSE_family
     | _ -> assert false in

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list