[oe-commits] [openembedded-core] 17/32: kernel: Use KERNEL_IMAGETYPE_FOR_MAKE in do_bundle_initramfs

git at git.openembedded.org git at git.openembedded.org
Thu Jan 18 23:32:30 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 34392cead03a9ae8f75cebaef0c3ad6011a4a9f9
Author: Thomas Perrot <thomas.perrot at tupi.fr>
AuthorDate: Wed Jan 17 10:21:59 2018 +0100

    kernel: Use KERNEL_IMAGETYPE_FOR_MAKE in do_bundle_initramfs
    
    In the case of a fitImage the this step should be done on the
    image use to assemble the fitImage.
    
    Signed-off-by: Thomas Perrot <thomas.perrot at tupi.fr>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 1ecb840..2f6eca3 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -231,7 +231,7 @@ do_bundle_initramfs () {
 		copy_initramfs
 		# Backing up kernel image relies on its type(regular file or symbolic link)
 		tmp_path=""
-		for type in ${KERNEL_IMAGETYPES} ; do
+		for type in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
 			if [ -h ${KERNEL_OUTPUT_DIR}/$type ] ; then
 				linkpath=`readlink -n ${KERNEL_OUTPUT_DIR}/$type`
 				realpath=`readlink -fn ${KERNEL_OUTPUT_DIR}/$type`

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list