diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-07-04 17:55:50 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-07-04 18:10:16 +0200 |
commit | 1873a160a01f41474434865c66dd09ba5f733d13 (patch) | |
tree | 4c211176a8b3af2e10ac742c527d1a640760179d | |
parent | 5976acd282a1564ea4d3fd8b1c08bce240493194 (diff) | |
download | drakx-1873a160a01f41474434865c66dd09ba5f733d13.tar drakx-1873a160a01f41474434865c66dd09ba5f733d13.tar.gz drakx-1873a160a01f41474434865c66dd09ba5f733d13.tar.bz2 drakx-1873a160a01f41474434865c66dd09ba5f733d13.tar.xz drakx-1873a160a01f41474434865c66dd09ba5f733d13.zip |
do not warn about no bootloader can boot LVM...
...as grub2 can (mga#9426)
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/fsedit.pm | 7 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 |
3 files changed, 2 insertions, 7 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 69f94b357..64729e217 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - diskdrake: o do not offer to check for bad blocks on btrfs (mga#12393) + o do not warn about no bootloader can boot LVM as grub2 can (mga#9426) o do not warn about no bootloader can boot RAID[^1] as grub2 can (mga#11324) o enable bad blocks checking on JFS - drakboot: diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 9aa596527..e4e268ef0 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -461,13 +461,6 @@ Please be sure to add a separate /boot partition"); die N("You cannot use an encrypted filesystem for mount point %s", "/boot"); } - #- NB: if the LV doesn't exist, lv_nb_pvs returns 0 - die N("You cannot use the LVM Logical Volume for mount point %s since it spans physical volumes", $mntpoint) - if $mntpoint eq '/boot' && isLVM($part) && lvm::lv_nb_pvs($part) > 1; - cdie N("You've selected the LVM Logical Volume as root (/). -The bootloader is not able to handle this when the volume spans physical volumes. -You should create a separate /boot partition first") if $mntpoint eq "/" && isLVM($part) && lvm::lv_nb_pvs($part) != 1 && !fs::get::has_mntpoint("/boot", $all_hds); - cdie N("This directory should remain within the root filesystem") if member($mntpoint, qw(/root)); die N("This directory should remain within the root filesystem") diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 552903ce3..b6dbc82ee 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -4,6 +4,7 @@ o make sure we only offer lilo/grub choice on upgrades only - partionning: o do not offer to check for bad blocks on btrfs (mga#12393) + o do not warn about no bootloader can boot LVM as grub2 can (mga#9426) o do not warn about no bootloader can boot RAID[^1] as grub2 can (mga#11324) o enable bad blocks checking on JFS - summary: |