[node-patches] Change in ovirt-node[master]: Adapting the edit node to copy only required boot images

tlitovsk at redhat.com tlitovsk at redhat.com
Wed Jul 8 11:05:37 UTC 2015


Anatoly Litovsky has uploaded a new change for review.

Change subject: Adapting the edit node to copy only required boot images
......................................................................

Adapting the edit node to copy only required boot images

Change-Id: Ib54c1ecf5c30db036090ae44dbc0819571113558
Signed-off-by: Tolik Litovsky <tlitovsk at redhat.com>
---
M tools/edit-node
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/15/43315/1

diff --git a/tools/edit-node b/tools/edit-node
index 88e1a4e..249a1e3 100755
--- a/tools/edit-node
+++ b/tools/edit-node
@@ -1815,7 +1815,8 @@
                 # just by copyin efi boot , it didnt boot mac anyway before
                 # the fc20/21 image creator refuses to create image with
                 # out macboot and old images have it
-                if not os.path.isfile(editor._LiveImageCreatorBase__isodir+"/isolinux/macboot.img"):
+                if (( not os.path.isfile(editor._LiveImageCreatorBase__isodir+"/isolinux/macboot.img")) and
+                       os.path.isfile(editor._LiveImageCreatorBase__isodir+"/isolinux/efiboot.img") ):
                     shutil.copy(editor._LiveImageCreatorBase__isodir+"/isolinux/efiboot.img",
                                 editor._LiveImageCreatorBase__isodir+"/isolinux/macboot.img")
                 rebuild_iso_symlinks(editor._LiveImageCreatorBase__isodir)


-- 
To view, visit https://gerrit.ovirt.org/43315
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib54c1ecf5c30db036090ae44dbc0819571113558
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Anatoly Litovsky <tlitovsk at redhat.com>



More information about the node-patches mailing list