avij / rpms / anaconda

Forked from rpms/anaconda 5 years ago
Clone

Blame SOURCES/anaconda-centos-bootfs-default-to-xfs.patch

e3e71a
From 34d53918f0ff053c5d0b3a50166bda9b9d6da913 Mon Sep 17 00:00:00 2001
e3e71a
From: Jim Perrin <jperrin@centos.org>
e3e71a
Date: Fri, 20 Nov 2015 15:43:53 -0600
e3e71a
Subject: [PATCH] bootfs default to xfs
e3e71a
e3e71a
---
e3e71a
 pyanaconda/bootloader.py | 4 ++--
e3e71a
 1 file changed, 2 insertions(+), 2 deletions(-)
e3e71a
e3e71a
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
e3e71a
index ff9c2d5..1dd274a 100644
e3e71a
--- a/pyanaconda/bootloader.py
e3e71a
+++ b/pyanaconda/bootloader.py
e3e71a
@@ -1411,7 +1411,7 @@ class GRUB2(GRUB):
9d7c21
 
9d7c21
     @property
9d7c21
     def stage2_format_types(self):
9d7c21
-        if productName.startswith("Red Hat "):
e3e71a
+        if productName.startswith("CentOS "):
9d7c21
             return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
9d7c21
         else:
9d7c21
             return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
e3e71a
@@ -2105,7 +2105,7 @@ class ZIPL(BootLoader):
9d7c21
 
9d7c21
     @property
9d7c21
     def stage2_format_types(self):
9d7c21
-        if productName.startswith("Red Hat "):
e3e71a
+        if productName.startswith("CentOS "):
9d7c21
             return ["xfs", "ext4", "ext3", "ext2"]
9d7c21
         else:
9d7c21
             return ["ext4", "ext3", "ext2", "xfs"]
e3e71a
-- 
e3e71a
1.8.3.1
e3e71a