Skip to content
Snippets Groups Projects
Commit c81e9d9c authored by Ludovico de Nittis's avatar Ludovico de Nittis
Browse files

populate-depot: Calculate mtree from the extracted runtimes


If we use the compressed runtime to generate the mtree, we need to
extract every single file, on the fly, to calculate their hash.
But given that when we call `write_lookaside()` we already have entirely
extracted the archive on disk, we can use that uncompressed directory to
skip re-extracting the files a second time.

Additionally this will allow us to remove some files from the runtimes
that can be safely omitted to save space, e.g. documentation or support
for additional languages.

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 8669533e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment