Commit 00496002 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

forgotten commit

parent d3a055fc
...@@ -124,18 +124,19 @@ do_deploy_append() { ...@@ -124,18 +124,19 @@ do_deploy_append() {
rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK} u-boot-dtb.img rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK} u-boot-dtb.img
ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} u-boot-dtb.img ln -sf ${UBOOT_IMAGE} u-boot-dtb.img
if [ ! -d ${PRODUCTION_DIR} ]; then for RLOC in ${PRODUCTION_ROOT_LOCATION}; do
mkdir ${PRODUCTION_DIR} if [ ! -d ${RLOC} ]; then
mkdir ${RLOC}
fi fi
if [ -f ${PRODUCTION_DIR}/${PRODUCTION_BOOT} ]; then if [ -f ${RLOC}/${PRODUCTION_BOOT} ]; then
rm ${PRODUCTION_DIR}/${PRODUCTION_BOOT} rm ${RLOC}/${PRODUCTION_BOOT}
fi fi
cp ${SPL_IMAGE} ${PRODUCTION_DIR}/${PRODUCTION_BOOT} cp ${SPL_IMAGE} ${RLOC}/${PRODUCTION_BOOT}
if [ -f ${RLOC}/${PRODUCTION_UBOOT} ]; then
if [ -f ${PRODUCTION_DIR}/${PRODUCTION_UBOOT} ]; then rm ${RLOC}/${PRODUCTION_UBOOT}
rm ${PRODUCTION_DIR}/${PRODUCTION_UBOOT}
fi fi
cp ${UBOOT_IMAGE} ${PRODUCTION_DIR}/${PRODUCTION_UBOOT} cp ${UBOOT_IMAGE} ${RLOC}/${PRODUCTION_UBOOT}
done
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment