diff options
authorSam Thursfield <>2015-05-15 09:40:26 (GMT)
committerBaserock Gerrit <>2015-05-20 14:12:41 (GMT)
commit0f58def75fab90923f46faf556b0ce6642d638b6 (patch)
parent5079743cdc4e88613b8a18c0ee78b11da8aeb94d (diff)
Mason workspace should be in /srv/distbuild
The script does all its work in a directory called 'ws', created in the current directory of wherever it is run from. When run as a system service it creates /ws in the root filesystem. The work Mason does involves creating one or more disk images, and these can require a lot of disk space and IO bandwidth. The root filesystem of a machine isn't a good place to do this sort of thing: running out of diskspace there will completely break the system, and it may be stored on an SD card or eMMC. There is an established pattern in deploying Baserock 'distbuild' systems to have an external hard disk or volume mounted at /srv/distbuild, so that running builds and caching built artifacts doesn't take place on the root filesystem. It makes sense to move the Mason workspace in there too. Change-Id: I39f53373a7411c8816e886886c8af40e08f4782e
1 files changed, 2 insertions, 0 deletions
diff --git a/mason/mason.service b/mason/mason.service
index a864d61..d5c9949 100644
--- a/mason/mason.service
+++ b/mason/mason.service
@@ -1,10 +1,12 @@
Description=Mason: Continuous Delivery Service