summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-07-28 16:28:42 +0000
committerOlivier Blin <oblin@mandriva.com>2009-07-28 16:28:42 +0000
commit5373ff480bc28e5460d6ccbd7ed1586d5e7e6206 (patch)
tree55f24db695db3cc33692f1e4a756c9a1323c6558 /lib/MDV/Draklive
parent302187e05bb4c920507e43604f36a5916b68fa0c (diff)
downloaddrakiso-5373ff480bc28e5460d6ccbd7ed1586d5e7e6206.tar
drakiso-5373ff480bc28e5460d6ccbd7ed1586d5e7e6206.tar.gz
drakiso-5373ff480bc28e5460d6ccbd7ed1586d5e7e6206.tar.bz2
drakiso-5373ff480bc28e5460d6ccbd7ed1586d5e7e6206.tar.xz
drakiso-5373ff480bc28e5460d6ccbd7ed1586d5e7e6206.zip
excluded modules should not be reported as missing
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r--lib/MDV/Draklive/Initrd.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index a40de3a..d054e86 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -139,7 +139,7 @@ sub create_media_specific_initrd {
@$extra_modules = difference2($extra_modules, \@additional_modules);
if (@{$live->{system}{exclude_modules} || []}) {
print STDERR "excluding modules: " . join(' ', @{$live->{system}{exclude_modules}}) . "\n";
- @$_ = difference2($_, $live->{system}{exclude_modules}) foreach $storage_modules, $extra_modules;
+ @$_ = difference2($_, $live->{system}{exclude_modules}) foreach $storage_modules, $extra_modules, $extra_missing;
}
my @missing = sort(difference2($extra_missing, \@additional_modules));