summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-07-04 15:33:40 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-07-04 15:58:15 +0200
commit0fe6821e92a6a5b0b5c1c2b1bb0955899d998135 (patch)
treeb8bfcbb0a52be8bb0891eba9d901a5af091d6895
parent2007ff340601ce140c91d25f344dd920267812d9 (diff)
downloaddrakx-0fe6821e92a6a5b0b5c1c2b1bb0955899d998135.tar
drakx-0fe6821e92a6a5b0b5c1c2b1bb0955899d998135.tar.gz
drakx-0fe6821e92a6a5b0b5c1c2b1bb0955899d998135.tar.bz2
drakx-0fe6821e92a6a5b0b5c1c2b1bb0955899d998135.tar.xz
drakx-0fe6821e92a6a5b0b5c1c2b1bb0955899d998135.zip
allow installing grub2 on XFS /
tested under both UEFI & legacy BIOS
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/bootloader.pm4
-rw-r--r--perl-install/install/NEWS1
3 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index adc03e119..3c12898e2 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,5 @@
- drakboot:
+ o allow installing grub2 on XFS /
o make clear grub2 is installed on ESP under UEFI
- finish-install:
o drop reload-dm hack
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index d6324a401..59172e161 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -2222,10 +2222,6 @@ Writes back the boot loader config. Calls the proper write_XYZ() function.
sub install {
my ($bootloader, $all_hds) = @_;
- if (my $part = fs::get::device2part($bootloader->{boot}, [ fs::get::fstab($all_hds) ])) {
- die N("You cannot install the bootloader on a %s partition\n", $part->{fs_type})
- if $part->{fs_type} eq 'xfs';
- }
$bootloader->{keytable} = keytable($bootloader->{keytable}) if $bootloader->{method} eq 'lilo';
action($bootloader, 'install', $all_hds);
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 4db5b2ea2..eedb7dd3b 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
- bootloader configuration:
+ o allow installing grub2 on XFS /
o make clear grub2 is installed on ESP under UEFI
o make sure we only offer lilo/grub choice on upgrades only