summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index eb1203ca5..8df2dd09f 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -286,7 +286,7 @@ sub cz_file() {
sub extract_modules {
my ($dir, @modules) = @_;
my $cz = cz_file();
- if (!-e $cz) {
+ if (!-e $cz && !$::uml_install) {
unlink $_ foreach glob_("/lib/modules*.cz*");
require install_any;
install_any::getAndSaveFile("install/stage2/live$cz", $cz) or die "failed to get modules $cz: $!";