/[smeserver]/rpms/anaconda/sme8/0005-Start-boot-raid-device-first-so-it-will-be-in-sync-f.patch
ViewVC logotype

Contents of /rpms/anaconda/sme8/0005-Start-boot-raid-device-first-so-it-will-be-in-sync-f.patch

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


Revision 1.5 - (show annotations) (download)
Sun Nov 10 06:00:41 2013 UTC (11 years ago) by wellsi
Branch: MAIN
CVS Tags: anaconda-11_1_2_263-2_el5_sme, HEAD
Changes since 1.4: +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 114d102aec42c6d56f591a7d5843633bd2632be5 Mon Sep 17 00:00:00 2001
2 From: Shad L. Lords <slords@mail.com>
3 Date: Mon, 19 Oct 2009 08:14:41 -0600
4 Subject: [PATCH 05/17] Start /boot raid device first so it will be in sync for grub install
5
6 ---
7 fsset.py | 4 ++++
8 packages.py | 1 +
9 2 files changed, 5 insertions(+), 0 deletions(-)
10
11 diff --git a/fsset.py b/fsset.py
12 index ea9ba66..7e3c26f 100644
13 --- a/fsset.py
14 +++ b/fsset.py
15 @@ -1887,6 +1887,10 @@ MAILADDR root
16 entry.device.setupDevice(chroot, vgdevice = vg)
17 self.volumesCreated = 1
18
19 + def createBootRaid (self, chroot='/'):
20 + bootDev = self.getBootDev()
21 + if bootDev.getDevice().startswith('md'):
22 + bootDev.setupDevice(chroot)
23
24 def makeFilesystems (self, chroot='/'):
25 formatted = []
26 diff --git a/packages.py b/packages.py
27 index a1a6e56..5bce4be 100644
28 --- a/packages.py
29 +++ b/packages.py
30 @@ -147,6 +147,7 @@ def turnOnFilesystems(anaconda):
31 anaconda.id.diskset.savePartitions ()
32 anaconda.id.partitions.doEncryptionRetrofits()
33 anaconda.id.fsset.checkBadblocks(anaconda.rootPath)
34 + anaconda.id.fsset.createBootRaid(anaconda.rootPath)
35 if not anaconda.id.fsset.volumesCreated:
36 try:
37 anaconda.id.fsset.createLogicalVolumes(anaconda.rootPath)
38 --
39 1.7.1
40

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