diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-15 21:14:12 -0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:27 +0100 |
commit | 8fc5ac96af45365a4a5e401b980e5aeeea169b9b (patch) | |
tree | bc08e1ccda876db8320b97a0dccad007aff0174d | |
parent | e7d99b5116495b5727c9271963d1901760867c58 (diff) | |
download | live-build-8fc5ac96af45365a4a5e401b980e5aeeea169b9b.zip live-build-8fc5ac96af45365a4a5e401b980e5aeeea169b9b.tar.gz |
lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect wrong path
-rwxr-xr-x | helpers/lh_binary_syslinux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index e52c5d3..7353461 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 |