mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d79bc85d84
commit
2acedd5632
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user