Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-network-service
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2012-07-09 13:22:28 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2012-07-09 13:22:28 (GMT)
commit63acb41ece445896d99838765daaac58edd1172b (patch)
treed687740f9543544202b233c6861c98d3914de187 /sugar-network-service
parentc6a240cf27f2e2d101a031b1c6f36df5c147f228 (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-xsugar-network-service3
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)