summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-08 08:13:53 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-04-09 06:24:59 -0400
commit5efbf00cc1845b67ac7d4a03b9a75ecf18e50004 (patch)
treeca76c2caa5f9194fa9648bcf9e18c3cd64c2a381 /perl-install
parent41ad14f0c866402ecae82f2a08e04f1f7b57b7a3 (diff)
downloaddrakx-5efbf00cc1845b67ac7d4a03b9a75ecf18e50004.tar
drakx-5efbf00cc1845b67ac7d4a03b9a75ecf18e50004.tar.gz
drakx-5efbf00cc1845b67ac7d4a03b9a75ecf18e50004.tar.bz2
drakx-5efbf00cc1845b67ac7d4a03b9a75ecf18e50004.tar.xz
drakx-5efbf00cc1845b67ac7d4a03b9a75ecf18e50004.zip
don't guess a drive letter for recovery partitions
thus fixing mga15636
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/partition_table.pm2
3 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 792fe3376..da48da67d 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- diskdrake:
+ o don't guess a drive letter for recovery partitions (mga15636)
- drakboot:
o check there's still some place on /boot with grub2 too
o generate core.img for UEFI
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 5408eb6a0..d8c1fc615 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -4,6 +4,8 @@
o fix detecting grub2 on UEFI
o write /boot/grub2/install.sh like for grub instead of drakboot.conf
- log grub2 config in report.bug like for grub/lilo
+- partitionning:
+ o don't guess a drive letter for recovery partitions (mga15636)
Version 16.79 - 7 April 2015
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index be54d6c31..d376de621 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -137,7 +137,7 @@ sub assign_device_numbers {
$i = ord 'C';
$c->{device_windobe} = chr($i++) if $c;
- $_->{device_windobe} = chr($i++) foreach grep { isFat_or_NTFS($_) } map { $_->{normal} } @{$hd->{extended}};
+ $_->{device_windobe} = chr($i++) foreach grep { isFat_or_NTFS($_) && !isRecovery($_) } map { $_->{normal} } @{$hd->{extended}};
$_->{device_windobe} = chr($i++) foreach @others;
}