From 899cf5eee4c0015697957aa6fb2c886f81171c1a Mon Sep 17 00:00:00 2001 From: Shad L. Lords Date: Mon, 26 Oct 2009 18:58:55 -0600 Subject: [PATCH] Run SME post-install scripts on kickstart install/upgrade --- kickstart.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/kickstart.py b/kickstart.py index 26b8b4a..0ab99f5 100644 --- a/kickstart.py +++ b/kickstart.py @@ -102,6 +102,14 @@ class KickstartBase(BaseInstallClass): win = intf.waitWindow(_("Post Install Script"), _("The post installation script is running...")) + script = ( "/sbin/syslogd &\n" + "sleep 2\n" + "/sbin/e-smith/signal-event post-install\n" ) + s = Script(script, interp="/bin/sh", inChroot=1) + log("%s", s) + s.run(rootPath, serial) + win.pop() + log("Running kickstart %%post script(s)") for script in self.postScripts: script.run(rootPath, serial) -- 1.5.5.6