lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect wrong path

This commit is contained in:
Otavio Salvador 2007-10-15 21:14:12 -02:00
parent 293ef95b91
commit 763a576d88
1 changed files with 4 additions and 4 deletions

View File

@ -433,11 +433,11 @@ LH_BOOTAPPEND_LIVE="$(echo ${LH_BOOTAPPEND_LIVE} | sed -e 's/ //')"
FAILSAFE="noapic noapm nodma nomce nolapic nosmp vga=normal" FAILSAFE="noapic noapm nodma nomce nolapic nosmp vga=normal"
# Moving kernels into place # Moving kernels into place
if [ "binary/${LH_INITRAMFS}" != "${KERNEL_PATH}" ] if [ "binary/${INITFS}" != "${KERNEL_PATH}" ]
then then
mv binary/${LH_INITRAMFS}/vmlinuz* ${KERNEL_PATH} mv binary/${INITFS}/vmlinuz* ${KERNEL_PATH}
mv binary/${LH_INITRAMFS}/initrd* ${KERNEL_PATH} mv binary/${INITFS}/initrd* ${KERNEL_PATH}
mv binary/${LH_INITRAMFS}/memtest ${KERNEL_PATH} mv binary/${INITFS}/memtest ${KERNEL_PATH}
fi fi
# Default entries # Default entries