summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-02-05 13:51:23 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-02-06 12:57:49 +0000
commit9f5b2d64071ab8416487b5fc265908a511a9bf68 (patch)
treec7804a83b66ab4544f74dfbfc5ca7b5adf97c073 /morphlib/app.py
parent3f7e38a7f2721a404ebbfb130b51fa639a9e7360 (diff)
downloadmorph-9f5b2d64071ab8416487b5fc265908a511a9bf68.tar.gz
Overlayfs is new in version 3.18 of the kernel, so add support for a different implementation of a union/overlay filesystem in order to allow morph to work on older kernels.
Diffstat (limited to 'morphlib/app.py')
-rw-r--r--morphlib/app.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 0c87f814..5b645012 100644
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -121,6 +121,13 @@ class Morph(cliapp.Application):
metavar='URL',
default=None,
group=group_advanced)
+ self.settings.string(['union-filesystem'],
+ 'filesystem used to provide "union filesystem" '
+ 'functionality when building and deploying. '
+ 'Only "overlayfs" and "unionfs" are supported '
+ 'at this time.',
+ default='overlayfs',
+ group=group_advanced)
group_build = 'Build Options'
self.settings.integer(['max-jobs'],