import utils
utils.prompt_for_breakpoint_mode()
-# utils.breakpoint ("Entering BootManager::main")
+# utils.breakpoint("Entering BootManager::main")
# set to 1 if error occurred
error = 0
pass
utils.sysexec_noerr('hwclock --systohc --utc ', log)
- utils.breakpoint ("Before kexec");
+# utils.breakpoint("Before kexec");
try:
utils.sysexec('kexec --force --initrd=/tmp/initrd --append="{}" /tmp/kernel'.format(kargs), log)
except BootManagerException as e:
try:
utils.removefile("{}/boot/{}".format(SYSIMG_PATH, initrd))
except:
- print("{}/boot/{} is already removed".format(SYSIMG_PATH, initrd))
+ log.write("{}/boot/{} is already removed\n".format(SYSIMG_PATH, initrd))
# hack for CentOS 5.3
bypassRaidIfNeeded(SYSIMG_PATH , log)