diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-12-02 21:02:51 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-12-02 21:03:39 +0000 |
commit | d043433cefb6a98b2e039972f90398e9edd5d074 (patch) | |
tree | 6d7bb739517030100d84f719e09b3c94a61f3de4 /perl-install/fs/any.pm | |
parent | 6280e6dcd97071f06b9e0a7501e8369c04dd02aa (diff) | |
download | drakx-d043433cefb6a98b2e039972f90398e9edd5d074.tar drakx-d043433cefb6a98b2e039972f90398e9edd5d074.tar.gz drakx-d043433cefb6a98b2e039972f90398e9edd5d074.tar.bz2 drakx-d043433cefb6a98b2e039972f90398e9edd5d074.tar.xz drakx-d043433cefb6a98b2e039972f90398e9edd5d074.zip |
Skip check for boot partitions when building Live images (mga#19516).
Diffstat (limited to 'perl-install/fs/any.pm')
-rw-r--r-- | perl-install/fs/any.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/fs/any.pm b/perl-install/fs/any.pm index 9dbda0eae..b47ac9f31 100644 --- a/perl-install/fs/any.pm +++ b/perl-install/fs/any.pm @@ -67,9 +67,11 @@ sub set_cdrom_symlink { } sub check_hds_boot_and_root { - my ($all_hds, $fstab) = @_; + my ($all_hds, $fstab, $o_match_all_hardware) = @_; fs::get::root_($fstab) or die "Oops, no root partition"; + return if $o_match_all_hardware; + if (is_uefi()) { if (!fs::get::has_mntpoint("/boot/EFI", $all_hds)) { die N("You must have a ESP FAT32 partition mounted in /boot/EFI"); |