Commit 00496002 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

forgotten commit

parent d3a055fc
......@@ -124,18 +124,19 @@ do_deploy_append() {
rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK} u-boot-dtb.img
ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} u-boot-dtb.img
if [ ! -d ${PRODUCTION_DIR} ]; then
mkdir ${PRODUCTION_DIR}
for RLOC in ${PRODUCTION_ROOT_LOCATION}; do
if [ ! -d ${RLOC} ]; then
mkdir ${RLOC}
fi
if [ -f ${PRODUCTION_DIR}/${PRODUCTION_BOOT} ]; then
rm ${PRODUCTION_DIR}/${PRODUCTION_BOOT}
if [ -f ${RLOC}/${PRODUCTION_BOOT} ]; then
rm ${RLOC}/${PRODUCTION_BOOT}
fi
cp ${SPL_IMAGE} ${PRODUCTION_DIR}/${PRODUCTION_BOOT}
if [ -f ${PRODUCTION_DIR}/${PRODUCTION_UBOOT} ]; then
rm ${PRODUCTION_DIR}/${PRODUCTION_UBOOT}
cp ${SPL_IMAGE} ${RLOC}/${PRODUCTION_BOOT}
if [ -f ${RLOC}/${PRODUCTION_UBOOT} ]; then
rm ${RLOC}/${PRODUCTION_UBOOT}
fi
cp ${UBOOT_IMAGE} ${PRODUCTION_DIR}/${PRODUCTION_UBOOT}
cp ${UBOOT_IMAGE} ${RLOC}/${PRODUCTION_UBOOT}
done
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