trustfence: disable SDCARD image generation when encryption is enabled
Currently we don't support booting encrypted images from an SDCARD, so just disable the generation of such images. https://jira.digi.com/browse/DEL-2876 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
59e805bdeb
commit
2e13e194d9
|
|
@ -65,3 +65,6 @@ python () {
|
||||||
if (d.getVar("TRUSTFENCE_ENCRYPT_ENVIRONMENT", True) == "1"):
|
if (d.getVar("TRUSTFENCE_ENCRYPT_ENVIRONMENT", True) == "1"):
|
||||||
d.appendVar("UBOOT_EXTRA_CONF", 'CONFIG_ENV_AES=y CONFIG_ENV_AES_CAAM_KEY=y')
|
d.appendVar("UBOOT_EXTRA_CONF", 'CONFIG_ENV_AES=y CONFIG_ENV_AES_CAAM_KEY=y')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# SDCARD image is not supported when encryption is enabled, so disable it in such cases
|
||||||
|
IMAGE_FSTYPES_remove = "${@'' if d.getVar('TRUSTFENCE_DEK_PATH', True) == '0' else 'sdcard'}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue