base-files: upgrade: nand: allow custom fw extraction in nand_do_upgrade()
authorRafał Miłecki <rafal@milecki.pl>
Fri, 12 Jul 2024 09:36:48 +0000 (11:36 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 26 Jul 2024 11:41:25 +0000 (13:41 +0200)
commita67b20e3d59adbfb9a699cdfad3e7370fd3696ca
tree804abc8a4ebc24c7e71b614fe2e370da74f7e249
parent73832e1a489b30133113b511fd1643b69d66a18b
base-files: upgrade: nand: allow custom fw extraction in nand_do_upgrade()

By default nand_do_upgrade() can only deal with raw and gzipped firmware
files. Vendors often use custom firmware containers. Allow passing
custom extraction command to allow using nand_do_upgrade() with vendor
firmwares.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
package/base-files/files/lib/upgrade/nand.sh