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

Diff 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 | View Patch Patch

Revision 1.1 by slords, Thu Oct 22 14:43:11 2009 UTC Revision 1.10 by wellsi, Sun Nov 10 06:00:41 2013 UTC
# Line 1  Line 1 
1  From 324213c42f896f50a2caed139452408fed6df0fd Mon Sep 17 00:00:00 2001  From 75560a672126a44bc811fe6968a4ea30ace380e4 Mon Sep 17 00:00:00 2001
2  From: Shad L. Lords <slords@mail.com>  From: Shad L. Lords <slords@mail.com>
3  Date: Mon, 19 Oct 2009 08:45:40 -0600  Date: Mon, 19 Oct 2009 08:45:40 -0600
4  Subject: [PATCH] Run SME post-install scripts on kickstart install/upgrade  Subject: [PATCH 16/17] Run SME post-install scripts on kickstart install/upgrade
5    
6  ---  ---
7   kickstart.py |    9 +++++++++   kickstart.py |    9 +++++++++
8   1 files changed, 9 insertions(+), 0 deletions(-)   1 files changed, 9 insertions(+), 0 deletions(-)
9    
10  diff --git a/kickstart.py b/kickstart.py  diff --git a/kickstart.py b/kickstart.py
11  index 37b4246..8c8788a 100644  index 1f414c5..2a487b7 100644
12  --- a/kickstart.py  --- a/kickstart.py
13  +++ b/kickstart.py  +++ b/kickstart.py
14  @@ -833,6 +833,15 @@ class Kickstart(cobject):  @@ -888,6 +888,15 @@ class Kickstart(cobject):
15               w.pop()               w.pop()
16    
17       def postAction(self, anaconda, serial):       def postAction(self, anaconda, serial):
# Line 19  index 37b4246..8c8788a 100644 Line 19  index 37b4246..8c8788a 100644
19  +           _("The post installation script is running..."))  +           _("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" )  +        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)  +        s = AnacondaKSScript (script, interp="/bin/sh", inChroot=1)
23  +        log.info("%s", s)  +        log.info("%s", s)
24  +        s.run(anaconda.rootPath, serial)  +        s.run(anaconda.rootPath, serial)
25  +        win.pop()  +        win.pop()
# Line 28  index 37b4246..8c8788a 100644 Line 28  index 37b4246..8c8788a 100644
28                                 self.ksdata.scripts)                                 self.ksdata.scripts)
29    
30  --  --
31  1.5.5.6  1.7.1
32    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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