Ignore fitImage type in do_bundle_initramfs task because the packaging is made 
by do_assemble_fitimage_initramfs

Signed-off-by: Thomas Perrot <thomas.per...@tupi.fr>
---
 meta/classes/kernel.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 756707a3c2..7f8c8985f3 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -208,7 +208,9 @@ do_bundle_initramfs () {
                # Backing up kernel image relies on its type(regular file or 
symbolic link)
                tmp_path=""
                for type in ${KERNEL_IMAGETYPES} ; do
-                       if [ -h ${KERNEL_OUTPUT_DIR}/$type ] ; then
+                       if [ "$type" = "fitImage" ] ; then
+                               continue
+                       elif [ -h ${KERNEL_OUTPUT_DIR}/$type ] ; then
                                linkpath=`readlink -n 
${KERNEL_OUTPUT_DIR}/$type`
                                realpath=`readlink -fn 
${KERNEL_OUTPUT_DIR}/$type`
                                mv -f $realpath $realpath.bak
-- 
2.13.6

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to