kernel.bbclass: don't install initramfs bundled kernel image
PATCH 1/1 kernel.bbclass: don't install initramfs bundled kernel image
There is no dependency relationship between the tasks bundle_initramfs and package so far, therefore we never should install the bundled image anyway, otherwise we will end up with a implicit kernel-image package that sometimes it contains the initramfs bundled image or it doesn't at other times.
Signed-off-by Ming Liu <[email protected]>
--- meta/classes/kernel.bbclass | 4 ---- 1 file changed, 4 deletions(-)
meta/classes/kernel.bbclass +0 -4
@@ -135,10 +135,6 @@ do_bundle_initramfs () { kernel_do_compile mv -f ${KERNEL_OUTPUT} ${KERNEL_OUTPUT}.initramfs mv -f ${KERNEL_OUTPUT}.bak ${KERNEL_OUTPUT} - # Update install area - echo "There is kernel image bundled with initramfs: ${B}/${KERNEL_OUTPUT}.initramfs" - install -m 0644 ${B}/${KERNEL_OUTPUT}.initramfs ${D}/boot/${KERNEL_IMAGETYPE}-initramfs-${MACHINE}.bin - echo "${B}/${KERNEL_OUTPUT}.initramfs" fi }
Signature · 1 line
1.8.4.1