openwrt/package/base-files/files/lib/upgrade
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
..
keep.d base-files: add /etc/shadow to list of essential files to keep in sysupgrade (bug 18206) 2014-10-25 17:22:46 +00:00
common.sh base-files: upgrade: make get_partitions() endian agnostic 2017-12-08 19:54:16 +01:00
fwtool.sh base-files: add a hint in sysupgrade that shows what to do when the image metadata check fails 2016-12-04 11:41:49 +01:00
nand.sh procd: nand: dont rely on boardname in nand_upgrade_tar 2017-12-08 20:57:12 +01:00
stage2 sysupgrade: don't kill our own parent 2017-11-15 21:11:23 +01:00