mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-21 23:34:28 +04:00
Instead of loading the whole image into the memory when generating the sha256 sum, we load the file in chunks and update the hash incrementally to avoid MemoryError in python. Also remove a stray empty line. Fixes: #13056 Signed-off-by: Adones Pitogo <pitogo.adones@gmail.com> (mention empty line removal, adds Fixes from PR) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2.3 KiB
Executable File
2.3 KiB
Executable File