meta-digi/meta-digi-dey/recipes-core/recovery/recovery-initramfs
Gabriel Valcazar 85e59417a3 recovery: prevent partition encryption when singlemtdsys is enabled
In legacy NAND platforms like the ccimx6ul, it's possible to use a single-MTD
configuration with dualboot disabled, which allows access to the functionality
provided by the recovery partition. However, the partition encryption feature
requires a multi-MTD configuation, so said feature shouldn't be accessible in
this case.

Prevent access to partition encryption in a single-MTD system by:

    * Adding the "system" partition to the partition blacklist in both the
      recovery-utils library and the recovery initscript.
    * Checking the "singlemtdsys" environment variable before using any
      functionality related to partition encryption.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-07-01 13:27:38 +02: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
automount_ubi.sh recovery-initramfs: add script and mdev rule for UBI volumes 2023-01-17 16:50:11 +01:00
mdev.conf recovery-initramfs: add script and mdev rule for UBI volumes 2023-01-17 16:50:11 +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 recovery: prevent partition encryption when singlemtdsys is enabled 2024-07-01 13:27:38 +02:00