From ba2fa54ce467dfeda61f696bfd8b94aed4c99112 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 17 May 2015 10:57:00 +0200 Subject: fix regression refusing FAT for ESP (mga#15962) regression introduced in commit ae5b3ce9845669227ef06c90dfaa1065a7ceebe8 --- perl-install/fs/type.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/fs/type.pm') diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm index 30bf01d78..70627be37 100644 --- a/perl-install/fs/type.pm +++ b/perl-install/fs/type.pm @@ -375,8 +375,11 @@ sub guessed_by_mount() { grep { $_ && !/nodev/ } chomp_(cat_('/etc/filesystems')); } +sub directories_needed_to_boot_not_ESP() { + qw(/ /usr /var /boot /tmp); +} sub directories_needed_to_boot() { - qw(/ /usr /var /boot /boot/EFI /tmp); + directories_needed_to_boot_not_ESP(), '/boot/EFI'; } sub carry_root_loopback { -- cgit v1.2.1