From 97dafaff137b5a2ede0c9334e69cbcc789f19557 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 28 Aug 2007 08:23:27 +0000 Subject: allow to specify ro unionfs branches --- draklive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draklive b/draklive index 54180d1..72f55e8 100755 --- a/draklive +++ b/draklive @@ -264,7 +264,7 @@ my %overlay = ( map { $_->{list} ? "\$(cat $_->{list})" : "$live->{prefix}{live}{mnt}$_->{mountpoint}=" . - (!$loop{$_->{type}}{read_only} ? 'rw' : 'ro'); + (!$loop{$_->{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}'"; }, -- cgit v1.2.1