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

Annotation 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.2 - (hide annotations) (download)
Mon May 17 16:15:48 2010 UTC (14 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_209-1_el5_sme
Changes since 1.1: +3 -3 lines
COS5.5 update

1 slords 1.2 From 81925136c19c59ddd6f6d8e00898f6e03f2408cd Mon Sep 17 00:00:00 2001
2 slords 1.1 From: Shad L. Lords <slords@mail.com>
3     Date: Mon, 19 Oct 2009 08:45:40 -0600
4     Subject: [PATCH] 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 slords 1.2 index 3a7579b..ca2e156 100644
12 slords 1.1 --- a/kickstart.py
13     +++ b/kickstart.py
14 slords 1.2 @@ -882,6 +882,15 @@ class Kickstart(cobject):
15 slords 1.1 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 = Script(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.5.5.6
32    

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