summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive23
1 files changed, 13 insertions, 10 deletions
diff --git a/draklive b/draklive
index e708180..f7e8c78 100755
--- a/draklive
+++ b/draklive
@@ -67,16 +67,6 @@ my %predefined = (
$dir_memory,
],
},
- volatile_squash_union => {
- root => '/union',
- overlay => 'unionfs',
- dirs => [
- $dir_distrib_sqfs,
- $dir_modules,
- $dir_memory,
- ],
- },
- },
);
# this is not unused (it can be used from config file):
@@ -94,6 +84,19 @@ my %custom = (
},
},
mounts => {
+ volatile_squash_union => sub {
+ my ($o_modules) = @_;
+ {
+ root => '/union',
+ overlay => 'unionfs',
+ dirs => [
+ $dir_distrib_sqfs,
+ if_($o_modules, $dir_modules),
+ $dir_memory,
+ ],
+ };
+ }
+ },
squash_union => sub {
my ($default_size, $o_min_size) = @_;
{