meta-digi/meta-digi-arm/recipes-bsp
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
..
alsa-state alsa-state: Support for ccimx6ul 2016-05-13 10:10:14 +02:00
firmware-atheros meta-digi: Replace COMPATIBLE_MACHINE string for ccimx6 2016-05-11 10:22:25 +02:00
firmware-qualcomm ccimx6ul: Add recipe support for firmware-qualcomm 2016-05-31 08:20:51 +02:00
formfactor meta-digi: use recommended BP and BPN variables for FILESEXTRAPATHS 2015-03-13 18:43:12 +01:00
kobs-ng kobs-ng: add support for 4K page NAND with 224-byte OOB 2015-10-19 11:59:04 +02:00
libdigi meta-digi: clean PACKAGE_ARCH from some recipes 2015-04-16 18:10:20 +02:00
nvram meta-digi: remove support for MX5X platforms 2015-11-05 13:56:38 +01:00
u-boot install_linux_fw_sd: expand variables when setting bootcmd to avoid redefining them 2016-07-06 16:26:49 +02:00
ubootenv meta-digi: remove deprecated PR from recipes 2015-03-13 18:43:11 +01:00
update-flash meta-digi: remove deprecated PR from recipes 2015-03-13 18:43:11 +01:00