/[smeserver]/rpms/anaconda/sme8/0003-Always-pick-best-arch-for-package.patch
ViewVC logotype

Contents of /rpms/anaconda/sme8/0003-Always-pick-best-arch-for-package.patch

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


Revision 1.6 - (show annotations) (download)
Sun Nov 10 06:00:41 2013 UTC (10 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: anaconda-11_1_2_263-2_el5_sme, HEAD
Changes since 1.5: +0 -0 lines
* Sat Nov 9 2013 Ian Wells <esmith@wellsi.com> 11.1.2-263-2-1.el5.sme
- Apply SME patches to 11.1.2.259-1 [SME: 7976]
- Update warning about re-formatting attached hard drives [SME: 4788]
- Increase fuzz to allow package to build [SME: 7853]
- No warnings if kernel not upgraded
  (recreate initrd if kernel was installed)
- No warnings if unable to remove rpm databases
- Always pick best arch for package
- Allow creating/mounting degraded raid arrays
  (log info about degraded arrays instead of not starting them)
- Start /boot raid device first so it will be in sync for grub install
- Automatically upgrade bootloader if necessary
- Log install errors but don't bug user about them
- Search for language updates on upgrade disk
- Force time to be based on UTC
- Add final warning before installing
- Make install headless but still write keyboard info out
  (don't ask us to use vnc mode)
- Make install window wider
  (fix titlebar spacing)
- Don't email root on raid events
- Make boot loader use SME labels
- Determine upgradability of SME server
  (change erase disks to upgrade dialog)
- Run SME post-install scripts on kickstart install/upgrade
- Limit languages to those supported by SME

1 From 1e56dece34e9d0b20c44862bf277849238b89110 Mon Sep 17 00:00:00 2001
2 From: Shad L. Lords <slords@mail.com>
3 Date: Mon, 19 Oct 2009 08:02:45 -0600
4 Subject: [PATCH 03/17] Always pick best arch for package
5
6 ---
7 findpackageset.py | 24 +++++++++---------------
8 1 files changed, 9 insertions(+), 15 deletions(-)
9
10 diff --git a/findpackageset.py b/findpackageset.py
11 index bb21691..6f79e51 100644
12 --- a/findpackageset.py
13 +++ b/findpackageset.py
14 @@ -108,21 +108,15 @@ def findpackageset(hdrlist, dbPath='/'):
15 # loop through packages and find ones which are a newer
16 # version than what we have
17 for ( name, arch ) in instDict.keys():
18 - if ( name, arch ) in availDict.keys():
19 - # Exact arch upgrade
20 - h = instDict[(name, arch)]
21 - pkg = availDict[(name,arch)]
22 - comparePackageForUpgrade(updDict, h, pkg)
23 - else:
24 - # See if we have a better arch than that installed
25 - if name in availNames.keys():
26 - bestarch = findBestArch(availNames[name])
27 - if not bestarch:
28 - continue
29 - if availDict.has_key((name,bestarch)):
30 - h = instDict[(name,arch)]
31 - pkg = availDict[(name,bestarch)]
32 - comparePackageForUpgrade(updDict, h, pkg)
33 + # See if we have a better arch than that installed
34 + if name in availNames.keys():
35 + bestarch = findBestArch(availNames[name])
36 + if not bestarch:
37 + continue
38 + if availDict.has_key((name,bestarch)):
39 + h = instDict[(name,arch)]
40 + pkg = availDict[(name,bestarch)]
41 + comparePackageForUpgrade(updDict, h, pkg)
42
43 # handle obsoletes
44 for pkg in hdlist:
45 --
46 1.7.1
47

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