From 23b1b01f1ae7c3bd3dde710e85ea9e8482df9ad6 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Tue, 19 Nov 2013 18:41:27 -0800 Subject: [PATCH] fix(syslinux): Apply sudo_clobber fix to syslinux configs. Already cleaned up the contrived cat/dd combo for the pvgrub configs, do the same for the syslinux configs. --- build_library/create_legacy_bootloader_templates.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build_library/create_legacy_bootloader_templates.sh b/build_library/create_legacy_bootloader_templates.sh index b69fab1076..11902f9dc1 100755 --- a/build_library/create_legacy_bootloader_templates.sh +++ b/build_library/create_legacy_bootloader_templates.sh @@ -79,7 +79,7 @@ EOF # This leaves /dev/console mapped to tty0 (vga) which is reasonable default. syslinux_args="console=ttyS0,115200n8 ${common_args}" - cat </dev/null + sudo_clobber "${SYSLINUX_DIR}/syslinux.cfg" </dev/null + sudo_clobber "${SYSLINUX_DIR}/boot_kernel.cfg" </dev/null + + sudo_clobber "${SYSLINUX_DIR}/root.A.cfg" </dev/null + sudo_clobber "${SYSLINUX_DIR}/root.B.cfg" <