Skip to contentSkip to conversation

kernel.bbclass: don't install initramfs bundled kernel image

PATCH New Ming Liu 1 participant 1 message Jul 24, 2014

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

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.

---
 meta/classes/kernel.bbclass | 4 ----
 1 file changed, 4 deletions(-)
meta/classes/kernel.bbclass +0 -4
index b2e9d4c..bb19b5c 100644
@@ -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