[gnome-boxes] vm-configurator: Don't create pool directory



commit afb71501e74c0c2b339069838156742f3e18164a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Jul 15 13:07:35 2015 +0100

    vm-configurator: Don't create pool directory
    
    Seems latest libvirt errors out on building the storage pool building if
    underlying directory already exists. This patch basically reverts commit
    c2a77d21, which we shouldn't need anymore any way since we have code that
    handles the situation of user moving or removing the directory in
    VMCreator.get_storage_pool().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=752417

 src/vm-configurator.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index a588b11..66a75d8 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -160,7 +160,6 @@ private class Boxes.VMConfigurator {
 
     public static StoragePool get_pool_config () throws GLib.Error {
         var pool_path = get_user_pkgdata ("images");
-        ensure_directory (pool_path);
 
         var pool = new StoragePool ();
         pool.set_pool_type (StoragePoolType.DIR);


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