/[smeserver]/rpms/anaconda/sme8/0001-No-warnings-if-kernel-not-upgraded.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme8/0001-No-warnings-if-kernel-not-upgraded.patch

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


Revision 1.8 - (hide 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.7: +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 slords 1.5 From cec120f81769c3baa639fa8394ae9b9b4278ac7b Mon Sep 17 00:00:00 2001
2 slords 1.1 From: Shad L. Lords <slords@mail.com>
3     Date: Mon, 19 Oct 2009 07:53:15 -0600
4 slords 1.6 Subject: [PATCH 01/17] No warnings if kernel not upgraded
5 slords 1.1
6     ---
7     bootloader.py | 5 -----
8     yuminstall.py | 6 ++++--
9     2 files changed, 4 insertions(+), 7 deletions(-)
10    
11     diff --git a/bootloader.py b/bootloader.py
12     index 940478d..87d4072 100644
13     --- a/bootloader.py
14     +++ b/bootloader.py
15     @@ -211,11 +211,6 @@ def writeBootloader(anaconda):
16     except bootloaderInfo.BootyNoKernelWarning:
17     if not justConfigFile:
18     w.pop()
19     - if anaconda.intf:
20     - anaconda.intf.messageWindow(_("Warning"),
21     - _("No kernel packages were installed on your "
22     - "system. Your boot loader configuration "
23     - "will not be changed."))
24    
25     dosync()
26    
27     diff --git a/yuminstall.py b/yuminstall.py
28 slords 1.5 index efd3ab8..f587668 100644
29 slords 1.1 --- a/yuminstall.py
30     +++ b/yuminstall.py
31 slords 1.5 @@ -1085,7 +1085,8 @@ class YumBackend(AnacondaBackend):
32 slords 1.1
33     if foundModule == 1:
34     for (n, arch, tag) in kernelVersions:
35     - recreateInitrd(n, anaconda.rootPath)
36 slords 1.3 + if os.access("/boot/System.map-%s" %(n,), os.R_OK):
37 slords 1.1 + recreateInitrd(n, anaconda.rootPath)
38    
39     def selectBestKernel(self, anaconda):
40     """Find the best kernel package which is available and select it."""
41 slords 1.5 @@ -1750,7 +1751,8 @@ class YumBackend(AnacondaBackend):
42 slords 1.1 # to the old method.
43     if len(self._installedDriverModules) > 0 and len(self._installedDriverModules) == len(anaconda.id.extraModules):
44     for (n, arch, tag) in self.kernelVersionList():
45     - recreateInitrd(n, anaconda.rootPath)
46 slords 1.3 + if os.access("/boot/System.map-%s" %(n,), os.R_OK):
47 slords 1.1 + recreateInitrd(n, anaconda.rootPath)
48     else:
49     modulesList = filter(lambda m: m not in self._installedDriverModules, anaconda.id.extraModules)
50     self.copyExtraModules(anaconda, modulesList)
51     --
52 slords 1.8 1.7.1
53 slords 1.1

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