/[smeserver]/rpms/anaconda/sme9/0015-Determine-upgradability-of-SME-server.patch
ViewVC logotype

Contents of /rpms/anaconda/sme9/0015-Determine-upgradability-of-SME-server.patch

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


Revision 1.1 - (show annotations) (download)
Tue Mar 18 14:51:42 2014 UTC (10 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: anaconda-13_21_229-1_el6_sme_3, anaconda-13_21_215-1_el6_sme_7, anaconda-13_21_239-1_el6_sme_1, anaconda-13_21_215-1_el6_sme_9, anaconda-13_21_215-1_el6_sme_10, anaconda-13_21_215-1_el6_sme_11, anaconda-13_21_215-1_el6_sme_12, anaconda-13_21_263-1_el6_sme_1, anaconda-13_21_229-1_el6_sme_2, anaconda-13_21_229-1_el6_sme_1, anaconda-13_21_239-1_el6_sme, anaconda-13_21_215-1_el6_sme_8, anaconda-13_21_239_1-1_el6_sme, anaconda-13_21_254-1_el6_sme_2, anaconda-13_21_254-1_el6_sme_1, anaconda-13_21_239-1_el6_sme_2, HEAD
* Tue Mar 18 2014 Ian Wells <esmith@wellsi.com> - 13.21.215-1.el6.sme.7
- Automatically upgrade bootloader if necessary [SME: 8223]
- Installer shows warning about "too old version" [SME: 8038]

1 diff -ruN anaconda-13.21.215.p14/yuminstall.py anaconda-13.21.215/yuminstall.py
2 --- anaconda-13.21.215.p14/yuminstall.py 2014-03-17 20:10:34.000000000 -0700
3 +++ anaconda-13.21.215/yuminstall.py 2014-03-17 20:59:10.000000000 -0700
4 @@ -1825,7 +1825,7 @@
5 # Figure out current version for upgrade nag and for determining weird
6 # upgrade cases
7 supportedUpgradeVersion = -1
8 - for pkgtup in self.ayum.rpmdb.whatProvides('redhat-release', None, None):
9 + for pkgtup in self.ayum.rpmdb.whatProvides('smeserver-release', None, None):
10 n, a, e, v, r = pkgtup
11 if supportedUpgradeVersion <= 0:
12 val = rpmUtils.miscutils.compareEVR((None, '9.0', '1'),
13 @@ -1836,9 +1836,6 @@
14 supportedUpgradeVersion = 1
15 break
16
17 - if "SME Server" not in productName:
18 - supportedUpgradeVersion = 1
19 -
20 if supportedUpgradeVersion == 0:
21 rc = anaconda.intf.messageWindow(_("Warning"),
22 _("You appear to be upgrading from a system "

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