]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: drop initramfs bundle related code
authorMing Liu <peter.x.liu@external.atlascopco.com>
Wed, 16 Aug 2017 04:34:08 +0000 (06:34 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Aug 2017 08:19:01 +0000 (09:19 +0100)
commiteca501aeb4f2cc9255fabab14c68f6910367aaf9
treeb118b557b1b528425ef48310116feea476fb6073
parentf2d725d9268563f7bbcac770a34aceacb56cb2aa
image.bbclass: drop initramfs bundle related code

The original purpose of this code snippet was to repackage initramfs
bundled kernel images before do_image_complete, to be able to be
included by rootfs, but it's not going to achieve that since the
initramfs bundled kernel images are not even installed to ${D}/boot
after commit a49569e3a7534779bbe3f01a0647fd076c95798d:
[ kernel.bbclass: do not copy bundled initramfs to /boot ]

So there is not a initramfs bundled kernel package at all, we should
drop the code, because it is leading kernel do_initramfs_bundle
unnecessarily rerun and it's very time consuming and hence is impacting
the performance a lot.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass