meta-digi/meta-digi-dey/recipes-core/recovery/recovery-initramfs
Gabriel Valcazar 94551f0c4d recovery-initramfs: correctly set environment variables containing spaces
In the libubootenv implementation of fw_setenv, multiple variables can be set
in one call. When setting a variable with a space-separated list, the app
interprets the list as new variable/value tuples, for example:

    fw_setenv myvar value1 value2 value3

Results in:

    myvar=value1
    value2=value3

This was causing the encrypted eMMC partition mechanism to break, because the
list of encrypted partitions is stored as a space-separated list in an
environment variable. Avoid this by enclosing the variable argument of
set_uboot_var() with double quotes.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-06-01 09:47:39 +02:00
..
automount_block.sh recovery-initramfs-init: remove parted dependency 2017-08-29 18:15:43 +02:00
automount_mtd.sh recovery init: detach 'update' MTD device from UBI if volume is not found 2017-03-22 15:03:24 +01:00
mdev.conf meta-digi-dey: Add mdev support into recovery ramdisk. 2017-03-20 17:08:55 +01:00
recovery-initramfs-init recovery-initramfs: correctly set environment variables containing spaces 2021-06-01 09:47:39 +02:00
swupdate.cfg recovery: add recipe to generate recovery ramdisk file tree 2016-12-27 17:37:53 +01:00