summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-06-07 16:33:58 +0000
committerOlivier Blin <oblin@mandriva.com>2007-06-07 16:33:58 +0000
commita59259bcc39b85e55d2d62e465633cddcd9c3f64 (patch)
tree10b0bf434ce348ae8f36ead49a503c1af4925348
parentb1884c6fe338a88aa501084bc4a16c44e18f5aaf (diff)
downloaddrakiso-a59259bcc39b85e55d2d62e465633cddcd9c3f64.tar
drakiso-a59259bcc39b85e55d2d62e465633cddcd9c3f64.tar.gz
drakiso-a59259bcc39b85e55d2d62e465633cddcd9c3f64.tar.bz2
drakiso-a59259bcc39b85e55d2d62e465633cddcd9c3f64.tar.xz
drakiso-a59259bcc39b85e55d2d62e465633cddcd9c3f64.zip
do not select modules directory together with loopbacks
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 4b79952..8be46a9 100755
--- a/draklive
+++ b/draklive
@@ -860,7 +860,7 @@ sub create_loopback_files {
sub list_selected_loopbacks {
my ($live) = @_;
- (map { $_->{path} ? $_->{path} : () } @{$live->{mount}{dirs} || []}),
+ (map { $_->{type} ne "modules" && $_->{path} ? $_->{path} : () } @{$live->{mount}{dirs} || []}),
(map { $live->{prefix}{build}{modules} . '/' . $_ }
$live->{settings}{pack} ? @{$live->{packs}{$live->{settings}{pack}} || []} : ());
}