From fd73a6861570a75255615e2f14d1e9e7e2bf0e71 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 1 Oct 2012 04:43:14 +0200 Subject: Simplify internal replacement strings when processing syslinux configuration files. --- scripts/build/binary_syslinux | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts/build/binary_syslinux') diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux index 7e694e71b..bf2fb0316 100755 --- a/scripts/build/binary_syslinux +++ b/scripts/build/binary_syslinux @@ -219,10 +219,10 @@ then mv binary/live/initrd.img-* binary/live/initrd.img sed -e "s|@FLAVOUR@|${LB_LINUX_FLAVOURS}|g" \ - -e "s|@KERNEL@|/live/vmlinuz|g" \ + -e "s|@LINUX@|/live/vmlinuz|g" \ -e "s|@INITRD@|/live/initrd.img|g" \ - -e "s|@LB_BOOTAPPEND_LIVE@|${LB_BOOTAPPEND_LIVE}|g" \ - -e "s|@LB_BOOTAPPEND_FAILSAFE@|${LB_BOOTAPPEND_FAILSAFE}|g" \ + -e "s|@APPEND_LIVE@|${LB_BOOTAPPEND_LIVE}|g" \ + -e "s|@APPEND_FAILSAFE@|${LB_BOOTAPPEND_FAILSAFE}|g" \ "${_TARGET}/live.cfg.in" >> "${_TARGET}/live.cfg" rm -f "${_TARGET}/live.cfg.in" @@ -239,10 +239,10 @@ then mv binary/live/initrd.img-*-${_FLAVOUR} binary/live/initrd${_NUMBER}.img sed -e "s|@FLAVOUR@|${_FLAVOUR}|g" \ - -e "s|@KERNEL@|/live/vmlinuz${_NUMBER}|g" \ + -e "s|@LINUX@|/live/vmlinuz${_NUMBER}|g" \ -e "s|@INITRD@|/live/initrd${_NUMBER}.img|g" \ - -e "s|@LB_BOOTAPPEND_LIVE@|${LB_BOOTAPPEND_LIVE}|g" \ - -e "s|@LB_BOOTAPPEND_FAILSAFE@|${LB_BOOTAPPEND_FAILSAFE}|g" \ + -e "s|@APPEND_LIVE@|${LB_BOOTAPPEND_LIVE}|g" \ + -e "s|@APPEND_FAILSAFE@|${LB_BOOTAPPEND_FAILSAFE}|g" \ "${_TARGET}/live.cfg.in" >> "${_TARGET}/live.cfg" done -- cgit v1.2.3