meta-digi/meta-digi-dey/recipes-core/recovery
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
..
recovery-initramfs recovery-initramfs: correctly set environment variables containing spaces 2021-06-01 09:47:39 +02:00
recovery-utils/recovery-utils recovery-utils: ask for confirmation when changing the encryption key 2021-05-27 12:10:44 +02:00
recovery-initramfs.bb trustfence: homogenize SIGN_MODE variables 2020-02-12 18:50:19 +01:00
recovery-utils.bb gatesgarth migration: Convert u-boot-fw-utils dependencies to libubootenv dependencies 2021-05-05 19:18:11 +02:00