poky/scripts/lib/wic
Ioan-Adrian Ratiu ad42d8e4d9 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>
2018-09-20 05:41:31 -07:00
..
canned-wks wic/qemux86: don't pass ip parameter to kernel in wks 2018-08-02 09:30:11 +01:00
plugins isoimage-isohybrid: don't include cpio in cpio image 2018-09-20 05:41:31 -07:00
__init__.py wic: move WicError to lib/wic/__init__.py 2017-03-04 23:18:17 +00:00
engine.py wic/engine: improve error reporting when using rm with wic 2018-07-26 13:16:40 +01:00
filemap.py wic: if we can't get from ioctl, try from os.stat() 2018-01-14 09:11:57 +00:00
help.py wic: Introduce the --use-label partition parameter 2018-09-13 07:42:28 +01:00
ksparser.py wic: Introduce the --use-label partition parameter 2018-09-13 07:42:28 +01:00
misc.py wic: misc.py: Use mmd from mtools instead of syslinux 2017-11-05 22:33:23 +00:00
partition.py wic: Introduce the --use-label partition parameter 2018-09-13 07:42:28 +01:00
pluginbase.py wic: Add post operation hook for SourcePlugin 2018-03-04 11:35:40 +00:00