/[smeserver]/rpms/anaconda/sme10/100-anaconda-koozali-product.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme10/100-anaconda-koozali-product.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Jun 12 03:46:49 2020 UTC (4 years, 5 months ago) by jpp
Branch: MAIN
* Wed Jun 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 21.48.22.158-2.sme
- patch for product.img branding of anaconda

1 jpp 1.1 diff -Nur anaconda-21.48.22.158.old/pyanaconda/bootloader.py anaconda-21.48.22.158/pyanaconda/bootloader.py
2     --- anaconda-21.48.22.158.old/pyanaconda/bootloader.py 2020-06-12 05:31:18.544507836 +0200
3     +++ anaconda-21.48.22.158/pyanaconda/bootloader.py 2020-06-12 05:40:14.983795757 +0200
4     @@ -1428,7 +1428,7 @@
5    
6     @property
7     def stage2_format_types(self):
8     - if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
9     + if productName.startswith("Red Hat ") or productName.startswith("CentOS") or productName.startswith("Koozali"):
10     return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
11     else:
12     return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
13     @@ -2148,7 +2148,7 @@
14    
15     @property
16     def stage2_format_types(self):
17     - if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
18     + if productName.startswith("Red Hat ") or productName.startswith("CentOS") or productName.startswith("Koozali"):
19     return ["xfs", "ext4", "ext3", "ext2"]
20     else:
21     return ["ext4", "ext3", "ext2", "xfs"]
22     diff -Nur anaconda-21.48.22.158.old/pyanaconda/installclasses/fedora.py anaconda-21.48.22.158/pyanaconda/installclasses/fedora.py
23     --- anaconda-21.48.22.158.old/pyanaconda/installclasses/fedora.py 2020-06-12 05:31:18.124523726 +0200
24     +++ anaconda-21.48.22.158/pyanaconda/installclasses/fedora.py 2020-06-12 05:40:15.308783208 +0200
25     @@ -28,7 +28,7 @@
26     class FedoraBaseInstallClass(BaseInstallClass):
27     name = "Fedora"
28     sortPriority = 10000
29     - if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
30     + if productName.startswith("Red Hat ") or productName.startswith("CentOS") or productName.startswith("Koozali"):
31     hidden = True
32    
33     _l10n_domain = "anaconda"
34     diff -Nur anaconda-21.48.22.158.old/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.158/pyanaconda/packaging/yumpayload.py
35     --- anaconda-21.48.22.158.old/pyanaconda/packaging/yumpayload.py 2020-06-12 05:31:18.967491507 +0200
36     +++ anaconda-21.48.22.158/pyanaconda/packaging/yumpayload.py 2020-06-12 05:40:15.407779385 +0200
37     @@ -546,7 +546,7 @@
38     def mirrorEnabled(self):
39     with _yum_lock:
40     # we just skip this on CentOS since we cant support it yet
41     - if productName.startswith("CentOS"):
42     + if productName.startswith("CentOS") or productName.startswith("Koozali"):
43     return False
44     else:
45     # yum initializes with plugins disabled, and when plugins are disabled

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed