From 59c90bfb389f06dcf0be6b789d5c091e44e53bc9 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 14 Nov 2013 15:00:37 -0800 Subject: [PATCH] fix(pvgrub): Disable support for gptprio root detection/fallback. This scheme only works robustly with kexec. Until the happy day that kexec is supported on Xen (or when Xen is dead, long live Xen!) we shouldn't bother trying. This allows us to use kernel modules again. --- .../create_legacy_bootloader_templates.sh | 23 ++++--------------- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/build_library/create_legacy_bootloader_templates.sh b/build_library/create_legacy_bootloader_templates.sh index ed05c5f5b1..b69fab1076 100755 --- a/build_library/create_legacy_bootloader_templates.sh +++ b/build_library/create_legacy_bootloader_templates.sh @@ -52,39 +52,26 @@ if [[ "${FLAGS_arch}" = "x86" || "${FLAGS_arch}" = "amd64" ]]; then # Add hvc0 for hypervisors grub_args="${common_args} console=hvc0" - cat </dev/null + sudo_clobber "${GRUB_DIR}/menu.lst.A" </dev/null + sudo_clobber "${GRUB_DIR}/menu.lst.B" <> ${GRUB_DIR}/menu.lst.B" + sudo_append "${GRUB_DIR}/menu.lst.B" <"${GRUB_DIR}/menu.lst.A" info "Emitted ${GRUB_DIR}/menu.lst.B" sudo cp ${GRUB_DIR}/menu.lst.A ${GRUB_DIR}/menu.lst - # /boot/syslinux must be installed in partition 12 as /syslinux/. SYSLINUX_DIR="${FLAGS_to}/syslinux" sudo mkdir -p "${SYSLINUX_DIR}"