diff --git a/SOURCES/9900-CentOS-atomic-branding.patch b/SOURCES/9900-CentOS-atomic-branding.patch new file mode 100644 index 0000000..df84f60 --- /dev/null +++ b/SOURCES/9900-CentOS-atomic-branding.patch @@ -0,0 +1,35 @@ +diff -uNr anaconda-19.31.79__orig/pyanaconda/installclasses/rhel.py anaconda-19.31.79/pyanaconda/installclasses/rhel.py +--- anaconda-19.31.79__orig/pyanaconda/installclasses/rhel.py 2015-06-05 12:15:44.289946326 +0100 ++++ anaconda-19.31.79/pyanaconda/installclasses/rhel.py 2015-06-05 12:26:37.525644750 +0100 +@@ -30,9 +30,9 @@ + from blivet.devicelibs import swap + + class RHELBaseInstallClass(BaseInstallClass): +- name = "Red Hat Enterprise Linux" ++ name = "CentOS Linux" + sortPriority = 20000 +- if not productName.startswith("Red Hat "): ++ if not productName.startswith("CentOS "): + hidden = True + defaultFS = "xfs" + +@@ -45,7 +45,7 @@ + + _l10n_domain = "comps" + +- efi_dir = "redhat" ++ efi_dir = "centos" + + def configure(self, anaconda): + BaseInstallClass.configure(self, anaconda) +@@ -90,8 +90,8 @@ + BaseInstallClass.__init__(self) + + class RHELAtomicInstallClass(RHELBaseInstallClass): +- name = "RHEL Atomic Host" +- if productName.startswith("RHEL Atomic"): ++ name = "CentOS Atomic Host" ++ if productName.startswith("CentOS Atomic"): + hidden = False + + def setDefaultPartitioning(self, storage): diff --git a/SPECS/anaconda.spec b/SPECS/anaconda.spec index 786afa8..f83fad7 100644 --- a/SPECS/anaconda.spec +++ b/SPECS/anaconda.spec @@ -3,7 +3,7 @@ Summary: Graphical system installer Name: anaconda Version: 19.31.79 -Release: 28.atomic%{?dist} +Release: 28.atomic%{?dist}.1 License: GPLv2+ Group: Applications/System URL: http://fedoraproject.org/wiki/Anaconda @@ -48,6 +48,8 @@ Patch30: 0031-rpmostreepayload-Avoid-shutil.copytree-in-favor-of-c.patch Patch31: 0032-rescue-find-root-partition-of-ostree-atomic-installa.patch Patch32: 0033-Add-crashkernel-auto-by-default.patch +Patch9900: 9900-CentOS-atomic-branding.patch + # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). %define gettextver 0.11 @@ -254,6 +256,8 @@ runtime on NFS/HTTP/FTP servers or local disks. %patch31 -p1 %patch32 -p1 +%patch9900 -p1 + %build %configure --disable-static \ --enable-introspection \ @@ -325,6 +329,9 @@ update-desktop-database &> /dev/null || : %{_prefix}/libexec/anaconda/dd_* %changelog +* Wed Jun 3 2015 Karanbir Singh - 19.31.79-28.atomic.centos +- Add CentOS branding for installclass + * Wed Jan 21 2015 Colin Walters - 19.31.79-28.atomic - Add crashkernel=auto by default