X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FInstallInit.py;h=3456343483c60dbc633b8b38cb0eb1c8612b9664;hb=c87a0f4534d57a343ce441fbc48674a9c40e9820;hp=06db6c39e32b8f2aeb43fe8c34ee03c2d6802b3d;hpb=1136f7d3b68de92034e188e30863a565d738ea52;p=bootmanager.git diff --git a/source/steps/InstallInit.py b/source/steps/InstallInit.py index 06db6c3..3456343 100644 --- a/source/steps/InstallInit.py +++ b/source/steps/InstallInit.py @@ -1,8 +1,5 @@ #!/usr/bin/python # -# $Id$ -# $URL$ -# # Copyright (c) 2003 Intel Corporation # All rights reserved. # @@ -67,10 +64,14 @@ def Run( vars, log ): except OSError, e: pass - utils.sysexec_noerr( "umount %s/proc" % SYSIMG_PATH ) - utils.sysexec_noerr( "umount %s/mnt/cdrom" % SYSIMG_PATH ) - utils.sysexec_noerr( "umount %s/vservers" % SYSIMG_PATH ) - utils.sysexec_noerr( "umount %s" % SYSIMG_PATH ) + # NOTE: added /sys and /dev b/c some nodes fail due to this when disk is + # nearly full. + utils.sysexec_noerr( "umount %s/proc" % SYSIMG_PATH , log ) + utils.sysexec_noerr( "umount %s/mnt/cdrom" % SYSIMG_PATH , log ) + utils.sysexec_noerr( "umount %s/vservers" % SYSIMG_PATH , log ) + utils.sysexec_noerr( "umount %s/sys" % SYSIMG_PATH , log ) + utils.sysexec_noerr( "umount %s/dev" % SYSIMG_PATH , log ) + utils.sysexec_noerr( "umount %s" % SYSIMG_PATH , log ) vars['ROOT_MOUNTED']= 0 # log.write( "Removing any old files, directories\n" )