On 19.11.20 12:55, [ext] Christian Storm wrote: > From: Christian Storm <[email protected]> > > In addition to /dev/mmcblk and /dev/nvme, use the <device>p<num> > partition naming scheme for loopback devices as well. > > Signed-off-by: Christian Storm <[email protected]> > --- > env/env_config_partitions.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/env/env_config_partitions.c b/env/env_config_partitions.c > index e22df3d..f4b17e2 100644 > --- a/env/env_config_partitions.c > +++ b/env/env_config_partitions.c > @@ -45,6 +45,7 @@ bool probe_config_partitions(CONFIG_PART *cfgpart) > continue; > } > if (strncmp("/dev/mmcblk", dev->path, 11) == 0 || > + strncmp("/dev/loop", dev->path, 9) == 0 || > strncmp("/dev/nvme", dev->path, 9) == 0) { > (void)snprintf(devpath, 4096, "%sp%u", > dev->path, part->num); >
Thanks, applied. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/d53a3991-6e4e-debd-ae1c-6230eb42d735%40siemens.com.
