Timeout of 120 seconds for mount to work around jffs2 issues.
This commit is contained in:
@@ -291,8 +291,8 @@ def copy(jobject, mount_point):
|
||||
|
||||
write(new_jobject)
|
||||
|
||||
def mount(uri, options):
|
||||
return dbus_helpers.mount(uri, options)
|
||||
def mount(uri, options, timeout=-1):
|
||||
return dbus_helpers.mount(uri, options, timeout=timeout)
|
||||
|
||||
def unmount(mount_point_id):
|
||||
dbus_helpers.unmount(mount_point_id)
|
||||
|
||||
@@ -82,8 +82,8 @@ def find(query, properties, reply_handler, error_handler):
|
||||
else:
|
||||
return _get_data_store().find(query, properties)
|
||||
|
||||
def mount(uri, options):
|
||||
return _get_data_store().mount(uri, options)
|
||||
def mount(uri, options, timeout=-1):
|
||||
return _get_data_store().mount(uri, options, timeout=timeout)
|
||||
|
||||
def unmount(mount_point_id):
|
||||
_get_data_store().unmount(mount_point_id)
|
||||
|
||||
Reference in New Issue
Block a user