/[smeserver]/rpms/anaconda/sme8/0008-Search-for-language-updates-on-upgrade-disk.patch
ViewVC logotype

Contents of /rpms/anaconda/sme8/0008-Search-for-language-updates-on-upgrade-disk.patch

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


Revision 1.7 - (show annotations) (download)
Sat Sep 17 20:44:05 2011 UTC (13 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_242-1_el5_sme_1, anaconda-11_1_2_242-1_el5_sme
Changes since 1.6: +1 -1 lines
* Sat Sep 17 2011 Shad L. Lords <slords@mail.com> 11.1.2.242-1.el5.sme
- 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 118a68b871b7b1860ed79c8d840fff04fc75fa38 Mon Sep 17 00:00:00 2001
2 From: Shad L. Lords <slords@mail.com>
3 Date: Mon, 19 Oct 2009 08:17:39 -0600
4 Subject: [PATCH 08/17] Search for language updates on upgrade disk
5
6 ---
7 language.py | 6 +++++-
8 1 files changed, 5 insertions(+), 1 deletions(-)
9
10 diff --git a/language.py b/language.py
11 index cc14aeb..7a042b7 100644
12 --- a/language.py
13 +++ b/language.py
14 @@ -57,7 +57,9 @@ class Language:
15 self.current = "en_US.UTF-8"
16
17 # English name -> native name mapping
18 - search = ('lang-names', '/usr/lib/anaconda/lang-names')
19 + search = ('lang-names', '/tmp/updates/lang-names',
20 + '/mnt/source/RHupdates/lang-names',
21 + '/usr/lib/anaconda/lang-names')
22 for path in search:
23 if os.access(path, os.R_OK):
24 f = open(path, 'r')
25 @@ -109,6 +111,8 @@ class Language:
26
27 def getNickByName (self, name):
28 for k in self.localeInfo.keys():
29 + if k == 'C':
30 + continue
31 row = self.localeInfo[k]
32 if row[0] == name:
33 return k
34 --
35 1.7.1
36

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