[gnome-boxes/wip/dont-create-pool-dir: 3/3] vm-configurator: Don't create pool directory



commit 045ca982504eb845a349ecd69fb407a1a5984bbe
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().

 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 1b0442c..df39b13 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -155,7 +155,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]