diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-06-12 10:22:28 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-06-12 10:24:34 +0200 |
commit | bba05ad41f791e93a8bd588e91dca68748c4ee81 (patch) | |
tree | 3d4e466e87d820a8598d0102f28881f3406c6884 /perl-install | |
parent | a32cef326c0064e99876c86f124824e071c54fa7 (diff) | |
download | drakx-bba05ad41f791e93a8bd588e91dca68748c4ee81.tar drakx-bba05ad41f791e93a8bd588e91dca68748c4ee81.tar.gz drakx-bba05ad41f791e93a8bd588e91dca68748c4ee81.tar.bz2 drakx-bba05ad41f791e93a8bd588e91dca68748c4ee81.tar.xz drakx-bba05ad41f791e93a8bd588e91dca68748c4ee81.zip |
fix partition type test
thus guessing better if we need a GRUB_BIOS partition (mga#18656)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/fs/any.pm | 1 | ||||
-rw-r--r-- | perl-install/install/NEWS | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 108ea9a4c..d638f6e6e 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake: + o try harder to guess if we need a GRUB_BIOS partition (mga#18656) + Version 17.36 - 11 June 2016 - diskdrake: diff --git a/perl-install/fs/any.pm b/perl-install/fs/any.pm index f8b314a34..ac7255475 100644 --- a/perl-install/fs/any.pm +++ b/perl-install/fs/any.pm @@ -160,6 +160,7 @@ sub is_boot_bios_part_needed { my $rootDev = $root->{rootDevice}; my $boot_hd; if ($rootDev) { + $rootDev = "/dev/" . $rootDev if $rootDev !~ m!/!; # is it GPT? return if c::get_disk_type($rootDev) ne 'gpt'; ($boot_hd) = find { $_->{device} eq $rootDev } fs::get::hds($all_hds); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 2789732c1..d0ab17bb6 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- partionning: + o try harder to guess if we need a GRUB_BIOS partition (mga#18656) - rename desktop image KDE -> Plasma (mga#18687) Version 17.36.1 - 11 June 2016 |