Blame SOURCES/anaconda-centos-bootfs-default-to-xfs.patch
|
|
24d05b |
diff -uNr anaconda-21.48.22.56__orig/pyanaconda/bootloader.py anaconda-21.48.22.56/pyanaconda/bootloader.py
|
|
|
24d05b |
--- anaconda-21.48.22.56__orig/pyanaconda/bootloader.py 2015-10-29 14:23:19.000000000 +0000
|
|
|
24d05b |
+++ anaconda-21.48.22.56/pyanaconda/bootloader.py 2015-12-07 17:23:41.013000000 +0000
|
|
|
24d05b |
@@ -1411,7 +1411,7 @@
|
|
|
6c6fad |
|
|
|
6c6fad |
@property
|
|
|
6c6fad |
def stage2_format_types(self):
|
|
|
6c6fad |
- if productName.startswith("Red Hat "):
|
|
|
6c6fad |
+ if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
|
|
|
6c6fad |
return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
|
|
|
6c6fad |
else:
|
|
|
6c6fad |
return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
|
|
|
24d05b |
@@ -2105,7 +2105,7 @@
|
|
|
6c6fad |
|
|
|
6c6fad |
@property
|
|
|
6c6fad |
def stage2_format_types(self):
|
|
|
6c6fad |
- if productName.startswith("Red Hat "):
|
|
|
6c6fad |
+ if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
|
|
|
6c6fad |
return ["xfs", "ext4", "ext3", "ext2"]
|
|
|
6c6fad |
else:
|
|
|
6c6fad |
return ["ext4", "ext3", "ext2", "xfs"]
|