/[smeserver]/rpms/anaconda/sme8/0016-Run-SME-post-install-scripts-on-kickstart-install-up.patch
ViewVC logotype

Contents of /rpms/anaconda/sme8/0016-Run-SME-post-install-scripts-on-kickstart-install-up.patch

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


Revision 1.10 - (show annotations) (download)
Sun Nov 10 06:00:41 2013 UTC (10 years, 11 months ago) by wellsi
Branch: MAIN
CVS Tags: anaconda-11_1_2_263-2_el5_sme, HEAD
Changes since 1.9: +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 75560a672126a44bc811fe6968a4ea30ace380e4 Mon Sep 17 00:00:00 2001
2 From: Shad L. Lords <slords@mail.com>
3 Date: Mon, 19 Oct 2009 08:45:40 -0600
4 Subject: [PATCH 16/17] Run SME post-install scripts on kickstart install/upgrade
5
6 ---
7 kickstart.py | 9 +++++++++
8 1 files changed, 9 insertions(+), 0 deletions(-)
9
10 diff --git a/kickstart.py b/kickstart.py
11 index 1f414c5..2a487b7 100644
12 --- a/kickstart.py
13 +++ b/kickstart.py
14 @@ -888,6 +888,15 @@ class Kickstart(cobject):
15 w.pop()
16
17 def postAction(self, anaconda, serial):
18 + win = anaconda.intf.waitWindow(_("Post Install Script"),
19 + _("The post installation script is running..."))
20 +
21 + script = ( "#!/bin/sh\nmkdir -p /var/lib/dhcp; /sbin/syslogd ; sleep 2; /sbin/e-smith/signal-event post-install\n" )
22 + s = AnacondaKSScript (script, interp="/bin/sh", inChroot=1)
23 + log.info("%s", s)
24 + s.run(anaconda.rootPath, serial)
25 + win.pop()
26 +
27 postScripts = filter (lambda s: s.type == KS_SCRIPT_POST,
28 self.ksdata.scripts)
29
30 --
31 1.7.1
32

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