meta-digi/meta-digi-dey/recipes-digi/swu-images
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
..
files swu-images: fix support to preinstallation script in swu update package 2021-11-08 08:39:18 +01:00
core-image-base-swu.bb swu-images: add include file to reuse in swu update package recipes 2017-07-05 13:43:28 +02:00
dey-image-aws-swu.bb swu-images: new swu update package including Amazon Web Services 2017-07-05 13:43:28 +02:00
dey-image-qt-swu.bb swu-images: add include file to reuse in swu update package recipes 2017-07-05 13:43:28 +02:00
swu.inc swu-images: fix support to preinstallation script in swu update package 2021-11-08 08:39:18 +01:00