reguire gnupg1 on f>=31; sense the system to use gpg1 when installed
[bootmanager.git] / source / steps / MakeInitrd.py
index 0ba815c..89fd6e9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 #
 # Copyright (c) 2003 Intel Corporation
 # All rights reserved.
@@ -70,7 +70,7 @@ def Run(vars, log):
     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)