/[smeserver]/cdrom.image/updates/smeupgradeclass.py
ViewVC logotype

Diff of /cdrom.image/updates/smeupgradeclass.py

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

Revision 1.3 by slords, Sun Jul 31 16:38:19 2005 UTC Revision 1.5 by cbrady, Tue Sep 20 14:16:48 2005 UTC
# Line 88  class InstallClass(BaseInstallClass): Line 88  class InstallClass(BaseInstallClass):
88                      "complete"                      "complete"
89                  )                  )
90    
91      def postAction(self, rootPath, serial):      def postAction(self, rootPath, serial, intf):
92          # Hack to disable SELinux on upgrade          win = intf.waitWindow(_("Post Upgrade Script"),
93          sec = security.Security()             _("The post upgrade script is running..."))
         sec.setSELinux(0)  
         sec.write(rootPath)  
94    
95          script = ( "/sbin/syslogd &\n"          script = ( "/sbin/syslogd &\n"
96                     "sleep 2\n"                     "sleep 2\n"
# Line 100  class InstallClass(BaseInstallClass): Line 98  class InstallClass(BaseInstallClass):
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)


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