meta-digi/meta-digi-dey/recipes-core/recovery/recovery-initramfs
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
..
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
mount_cryptrootfs.sh swu-images: fix support to preinstallation script in swu update package 2021-11-08 08:39:18 +01:00
recovery-initramfs-init swu-images: fix support to preinstallation script in swu update package 2021-11-08 08:39:18 +01:00
swupdate.cfg recovery: add recipe to generate recovery ramdisk file tree 2016-12-27 17:37:53 +01:00