meta-digi/meta-digi-dey/recipes-core/recovery/recovery-initramfs
Gabriel Valcazar 6468431179 recovery-initramfs: fix multi-MTD detection when formatting NAND partitions
Commit 7e81e706a1 modified the logic used to
determine if a NAND is using multi-MTD or single-MTD, but single quotes were
used in the grep pattern, which prevents the variable inside from expanding.
This makes the script always enter the single-MTD code path, even in multi-MTD
systems, which breaks partition formatting in these cases.

Replace the single quotes with double quotes so the variable can expand and the
condition can be properly checked.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-12-20 14:57:02 +01:00
..
automount_block.sh recovery-initramfs-init: remove parted dependency 2017-08-29 18:15:43 +02:00
automount_mtd.sh recovery init: detach 'update' MTD device from UBI if volume is not found 2017-03-22 15:03:24 +01:00
automount_ubi.sh recovery-initramfs: add script and mdev rule for UBI volumes 2023-01-17 16:50:11 +01:00
mdev.conf recovery-initramfs: add script and mdev rule for UBI volumes 2023-01-17 16:50:11 +01:00
mount_cryptrootfs.sh swu-images: fix support to preinstallation script in swu update package 2021-11-08 08:39:18 +01:00
recovery-initramfs-init recovery-initramfs: fix multi-MTD detection when formatting NAND partitions 2023-12-20 14:57:02 +01:00
swupdate.cfg recovery: add recipe to generate recovery ramdisk file tree 2016-12-27 17:37:53 +01:00