obmc-phosphor-image: Don't build .cpio.lzma.u-boot

For most incremental builds, the critical path is generating a new
installed obmc-phosphor-image fs, then compressing it to put into a
.lzma.u-boot container. However, the latter step doesn't seem necessary
except for the out-of-kernel initrd (obmc-phosphor-initramfs) because
obmc-phosphor-image is packaged as a squashfs-xz and not seen by U-Boot.

qemu.inc has its own IMAGE_FSTYPE appends, so qemuarm builds should not
be affected.

This reduces incremental build time by about a third, when doing
'bitbake obmc-phosphor-image' with no changes.
before:
150.74s user 66.01s system 148% cpu 2:25.96 total
after:
94.78s user 64.87s system 159% cpu 1:39.97 total

This reflects the removal of the single-threaded, CPU-bound 'lzma'
invocation from the critical path.

Netbootable images can still by generated by adding:
  IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot"

to local.conf.

Signed-off-by: Xo Wang <xow@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I867500589ffe0a36cbe1193843907d7882239227
1 file changed
tree: 2251df4c9e1931c898e178ee51cc91fce7ae3d52
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE
  7. README.md
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.