openwrt/package/base-files/files/lib/upgrade
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
..
keep.d
common.sh base-files: upgrade: Fix export_partdevice() quoting 2023-02-03 14:09:46 +01:00
do_stage2
emmc.sh base-files: Remove nand.sh dependency from emmc upgrade 2023-01-21 01:02:23 +01:00
fwtool.sh
legacy-sdcard.sh
nand.sh base-files: fix nand_upgrade_ubinized() 2023-04-11 13:42:47 +01:00
stage2 base-files: stage2: add 'tail' to sysupgrade environment 2022-12-31 05:02:38 -08:00