diff options
Diffstat (limited to 'draklive')
| -rwxr-xr-x | draklive | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -178,23 +178,6 @@ my %storage = ( }, ); -my %overlay = ( - unionfs => { - modules => [ qw(unionfs) ], - mount => sub { - my ($live) = @_; - #- build dirs list: "dir1=ro:dir2:ro:dir3=rw" - my $dirs = join(':', - map { - $_->{list} ? "\$(cat $live->{prefix}{live}{mnt}/$_->{list})" : - "$live->{prefix}{live}{mnt}$_->{mountpoint}=" . - (!$loop_types{$_->{type}}{read_only} && !$_->{read_only} ? 'rw' : 'ro'); - } reverse grep { !$_->{fallback} } @{$live->{mount}{dirs} || []}); - "sh -c 'mount -o dirs=$dirs -t unionfs unionfs $live->{prefix}{live}{mnt}$live->{mount}{root}'"; - }, - }, -); - sub get_syslinux_path { my ($media, $opts) = @_; '/' . $media->{storage} . '/syslinux' . ($opts->{boot} && '-boot-' . $opts->{boot}) . '.cfg'; |
