[node-patches] Change in ovirt-node[master]: efi: Creates $LIVE_ROOT/EFI/BOOT/BOOTX64.conf
dougsland at redhat.com
dougsland at redhat.com
Mon Aug 25 21:27:17 UTC 2014
Douglas Schilling Landgraf has uploaded a new change for review.
Change subject: efi: Creates $LIVE_ROOT/EFI/BOOT/BOOTX64.conf
......................................................................
efi: Creates $LIVE_ROOT/EFI/BOOT/BOOTX64.conf
To handle BOOTX64.conf file via 'cat << EOF' we must
create the file first.
Change-Id: I3f7c6228bc05b74385030abade0e08c5f575c0b0
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M recipe/common-efi.ks
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/36/31936/1
diff --git a/recipe/common-efi.ks b/recipe/common-efi.ks
index 1d47677..2f51659 100644
--- a/recipe/common-efi.ks
+++ b/recipe/common-efi.ks
@@ -1,5 +1,10 @@
# create grub/grub2 efi boot configuation
+if [ ! -e $LIVE_ROOT/EFI/BOOT/BOOTX64.conf ]; then
+ mkdir -p $LIVE_ROOT/EFI/BOOT
+ touch $LIVE_ROOT/EFI/BOOT/BOOTX64.conf
+fi
+
if [ ! -e $INSTALL_ROOT/sbin/grub2-install ]; then
cat > $LIVE_ROOT/EFI/BOOT/BOOTX64.conf <<EOF
default=0
--
To view, visit http://gerrit.ovirt.org/31936
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f7c6228bc05b74385030abade0e08c5f575c0b0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
More information about the node-patches
mailing list