openwrt/package/base-files/files/lib
Rafał Miłecki c798adad6b base-files: fix nand_upgrade_ubinized()
When using "ubiformat" with stdin it requires passing image size using
the -S argument. Provide it just like we do for "ubiupdatevol".

This fixes:
ubiformat: error!: must use '-S' with non-zero value when reading from stdin

This change fixes sysupgrade for bcm53xx and bcm4908 NAND devices
possibly some other targets too.

Cc: Rodrigo Balerdi <lanchon@gmail.com>
Cc: Daniel Golle <daniel@makrotopia.org>
Fixes: 9710712120 ("base-files: accept gzipped nand sysupgrade images")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Daniel Golle <daniel@makrotopia.org>
Tested-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-04-11 13:42:47 +01:00
..
functions base-files: add support for retrieving IPv6 assignments 2023-02-24 23:56:36 +01:00
preinit base-files: rename ethernet devs on known boards 2022-09-10 21:16:20 +02:00
upgrade base-files: fix nand_upgrade_ubinized() 2023-04-11 13:42:47 +01:00
functions.sh base-files: simplify restorecon logic 2022-05-02 21:11:05 +01:00