diff options
author | Thomas Perrot <thomas.perrot@tupi.fr> | 2018-01-17 10:21:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-19 12:37:13 +0000 |
commit | 2acedd56327104d76312d305bca3e5506b1d00b4 (patch) | |
tree | 072b2bc91e14cb74aeeb72fc0a42d9a1b94214f7 /meta/classes | |
parent | d79bc85d84544c9649b6d1cd68db8b4dab6a8d4f (diff) | |
download | poky-2acedd56327104d76312d305bca3e5506b1d00b4.tar.gz |
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.
(From OE-Core rev: a061c6bfd3a049a2c8d14bcfafd6e1837afb95e5)
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 1ecb840caf..2f6eca382e 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -231,7 +231,7 @@ do_bundle_initramfs () { | |||
231 | copy_initramfs | 231 | copy_initramfs |
232 | # Backing up kernel image relies on its type(regular file or symbolic link) | 232 | # Backing up kernel image relies on its type(regular file or symbolic link) |
233 | tmp_path="" | 233 | tmp_path="" |
234 | for type in ${KERNEL_IMAGETYPES} ; do | 234 | for type in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do |
235 | if [ -h ${KERNEL_OUTPUT_DIR}/$type ] ; then | 235 | if [ -h ${KERNEL_OUTPUT_DIR}/$type ] ; then |
236 | linkpath=`readlink -n ${KERNEL_OUTPUT_DIR}/$type` | 236 | linkpath=`readlink -n ${KERNEL_OUTPUT_DIR}/$type` |
237 | realpath=`readlink -fn ${KERNEL_OUTPUT_DIR}/$type` | 237 | realpath=`readlink -fn ${KERNEL_OUTPUT_DIR}/$type` |