[PATCH v2 1/2] assemble_image: Copy U-boot environment files for flashing NAND (controlled by user button)

* Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the boot partition,
  When the user button is pressed, U-boot chooses between these 2 files, user.txt is used
  for flashing while uEnv.txt is for a regular boot

Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>

* Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the boot partition,
When the user button is pressed, U-boot chooses between these 2 files, user.txt is used
for flashing while uEnv.txt is for a regular boot

Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
---

Changes since v1:
- Added spaces after if condition as requested

scripts/assemble-image.sh | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index 6043bde..f54296d 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -126,6 +126,14 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
      echo "Using uImage from narcissus, no uImage found in rootfs"
    fi

+ if [ -e ${TARGET_DIR}/boot/user.txt ] ;then
+ cp -v ${TARGET_DIR}/boot/user.txt /mnt/narcissus/sd_image1/
+ fi

missing space between ; and then

+
+ if [ -e ${TARGET_DIR}/boot/uEnv.txt ] ;then
+ cp -v ${TARGET_DIR}/boot/uEnv.txt /mnt/narcissus/sd_image1/
+ fi
+

ditto