On 10/10/2022 2:40 AM, Paresh Bhagat wrote:
Jira - https://jira.itg.ti.com/browse/SITSW-1649

This is upstream mailing list.

Please keep the TI internal jira-ids away from commit descriptions or cover-letters please.


The if condition which checks for boot binaries for am65xx and
j7 devices has no spaces which shows error while running create-sdcard.sh.
Add the required spaces in if condition.

Signed-off-by: Paresh Bhagat <[email protected]>
---
  create-sdcard.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/create-sdcard.sh b/create-sdcard.sh
index 4af6c94..5c3490a 100644
--- a/create-sdcard.sh
+++ b/create-sdcard.sh
@@ -1057,7 +1057,7 @@ if [ $BOOTPATHOPTION -eq 1 ] ; then
echo ""
        #copy boot files out of board support
-        if ["$TARDEVICENAME" == "am65xx"] || ["$TARDEVICENAME" == "j7"]; then
+        if [ "$TARDEVICENAME" == "am65xx" ] || [ "$TARDEVICENAME" == "j7" ]; 
then
                if [ "$MLO" == "" ] && ( [ "$SPL_R5" == "" ] || [ "$SPL_A53" == "" ] || [ 
"$SYSFW" == "" ] ); then
                        echo "Boot image not found"
                fi


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14063): 
https://lists.yoctoproject.org/g/meta-arago/message/14063
Mute This Topic: https://lists.yoctoproject.org/mt/94231723/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to