Commit ceb787b4 authored by Norbert Lange's avatar Norbert Lange
Browse files

mkinitramfs: use temporary file for uncompressed cpio



A Compressor can benefit if the uncompressed size is
known at the start.

Potential benefits are less memory requirements when decoding,
and simpler framing (no "streaming mode").

This changes the pipe to create a new temporary file
containing the main cpio archive.
The final initramfs output file can then be created in
a single write (no appending).

Signed-off-by: default avatarNorbert Lange <nolange79@gmail.com>
parent cbbbb1b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment