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>
|
||
|---|---|---|
| .. | ||
| base-files | ||
| busybox | ||
| images | ||
| init-ifupdown | ||
| initscripts | ||
| packagegroups | ||
| psplash | ||
| readline | ||
| recovery | ||
| system-monitor | ||
| systemd | ||
| sysvinit | ||
| trustfence | ||