[oe-commits] [openembedded-core] 07/20: kernel: Use KERNEL_IMAGETYPE_FOR_MAKE in do_bundle_initramfs

git at git.openembedded.org git at git.openembedded.org
Fri Jan 19 12:37:42 UTC 2018


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

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

commit a061c6bfd3a049a2c8d14bcfafd6e1837afb95e5
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