[gnome-boxes] Fix regression introduced in a6f184c



commit cbc7e441ee1a3d91465b8365ff07eb2109efb018
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Nov 28 19:11:41 2011 +0200

    Fix regression introduced in a6f184c
    
    Commit a6f184c totally broke the automated installation.

 src/fedora-installer.vala |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/fedora-installer.vala b/src/fedora-installer.vala
index 8c6c345..93eb552 100644
--- a/src/fedora-installer.vala
+++ b/src/fedora-installer.vala
@@ -80,9 +80,9 @@ private class Boxes.FedoraInstaller: UnattendedInstaller {
 
     private async void extract_boot_files (Cancellable? cancellable) throws GLib.Error {
         kernel_path = Path.build_filename (mount_point, os_media.kernel_path);
-        kernel_file = File.new_for_path (os_media.kernel_path);
+        kernel_file = File.new_for_path (kernel_path);
         initrd_path = Path.build_filename (mount_point, os_media.initrd_path);
-        initrd_file = File.new_for_path (os_media.initrd_path);
+        initrd_file = File.new_for_path (initrd_path);
 
         if (!mounted)
             return;
@@ -97,7 +97,9 @@ private class Boxes.FedoraInstaller: UnattendedInstaller {
         var dest_file = File.new_for_path (dest_path);
 
         try {
+            debug ("Copying '%s' to '%s'..", file.get_path (), dest_path);
             yield file.copy_async (dest_file, 0, Priority.DEFAULT, cancellable);
+            debug ("Copied '%s' to '%s'.", file.get_path (), dest_path);
         } catch (IOError.EXISTS error) {}
 
         return dest_file;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]