[Pkg-libvirt-commits] [libguestfs] 03/66: v2v: Move initialization of Augeas after inspection housekeeping.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:47:34 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.54-1
in repository libguestfs.

commit 6db2ff52f9557bc3644700386320dc7a3fa54830
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Sep 19 12:13:41 2014 +0100

    v2v: Move initialization of Augeas after inspection housekeeping.
    
    Just cleanup, it should have no effect on the way that the
    conversion works.
---
 v2v/convert_linux.ml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index 92293d6..675ccb7 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -67,9 +67,6 @@ let rec convert ~verbose ~keep_serial_console (g : G.guestfs) inspect source =
    * an Enterprise Linux guest using RPM.
    *)
 
-  (* We use Augeas for inspection and conversion, so initialize it early. *)
-  Lib_linux.augeas_init verbose g;
-
   (* Basic inspection data available as local variables. *)
   assert (inspect.i_type = "linux");
 
@@ -82,6 +79,9 @@ let rec convert ~verbose ~keep_serial_console (g : G.guestfs) inspect source =
 
   assert (inspect.i_package_format = "rpm");
 
+  (* We use Augeas for inspection and conversion, so initialize it early. *)
+  Lib_linux.augeas_init verbose g;
+
   (* What grub is installed? *)
   let grub_config, grub =
     try

-- 
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