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
..
2022-07-05 10:18:06 +02:00
2022-04-16 14:53:17 +02:00
2022-04-16 14:53:17 +02:00
2021-10-31 21:24:47 +01:00
2021-05-13 15:13:15 +02:00
2022-01-17 09:14:26 +01:00
2023-01-07 01:32:58 +01:00
2016-03-24 22:40:13 +01:00
2021-10-31 21:24:47 +01:00
2021-10-31 21:24:47 +01:00
2021-10-31 21:24:47 +01:00
2022-01-17 09:14:26 +01:00