1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 05:18:14 +02:00
openwrt/scripts
Adones Pitogo bdb4b78210 build: fix generation of large .vdi images
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>
2023-07-15 17:02:42 +02:00
..
config
flashing
arm-magic.sh
brcmImage.pl
bundle-libraries.sh
cameo-imghdr.py
cameo-tag.py
cfe-bin-header.py
cfe-partition-tag.py
cfe-wfi-tag.py
check-toolchain-clean.sh
checkpatch.pl
clean-package.sh
cleanfile
cleanpatch
combined-ext-image.sh
combined-image.sh
command_all.sh
config.guess
config.rpath
config.sub
const_structs.checkpatch
deptest.sh
diffconfig.sh
dl_cleanup.py
dl_github_archive.py
download.pl
dump-target-info.pl
env
ext-toolchain.sh
ext-tools.sh
feeds
fixup-makefile.pl
functions.sh
gen_image_generic.sh
gen-dependencies.sh
get_source_date_epoch.sh
getver.sh
ipkg-build
ipkg-make-index.sh
ipkg-remove
json_add_image_info.py build: fix generation of large .vdi images 2023-07-15 17:02:42 +02:00
json_overview_image_info.py
kconfig.pl
linksys-image.sh
make-ipkg-dir.sh
md5sum
metadata.pm
mkhash.c
mkits-qsdk-ipq-image.sh
mkits-zyxel-fit.sh
mkits.sh
moxa-encode-fw.py
netgear-encrypted-factory.py
om-fwupgradecfg-gen.sh
package-metadata.pl
pad_image
patch-kernel.sh
patch-specs.sh
portable_date.sh
qemustart
redboot-script.pl
relink-lib.sh
remote-gdb
rstrip.sh
sercomm-crypto.py
sercomm-kernel-header.py
sercomm-partition-tag.py
sercomm-payload.py
sercomm-pid.py
sign_images.sh
size_compare.sh
slugimage.pl
spelling.txt
srecimage.pl
strip-kmod.sh
symlink-tree.sh
sysupgrade-tar.sh
target-metadata.pl
time.pl
timestamp.pl
ubinize-image.sh
xxdi.pl