diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 8c790cdec..9f6fc68cf 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -548,6 +548,9 @@ sub mount_part { my $mntpoint = ($o_prefix || '') . $part->{mntpoint}; if (isLoopback($part) || $part->{encrypt_key}) { set_loop($part); + } elsif ($part->{options} =~ /encrypted/) { + log::l("skip mounting $part->{device} since we don't have the encrypt_key"); + return; } elsif (loopback::carryRootLoopback($part)) { $mntpoint = "/initrd/loopfs"; } |