base-files: fix nand_do_platform_check fail
authorChen Minqiang <ptpt52@gmail.com>
Sun, 18 Dec 2022 00:57:20 +0000 (08:57 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 29 Jan 2023 01:02:45 +0000 (01:02 +0000)
commit781a3ae5dc4755e5826862d023e149e68029d554
treeb4c5a4afd9025137760ce8f0f6b3a7bd09ad42eb
parentb246385126ace0aeabacf9c94851d2f6dc26f912
base-files: fix nand_do_platform_check fail

This change ensures compatibility with both types of sysupgrade-tar files.

1. For some boards like xiaomi,redmi-router-ax6s, sysupgrade-tar
   is pack in directory `vendor,name/`

2. For some boards like xiaomi,mi-router-3g, sysupgrade-tar is pack
   in directory `vendor_name/`

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
package/base-files/files/lib/upgrade/nand.sh