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