meta-digi/meta-digi-arm/recipes-bsp/u-boot
Hector Palacios a32cea139b install_linux_fw_sd: expand variables when setting bootcmd to avoid redefining them
The setting of 'bootcmd' in the script was done using single quotes, which
doesn't expand variables. As a consequence the following variables must
be defined again (during the execution of the second part of the script):
 - mmcdev
 - INSTALL_LINUX_FILENAME
 - INSTALL_ROOTFS_FILENAME

This patch changes the single quotes with double quotes, so that these
variables are expanded during the setting of 'bootcmd' with the values
assigned at the begining of the installation script (notice these are
not dynamically generated so there is no risk to expand them).

At the same time we need to escape with a backslash:
 - double quotes containing strings
 - variables that we don't want to expand (like the return value $?)

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-07-06 16:26:49 +02:00
..
u-boot-dey-2013.01/ccardimx28 meta-digi-arm: rework SD card generation class 2015-06-25 18:44:13 +02:00
u-boot-dey-2015.04/ccimx6 install_linux_fw_sd: expand variables when setting bootcmd to avoid redefining them 2016-07-06 16:26:49 +02:00
u-boot-fw-utils meta-digi-arm: use u-boot fw-utils from Poky 2015-10-06 10:30:00 +02:00
u-boot-dey-rev_2013.01.inc meta-digi: revert kernel and u-boot revisions to AUTOREV 2016-02-15 18:02:34 +01:00
u-boot-dey_2013.01.bb meta-digi-arm: rework SD card generation class 2015-06-25 18:44:13 +02:00
u-boot-dey_2015.04.bb meta-digi-arm: u-boot: change name of encrypted artifacts for clarity 2016-07-01 16:26:53 +02:00
u-boot-fw-utils_%.bbappend meta-digi: Replace COMPATIBLE_MACHINE string for ccimx6 2016-05-11 10:22:25 +02:00