meta-digi/meta-digi-dey/recipes-core
Gabriel Valcazar 59e652ec9b trustfence: extend partition encryption support to any partition
Modify the recovery and trustfence initramfs scripts to be able to encrypt any
partition on the internal storage media, not just the rootfs.

To implement this functionality, add a new recovery command called
'encrypt_partitions'. When used, this command must contain a comma-separated
list of the partitions that are to be encrypted by the end of the recovery
process, including partitions that were already encrypted beforehand. Any
partition that isn't in the list will be unencrypted. If the command is absent,
no changes will be made, but it's possible to pass an empty command to
unencrypt all partitions.

Include a blacklist to avoid encrypting partitions that shouldn't be encrypted,
such as partitions that need to be accessed by the ROM code/U-Boot or
partitions that contain encryption keys.

While at it, remove unnecessary "get_kernel_version" function from the script.

https://onedigi.atlassian.net/browse/DEL-7174

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-05-27 12:10:43 +02:00
..
base-files base-files: fix checks done to execute resize2fs postinst function in kernel 5.4 2020-05-11 16:04:57 +02:00
busybox gatesgarth migration: busybox: update to version 1.32.0 2021-04-29 20:07:28 +02:00
images gatesgarth migration: Convert u-boot-fw-utils dependencies to libubootenv dependencies 2021-05-05 19:18:11 +02:00
init-ifupdown br0: move the br0 interface to the bottom 2020-02-24 13:14:53 +01:00
initscripts busybox: remove busybox-static-nodes initscript 2019-02-04 14:59:46 +01:00
packagegroups libgpiod: add libgpiod-tools dependence 2021-05-12 08:12:21 +02:00
psplash gatesgarth migration: psplash: rework Digi customization to match new version 2021-05-05 19:18:11 +02:00
readline readline: allow the use of Begin/End/Del/Insert and Ctrl+arrows 2018-02-16 12:25:52 +01:00
recovery trustfence: extend partition encryption support to any partition 2021-05-27 12:10:43 +02:00
system-monitor system-monitor: add features_check to fix build warning 2021-05-05 19:18:11 +02:00
systemd systemd-gpuconfig: Update recipe to new NXP BSP release imx_5.4.70_2.3.1 2021-02-17 12:01:00 +01:00
sysvinit gatesgarth migration: sysvinit: update to recipe v2.97 2021-05-05 19:18:11 +02:00
trustfence trustfence: extend partition encryption support to any partition 2021-05-27 12:10:43 +02:00