meta-digi/meta-digi-dey/recipes-core/recovery
Arturo Buzarra d81444a574 swu-images: fix support to preinstallation script in swu update package
Since commit 11558352 ("swu-images: add "installed-directly" flag to
sw-description") the swu package images are streamed into the target without
any temporary copy to support devices with low memory available, that forces a
different order according with the swupdate documentation because scripts
should packed before the rest. This means that all the pre, post and shell
scripts will be executed after the images will be installed. This behavior
breaks the current support to mount the cryptorootfs node before install an
encrypted rootfs.

This commit moves the shell script to mount the cryptorootfs node to the
recovery initramfs and modifies the swupdate command line to call the shell
script before the images installation.

https://onedigi.atlassian.net/browse/CC8X-320

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-11-08 08:39:18 +01:00
..
recovery-initramfs swu-images: fix support to preinstallation script in swu update package 2021-11-08 08:39:18 +01:00
recovery-utils/recovery-utils recovery: turn is_dualboot_enabled() into generic function 2021-09-09 17:38:44 +02:00
recovery-initramfs.bb swu-images: fix support to preinstallation script in swu update package 2021-11-08 08:39:18 +01:00
recovery-utils.bb gatesgarth migration: Convert u-boot-fw-utils dependencies to libubootenv dependencies 2021-05-05 19:18:11 +02:00