diff --git a/SOURCES/anaconda-centos-add-centos-install-class.patch b/SOURCES/anaconda-centos-add-centos-install-class.patch index 27432b5..208a851 100644 --- a/SOURCES/anaconda-centos-add-centos-install-class.patch +++ b/SOURCES/anaconda-centos-add-centos-install-class.patch @@ -68,7 +68,7 @@ diff -uNr anaconda-21.48.22.56__orig/pyanaconda/installclasses/centos.py anacond + self.setDefaultPartitioning(anaconda.storage) + + def setNetworkOnbootDefault(self, ksdata): -+ if network.has_some_wired_autoconnect_device(): ++ if any(nd.onboot for nd in ksdata.network.network if nd.device): + return + # choose the device used during installation + # (ie for majority of cases the one having the default route) diff --git a/SPECS/anaconda.spec b/SPECS/anaconda.spec index 64ddee5..875a113 100644 --- a/SPECS/anaconda.spec +++ b/SPECS/anaconda.spec @@ -3,7 +3,7 @@ Summary: Graphical system installer Name: anaconda Version: 21.48.22.93 -Release: 1%{?dist} +Release: 1%{?dist}.0.1 License: GPLv2+ and MIT Group: Applications/System URL: http://fedoraproject.org/wiki/Anaconda @@ -21,7 +21,8 @@ Patch5: anaconda-centos-bootfs-default-to-xfs.patch Patch6: anaconda-centos-help-text.patch Patch7: anaconda-centos-skip-retry-if-not-connected.patch Patch8: 9800-rpmostreepayload-Rework-remote-add-handling.patch - +Patch9: anaconda-centos-add-centos-install-class.patch + # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). %define gettextver 0.18.1 @@ -240,6 +241,7 @@ runtime on NFS/HTTP/FTP servers or local disks. %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 %build %configure --disable-static \ @@ -332,6 +334,9 @@ update-desktop-database &> /dev/null || : %{_prefix}/libexec/anaconda/dd_* %changelog +* Wed Nov 30 2016 Johnny Hughes 21.48.22.93-1.el7.centos.0.1 +- added patch9 + * Thu Nov 03 2016 CentOS Sources - 21.48.22.93-1.el7.centos - Add CentOS install class as default - use the right path for the EULA string (issue 7165, bstinson)