]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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 23:21:15 +0000 (00:21 +0100)
commit45d7f5485a67c7bc2b13b84b3d7d882c898b35c3
treedfa6fc4a938f3caa57602e3008fb2ad749d86db0
parent7f45ea5083b845490bc3db2a449b6e8b71eab6ba
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.

(From OE-Core rev: eca501aeb4f2cc9255fabab14c68f6910367aaf9)

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