|
|
|
@ -1051,21 +1051,19 @@ populate_boot () {
|
|
|
|
|
if [ -f ${TEMPDIR}/dl/${SPL} ] ; then
|
|
|
|
|
if [ ! "${bootloader_installed}" ] ; then
|
|
|
|
|
cp -v ${TEMPDIR}/dl/${SPL} ${TEMPDIR}/disk/${spl_name}
|
|
|
|
|
fi
|
|
|
|
|
cp -v ${TEMPDIR}/dl/${SPL} ${TEMPDIR}/disk/backup/${spl_name}
|
|
|
|
|
echo "-----------------------------"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "${boot_name}" ] ; then
|
|
|
|
|
if [ -f ${TEMPDIR}/dl/${UBOOT} ] ; then
|
|
|
|
|
if [ ! "${bootloader_installed}" ] ; then
|
|
|
|
|
cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/${boot_name}
|
|
|
|
|
fi
|
|
|
|
|
cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/backup/${boot_name}
|
|
|
|
|
echo "-----------------------------"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ -f ${TEMPDIR}/kernel/boot/vmlinuz-* ] ; then
|
|
|
|
|
LINUX_VER=$(ls ${TEMPDIR}/kernel/boot/vmlinuz-* | awk -F'vmlinuz-' '{print $2}')
|
|
|
|
|