summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-15 21:14:12 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-17 13:53:54 -0200
commit763a576d887113eba4601340e2992b813edfc1cc (patch)
treebc08e1ccda876db8320b97a0dccad007aff0174d /helpers
parent293ef95b91b1d7be423dcadf864c8abe27df9351 (diff)
downloadvyos-live-build-763a576d887113eba4601340e2992b813edfc1cc.tar.gz
vyos-live-build-763a576d887113eba4601340e2992b813edfc1cc.zip
lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect wrong path
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_syslinux8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index e52c5d372..735346152 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -433,11 +433,11 @@ LH_BOOTAPPEND_LIVE="$(echo ${LH_BOOTAPPEND_LIVE} | sed -e 's/ //')"
FAILSAFE="noapic noapm nodma nomce nolapic nosmp vga=normal"
# Moving kernels into place
-if [ "binary/${LH_INITRAMFS}" != "${KERNEL_PATH}" ]
+if [ "binary/${INITFS}" != "${KERNEL_PATH}" ]
then
- mv binary/${LH_INITRAMFS}/vmlinuz* ${KERNEL_PATH}
- mv binary/${LH_INITRAMFS}/initrd* ${KERNEL_PATH}
- mv binary/${LH_INITRAMFS}/memtest ${KERNEL_PATH}
+ mv binary/${INITFS}/vmlinuz* ${KERNEL_PATH}
+ mv binary/${INITFS}/initrd* ${KERNEL_PATH}
+ mv binary/${INITFS}/memtest ${KERNEL_PATH}
fi
# Default entries