summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-23 11:16:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-23 11:16:02 +0000
commitec465a6ed1a4eed2a2bc81de33cf611daeb618eb (patch)
tree3854f3c2f4375ab1a2e237b3de640d10b533d3ca
parentcb84e25703d320e83fdb0703a1b458a858c70dfc (diff)
downloaddrakx-backup-do-not-use-ec465a6ed1a4eed2a2bc81de33cf611daeb618eb.tar
drakx-backup-do-not-use-ec465a6ed1a4eed2a2bc81de33cf611daeb618eb.tar.gz
drakx-backup-do-not-use-ec465a6ed1a4eed2a2bc81de33cf611daeb618eb.tar.bz2
drakx-backup-do-not-use-ec465a6ed1a4eed2a2bc81de33cf611daeb618eb.tar.xz
drakx-backup-do-not-use-ec465a6ed1a4eed2a2bc81de33cf611daeb618eb.zip
have all useful modules for stage1 on all.rdz (=> bigger than 2.88M)
-rw-r--r--kernel/modules.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index 2451a6b23..ac99a4919 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -69,7 +69,9 @@ sub images {
push @modules, category2modules($_);
}
- @modules = difference2(\@modules, \@skip_modules_on_stage1);
+ if ($image !~ /all/) {
+ @modules = difference2(\@modules, \@skip_modules_on_stage1);
+ }
if ($image !~ /other|all/) {
@modules = difference2(\@modules, \@skip_big_modules_on_stage1)
}