Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V1 1/3] kernel.bbclass: do not install initramfs bundled kernel image
@ 2015-12-30 21:19 Ming Liu
  2015-12-30 21:19 ` [PATCH V1 2/3] image.bbclass: removes bundle_initramfs related code Ming Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ming Liu @ 2015-12-30 21:19 UTC (permalink / raw)
  To: openembedded-core; +Cc: bruce.ashfield, yue.tao, Ming Liu

From: Ming Liu <peter.x.liu@external.atlascopco.com>

It makes no sense to install a initramfs bundled kernel image since
do_package does not depend on do_bundle_initramfs at all, otherwise, it
leads to a impicit kernel-image package depending on do_package run before
or after do_bundle_initramfs.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
---
 meta/classes/kernel.bbclass | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 4ce1611..d1ca614 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -179,10 +179,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
 }
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-05 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-30 21:19 [PATCH V1 1/3] kernel.bbclass: do not install initramfs bundled kernel image Ming Liu
2015-12-30 21:19 ` [PATCH V1 2/3] image.bbclass: removes bundle_initramfs related code Ming Liu
2015-12-30 21:20 ` [PATCH V1 3/3] kernel-initramfs: new recipe, creates initramfs bundled kernel packaging Ming Liu
2016-01-04 14:58 ` [PATCH V1 1/3] kernel.bbclass: do not install initramfs bundled kernel image Bruce Ashfield
2016-01-05 13:42   ` Ming Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox