mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 19:39:40 +01:00
boot-directdisk: Make kernel image inclusion conditional.
When building for qcow2 and a dummy kernel, avoid installing a non existing bzImage. (From OE-Core rev: 7d476f117c62e532c99abef5728e729b8001fa32) Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org> 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
66bad556a9
commit
ff037a6df6
@@ -70,7 +70,9 @@ boot_direct_populate() {
|
||||
install -d $dest
|
||||
|
||||
# Install bzImage, initrd, and rootfs.img in DEST for all loaders to use.
|
||||
install -m 0644 ${DEPLOY_DIR_IMAGE}/bzImage $dest/vmlinuz
|
||||
if [ -e ${DEPLOY_DIR_IMAGE}/bzImage ]; then
|
||||
install -m 0644 ${DEPLOY_DIR_IMAGE}/bzImage $dest/vmlinuz
|
||||
fi
|
||||
|
||||
# initrd is made of concatenation of multiple filesystem images
|
||||
if [ -n "${INITRD}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user