summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-03-19 18:15:01 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-03-19 18:15:01 +0100
commitf83ba3606013d1eed9d7d2ff084c2c9726313525 (patch)
tree951b295eb630104d67bcb8c271a9018a051be4c8 /perl-install/install
parentc79d49c972666a751b17e584c2f246af58b3c73b (diff)
downloaddrakx-f83ba3606013d1eed9d7d2ff084c2c9726313525.tar
drakx-f83ba3606013d1eed9d7d2ff084c2c9726313525.tar.gz
drakx-f83ba3606013d1eed9d7d2ff084c2c9726313525.tar.bz2
drakx-f83ba3606013d1eed9d7d2ff084c2c9726313525.tar.xz
drakx-f83ba3606013d1eed9d7d2ff084c2c9726313525.zip
install dmsetup when encrypting "/"
thus workarounding unbootable minimal system as dracut's crypt module depends on it It should probably a dep in cryptsetup
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS3
-rw-r--r--perl-install/install/any.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 552be8253..9585858f1 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- install dmsetup when encrypting "/" (thus workarounding unbootable minimal
+ system as dracut's crypt module depends on it)
+
Version 18.25 - 18 March 2020
- adjust debug build to current python
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 463f057e3..3c630df0b 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -855,7 +855,7 @@ sub default_packages {
add_n_log("method==nfs", "nfs-utils") if $o->{method} eq "nfs";
add_n_log("have RAID", "mdadm") if !is_empty_array_ref($o->{all_hds}{raids});
add_n_log("have LVM", "lvm2") if !is_empty_array_ref($o->{all_hds}{lvms});
- add_n_log("have crypted DM", "cryptsetup") if !is_empty_array_ref($o->{all_hds}{dmcrypts});
+ add_n_log("have crypted DM", qw(cryptsetup dmsetup)) if !is_empty_array_ref($o->{all_hds}{dmcrypts});
add_n_log("some disks are fake RAID", qw(mdadm dmraid)) if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}};
add_n_log("CPU needs microcode", "microcode_ctl") if detect_devices::hasCPUMicrocode();
add_n_log("either CPU or GFX needs firmware", is_firmware_needed($o)) if is_firmware_needed($o);