From c90ea5f5042737f6e4f8592a73767104f41dd529 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Tue, 11 Mar 2014 11:25:23 -0700 Subject: [PATCH] fix(vm_image_util): Skip kexec when booting on Xen HVM This is buggy, instead we will need to handle Xen HVM similar to PV except this requires SYSLINUX config tweaking instead of grub's menu.lst --- build_library/configure_bootloaders.sh | 19 ++++++++++++++++++- build_library/vm_image_util.sh | 12 +++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/build_library/configure_bootloaders.sh b/build_library/configure_bootloaders.sh index add5c0c0a3..328776f78e 100755 --- a/build_library/configure_bootloaders.sh +++ b/build_library/configure_bootloaders.sh @@ -95,7 +95,9 @@ configure_syslinux() { SERIAL 0 115200 PROMPT 0 TIMEOUT 0 -DEFAULT boot_kernel + +# controls which kernel is the default +include /syslinux/default.cfg include /syslinux/boot_kernel.cfg @@ -107,6 +109,21 @@ include /syslinux/root.B.cfg EOF info "Emitted ${SYSLINUX_DIR}/syslinux.cfg" + sudo_clobber "${SYSLINUX_DIR}/default.cfg" <