diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-07-09 13:22:28 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-07-09 13:22:28 (GMT) |
commit | 63acb41ece445896d99838765daaac58edd1172b (patch) | |
tree | d687740f9543544202b233c6861c98d3914de187 /sugar-network-service | |
parent | c6a240cf27f2e2d101a031b1c6f36df5c147f228 (diff) |
Since whet/curl doesn't support decoding multipart downloads, return continue packet bundled to regular one for offline syncing
Diffstat (limited to 'sugar-network-service')
-rwxr-xr-x | sugar-network-service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar-network-service b/sugar-network-service index 370cff6..1c692a9 100755 --- a/sugar-network-service +++ b/sugar-network-service @@ -208,6 +208,9 @@ locale.setlocale(locale.LC_ALL, '') application.debug.value = sugar.logger_level() # It seems to be that most of users (on XO at least) don't have recent SSH node.trust_users.value = True +# If tmpfs is mounted to /tmp, `os.fstat()` will return 0 free space +# and will brake offline synchronization logic +local.tmpdir.value = sugar.profile_path('tmp') optparse.Option.seek('main', [application.debug, application.foreground]) optparse.Option.seek('webui', webui) |