summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-04-27 13:57:03 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-04-27 13:57:03 +0000
commit5bf28da317c04c6691bbe6d7c666d9b40e6e05a3 (patch)
tree3f9bbd5d0361e34e1f6afbeed3ddb60649284b98
parent5024ed6eafe006078e61c8a5c6a9d59bb209f051 (diff)
downloaddrakx-backup-do-not-use-5bf28da317c04c6691bbe6d7c666d9b40e6e05a3.tar
drakx-backup-do-not-use-5bf28da317c04c6691bbe6d7c666d9b40e6e05a3.tar.gz
drakx-backup-do-not-use-5bf28da317c04c6691bbe6d7c666d9b40e6e05a3.tar.bz2
drakx-backup-do-not-use-5bf28da317c04c6691bbe6d7c666d9b40e6e05a3.tar.xz
drakx-backup-do-not-use-5bf28da317c04c6691bbe6d7c666d9b40e6e05a3.zip
- install plymouth if / is encrypted, to ask for password
-rw-r--r--perl-install/fs/partitioning_wizard.pm10
-rw-r--r--perl-install/install/NEWS13
2 files changed, 20 insertions, 3 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index ea9521768..c66312728 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -31,7 +31,7 @@ sub to_Mb {
sub partition_with_diskdrake {
my ($in, $all_hds, $fstab, $manual_fstab, $partitions, $partitioning_flags, $skip_mtab) = @_;
- my $ok;
+ my $ok, $root;
do {
$ok = 1;
@@ -48,12 +48,18 @@ sub partition_with_diskdrake {
}
my @fstab = fs::get::fstab($all_hds);
- unless (fs::get::root_(\@fstab)) {
+ unless ($root = fs::get::root_(\@fstab)) {
$ok = 0;
$in->ask_okcancel(N("Partitioning"), N("You must have a root partition.
For this, create a partition (or click on an existing one).
Then choose action ``Mount point'' and set it to `/'"), 1) or return;
}
+
+ # If / is encrypted, we need plymouth to ask for the password
+ if ($root && $root->{dmcrypt_name}) {
+ $in->do_pkgs->ensure_binary_is_installed('plymouth', undef, 1);
+ }
+
if (!any { isSwap($_) } @fstab) {
$ok &&= $in->ask_okcancel('', N("You do not have a swap partition.\n\nContinue anyway?"));
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 03e236a43..1e9139d3f 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,15 @@
-- allow resizing empty FAT (#58770)
+- diskdrake:
+ o allow resizing empty FAT (#58770)
+ o offer encryption in a more visible way when creating a partition
+ o remove cryptoloop from diskdrake interface and transparently use dm-crypt
+ o support having dm-crypt partition with non default FS
+ o do not display dm-crypt partitions in separate tab, display included
+ partition directly in-place
+ o do not warn about data loss when changing type of unformatted partition
+ o display lock icon on encrypted partitions
+ o fix loading of dmcrypt info now that /dev/mapper/* are symlinks
+ o fix creating encrypted LVM
+- install plymouth if / is encrypted, to ask for password
Version 13.19 - 14 April 2010