openwrt/target/linux/gemini/base-files/lib
Linus Walleij 40b5a83fdb gemini: use tar stream to write firmware
The firmware update file can get big, so instead of extracting
the whole file into the tmp folder potentially running out of space
and make the upgrade fail, stream from tar xvf -O directly to the
mtd write command.

Refactor the checking of partitions and the actual upgrade into
two steps when we are at it.

Link: https://github.com/openwrt/openwrt/pull/21782
(cherry picked from commit 1977301b5f)
Link: https://github.com/openwrt/openwrt/pull/21973
Signed-off-by: Linus Walleij <linusw@kernel.org>
2026-02-11 08:47:45 +01:00
..
preinit treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
upgrade gemini: use tar stream to write firmware 2026-02-11 08:47:45 +01:00