meta-digi/meta-digi-dey/recipes-core/recovery
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
..
recovery-initramfs recovery: prevent partition encryption when singlemtdsys is enabled 2024-07-01 13:27:38 +02:00
recovery-utils/recovery-utils recovery: prevent partition encryption when singlemtdsys is enabled 2024-07-01 13:27:38 +02:00
recovery-initramfs.bb swupdate: install a default config file with optional public-key-file 2023-12-01 10:55:05 +01:00
recovery-utils.bb gatesgarth migration: Convert u-boot-fw-utils dependencies to libubootenv dependencies 2021-05-05 19:18:11 +02:00