88 |
"complete" |
"complete" |
89 |
) |
) |
90 |
|
|
91 |
def postAction(self, rootPath, serial): |
def postAction(self, rootPath, serial, intf): |
92 |
|
win = intf.waitWindow(_("Post Upgrade Script"), |
93 |
|
_("The post upgrade script is running...")) |
94 |
|
|
95 |
script = ( "/sbin/syslogd &\n" |
script = ( "/sbin/syslogd &\n" |
96 |
"sleep 2\n" |
"sleep 2\n" |
97 |
"/sbin/e-smith/signal-event post-upgrade\n" ) |
"/sbin/e-smith/signal-event post-upgrade\n" ) |
98 |
s = Script(script, interp="/bin/sh", inChroot=1) |
s = Script(script, interp="/bin/sh", inChroot=1) |
99 |
log("%s", s) |
log("%s", s) |
100 |
s.run(rootPath, serial) |
s.run(rootPath, serial) |
101 |
|
win.pop() |
102 |
|
|
103 |
def setInstallData(self, id): |
def setInstallData(self, id): |
104 |
BaseInstallClass.setInstallData(self, id) |
BaseInstallClass.setInstallData(self, id) |