openwrtv3/package/base-files/files/lib
Mathias Kresin c90a8cb755 procd: nand: dont rely on boardname in nand_upgrade_tar
Kernel and rootfs in a subdirectory matching the userspace boardname,
was intended to use a single sysupgrade-tar archive for multiple boards
with different kernel/rootfs images. This feature was never used.

Use the first found directory in the tar archive instead of relying on
a directory named according to the userspace boardname.

It allows to change the boardname without adding another compatibility
layer - using the nand_board_name() function - for (sub)targets using
the metadata based image validation in favour to
nand_do_platform_check().

Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-12-08 20:57:12 +01:00
..
functions base-files: make ucidef_set_led_rssi offset and factor optional 2017-06-17 15:38:19 +02:00
preinit merge: base: update base-files and basic config 2017-12-08 19:41:18 +01:00
upgrade procd: nand: dont rely on boardname in nand_upgrade_tar 2017-12-08 20:57:12 +01:00
functions.sh base-files: fix getting gid from group_add_next 2017-11-09 17:42:36 +08:00