lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect wrong path
This commit is contained in:
parent
293ef95b91
commit
763a576d88
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue