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>
|
||
|---|---|---|
| .. | ||
| automount_block.sh | ||
| automount_mtd.sh | ||
| automount_ubi.sh | ||
| mdev.conf | ||
| mount_cryptrootfs.sh | ||
| recovery-initramfs-init | ||