diff options
| author | Adones Pitogo <pitogo.adones@gmail.com> | 2023-07-11 13:31:50 +0800 |
|---|---|---|
| committer | Christian Lamparter <chunkeey@gmail.com> | 2023-07-15 17:02:42 +0200 |
| commit | bdb4b78210cfb6bc8a6cda62fc990dd45ec3054c (patch) | |
| tree | 131af6eace4008564f756b444329547d0e814c2e /scripts/command_all.sh | |
| parent | 2d5f7035cf45801158bed6f5d0ac0de0002c1810 (diff) | |
| download | upstream-bdb4b78210cfb6bc8a6cda62fc990dd45ec3054c.tar.gz upstream-bdb4b78210cfb6bc8a6cda62fc990dd45ec3054c.tar.bz2 upstream-bdb4b78210cfb6bc8a6cda62fc990dd45ec3054c.zip | |
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>
Diffstat (limited to 'scripts/command_all.sh')
0 files changed, 0 insertions, 0 deletions
