aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-installer/anaconda/files/0025-tweak-bootloader-fs-type.patch
blob: aabbaf2d3e8b3425777d5241a42986a63c696863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From cb78ff57d4938dcf1c19ee49f264a158255f06cd Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 26 May 2017 14:51:26 +0800
Subject: [PATCH 25/65] tweak bootloader fs type

Use ext2 as default fs of bootloader to workaround grub-probe
failure while e2fsprogs upgraded to 1.43

Upstream-Status: Inappropriate [oe specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 pyanaconda/bootloader.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 59922ce..acfce0a 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1438,7 +1438,7 @@ class GRUB2(GRUB):
         if productName.startswith("Red Hat "):              # pylint: disable=no-member
             return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
         else:
-            return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
+            return ["ext2", "ext3", "ext4", "btrfs", "xfs"]
 
     #
     # grub-related conveniences
-- 
2.7.4