This change adds support for md configured RAID systems in the bg_env tools. It ensures that the tool correctly identifies and handles RAID partitions configured with md.
Signed-off-by: Erdem Kahraman <erdem.kahra...@siemens.com> --- env/env_config_partitions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/env/env_config_partitions.c b/env/env_config_partitions.c index eae7be1..870f8d3 100644 --- a/env/env_config_partitions.c +++ b/env/env_config_partitions.c @@ -129,7 +129,8 @@ bool probe_config_partitions(CONFIG_PART *cfgpart, bool search_all_devices) } if (strncmp("/dev/mmcblk", dev->path, 11) == 0 || strncmp("/dev/loop", dev->path, 9) == 0 || - strncmp("/dev/nvme", dev->path, 9) == 0) { + strncmp("/dev/nvme", dev->path, 9) == 0) || + strncmp("/dev/md", dev->path, 7) == 0 { (void)snprintf(devpath, 4096, "%sp%u", dev->path, part->num); } else { -- 2.39.5 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to efibootguard-dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/efibootguard-dev/20241211094550.1091708-1-erdem.kahraman%40siemens.com.