anaconda/100-anaconda-koozali-product.patch

46 lines
2.5 KiB
Diff

diff -Nur anaconda-21.48.22.158.old/pyanaconda/bootloader.py anaconda-21.48.22.158/pyanaconda/bootloader.py
--- anaconda-21.48.22.158.old/pyanaconda/bootloader.py 2020-06-12 05:31:18.544507836 +0200
+++ anaconda-21.48.22.158/pyanaconda/bootloader.py 2020-06-12 05:40:14.983795757 +0200
@@ -1428,7 +1428,7 @@
@property
def stage2_format_types(self):
- if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
+ if productName.startswith("Red Hat ") or productName.startswith("CentOS") or productName.startswith("Koozali"):
return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
else:
return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
@@ -2148,7 +2148,7 @@
@property
def stage2_format_types(self):
- if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
+ if productName.startswith("Red Hat ") or productName.startswith("CentOS") or productName.startswith("Koozali"):
return ["xfs", "ext4", "ext3", "ext2"]
else:
return ["ext4", "ext3", "ext2", "xfs"]
diff -Nur anaconda-21.48.22.158.old/pyanaconda/installclasses/fedora.py anaconda-21.48.22.158/pyanaconda/installclasses/fedora.py
--- anaconda-21.48.22.158.old/pyanaconda/installclasses/fedora.py 2020-06-12 05:31:18.124523726 +0200
+++ anaconda-21.48.22.158/pyanaconda/installclasses/fedora.py 2020-06-12 05:40:15.308783208 +0200
@@ -28,7 +28,7 @@
class FedoraBaseInstallClass(BaseInstallClass):
name = "Fedora"
sortPriority = 10000
- if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
+ if productName.startswith("Red Hat ") or productName.startswith("CentOS") or productName.startswith("Koozali"):
hidden = True
_l10n_domain = "anaconda"
diff -Nur anaconda-21.48.22.158.old/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.158/pyanaconda/packaging/yumpayload.py
--- anaconda-21.48.22.158.old/pyanaconda/packaging/yumpayload.py 2020-06-12 05:31:18.967491507 +0200
+++ anaconda-21.48.22.158/pyanaconda/packaging/yumpayload.py 2020-06-12 05:40:15.407779385 +0200
@@ -546,7 +546,7 @@
def mirrorEnabled(self):
with _yum_lock:
# we just skip this on CentOS since we cant support it yet
- if productName.startswith("CentOS"):
+ if productName.startswith("CentOS") or productName.startswith("Koozali"):
return False
else:
# yum initializes with plugins disabled, and when plugins are disabled