[node-patches] Change in ovirt-node[master]: Install splash.xpm in the right location on iSCSI installs

rbarry at redhat.com rbarry at redhat.com
Thu Oct 3 15:44:31 UTC 2013


Ryan Barry has uploaded a new change for review.

Change subject: Install splash.xpm in the right location on iSCSI installs
......................................................................

Install splash.xpm in the right location on iSCSI installs

Previously, we copied splash.xpm to /liveos in all cases. Put it
on the proper boot volume if it's an iSCSI install.

Change-Id: I7e027c290e9c69e1395739597097ce289f3787ac
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=924527
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirtnode/install.py
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/51/19851/1

diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py
index ac8fb53..07ae13c 100755
--- a/src/ovirtnode/install.py
+++ b/src/ovirtnode/install.py
@@ -169,7 +169,10 @@
             grub_conf.write(GRUB_BACKUP_TEMPLATE % self.grub_dict)
         grub_conf.close()
         # splashscreen
-        _functions.system("cp /live/EFI/BOOT/splash.xpm.gz /liveos/grub")
+        if _functions.is_iscsi_install():
+            _functions.system("cp /live/EFI/BOOT/splash.xpm.gz /boot/grub")
+        else:
+            _functions.system("cp /live/EFI/BOOT/splash.xpm.gz /liveos/grub")
         # usb devices requires default BOOTX64 entries
         if _functions.is_efi_boot():
             _functions.system("mkdir -p /liveos/efi/EFI/BOOT")


-- 
To view, visit http://gerrit.ovirt.org/19851
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e027c290e9c69e1395739597097ce289f3787ac
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list