X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FInstallInit.py;h=06db6c39e32b8f2aeb43fe8c34ee03c2d6802b3d;hb=1f49fe3a4819fc29a8739e9bd791adc4306a2edb;hp=828045f2c938b29c999f50d09983b9e96792514b;hpb=058804ef1dd26ffb3f230b9a93f1e170e6e87291;p=bootmanager.git diff --git a/source/steps/InstallInit.py b/source/steps/InstallInit.py index 828045f..06db6c3 100644 --- a/source/steps/InstallInit.py +++ b/source/steps/InstallInit.py @@ -1,5 +1,8 @@ #!/usr/bin/python - +# +# $Id$ +# $URL$ +# # Copyright (c) 2003 Intel Corporation # All rights reserved. # @@ -60,7 +63,7 @@ def Run( vars, log ): try: # backwards compat, though, we should never hit this case post PL 3.2 os.stat("%s/rcfs/taskclass"%SYSIMG_PATH) - utils.sysexec_noerr( "chroot %s umount /rcfs" % SYSIMG_PATH, log ) + utils.sysexec_chroot_noerr( SYSIMG_PATH, "umount /rcfs", log ) except OSError, e: pass @@ -70,8 +73,8 @@ def Run( vars, log ): utils.sysexec_noerr( "umount %s" % SYSIMG_PATH ) vars['ROOT_MOUNTED']= 0 - log.write( "Removing any old files, directories\n" ) - utils.removedir( TEMP_PATH ) +# log.write( "Removing any old files, directories\n" ) +# utils.removedir( TEMP_PATH ) log.write( "Cleaning up any existing PlanetLab config files\n" ) try: