diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2018-09-18 19:17:52 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-20 05:41:31 -0700 |
commit | ad42d8e4d9be71bb7bfbb7b7b79d1d99b5e15603 (patch) | |
tree | 95cb607fe9ad3b5d5c771b751313c207cba2aee4 /scripts/lib/wic/help.py | |
parent | 78067c910e815723814fff215fda2eba6f834b54 (diff) | |
download | poky-ad42d8e4d9be71bb7bfbb7b7b79d1d99b5e15603.tar.gz |
isoimage-isohybrid: don't include cpio in cpio image
Because the find | cpio processes execute in parallel connected via
the pipe, and the cpio outputs in the same dir find searches for
source files, the cpio will be included in itself partially, depending
on how fast the build machine creates the cpio file before cpio
gobbles it up.
This bloats the ISO image, though compression reduces the .iso file size,
once the kernel decompresses the cpio image and boots it live, it uses
up to double the RAM memory.
Fix this by creating the initrd.cpio file directly inside cr_workdir.
(From OE-Core rev: 7a7b29f5f1392f4f87af4f20cda99c66b4789fde)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/help.py')
0 files changed, 0 insertions, 0 deletions