diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2016-10-21 22:07:28 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:47:20 +0000 |
commit | 4c88512843de6d1e9de6f56efe63d8b27b0957f2 (patch) | |
tree | 5bd127323d43de76ff5490c43e9e09312dee155c /meta/classes/kernel-fitimage.bbclass | |
parent | 492ee05c657790c9a1961d6727d7f6205f5c03af (diff) | |
download | poky-4c88512843de6d1e9de6f56efe63d8b27b0957f2.tar.gz |
kernel-fitimage.bbclass: Don't assume KERNEL_IMAGETYPE == fitImage
The name of the output image for a fitImage that contains a ramdisk
should match the same as for the fitImage that does not contain a
ramdisk. As such it should not be assumed that KERNEL_IMAGETYPE is
"fitImage". This change explicitly sets the name of the output
ramdisk/initramfs to start with fitImage as does the non-ramdisk output.
(From OE-Core rev: 81caed2b7071ffc9ed8077d7d76952f2a2a4713d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 706beed82c..ae6bfc52a7 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
@@ -419,11 +419,11 @@ kernel_do_deploy_append() { | |||
419 | 419 | ||
420 | if [ -n "${INITRAMFS_IMAGE}" ]; then | 420 | if [ -n "${INITRAMFS_IMAGE}" ]; then |
421 | echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..." | 421 | echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..." |
422 | its_initramfs_base_name="${KERNEL_IMAGETYPE}-its-${INITRAMFS_IMAGE}-${PV}-${PR}-${MACHINE}-${DATETIME}" | 422 | its_initramfs_base_name="fitImage-its-${INITRAMFS_IMAGE}-${PV}-${PR}-${MACHINE}-${DATETIME}" |
423 | its_initramfs_symlink_name=${KERNEL_IMAGETYPE}-its-${INITRAMFS_IMAGE}-${MACHINE} | 423 | its_initramfs_symlink_name=fitImage-its-${INITRAMFS_IMAGE}-${MACHINE} |
424 | install -m 0644 fit-image-${INITRAMFS_IMAGE}.its ${DEPLOYDIR}/${its_initramfs_base_name}.its | 424 | install -m 0644 fit-image-${INITRAMFS_IMAGE}.its ${DEPLOYDIR}/${its_initramfs_base_name}.its |
425 | fit_initramfs_base_name="${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${PV}-${PR}-${MACHINE}-${DATETIME}" | 425 | fit_initramfs_base_name="fitImage-${INITRAMFS_IMAGE}-${PV}-${PR}-${MACHINE}-${DATETIME}" |
426 | fit_initramfs_symlink_name=${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE} | 426 | fit_initramfs_symlink_name=fitImage-${INITRAMFS_IMAGE}-${MACHINE} |
427 | install -m 0644 arch/${ARCH}/boot/fitImage-${INITRAMFS_IMAGE} ${DEPLOYDIR}/${fit_initramfs_base_name}.bin | 427 | install -m 0644 arch/${ARCH}/boot/fitImage-${INITRAMFS_IMAGE} ${DEPLOYDIR}/${fit_initramfs_base_name}.bin |
428 | fi | 428 | fi |
429 | 429 | ||