]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
qemuboot: Trigger write_qemuboot_conf task on changes of kernel image realpath
authorWeisser, Pascal.ext <Pascal.Weisser.ext@karlstorz.com>
Wed, 3 Jul 2024 10:56:03 +0000 (12:56 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Jul 2024 21:55:35 +0000 (22:55 +0100)
commitf8b3975a9ce36ea7af5fd76243a823da2842415b
tree24f4dbcfb2472a6f2f592a936760478d5bda832c
parent16f4ebc02857567509610e4d350c451440d44930
qemuboot: Trigger write_qemuboot_conf task on changes of kernel image realpath

The qemuboot.conf file contains the realpath of the kernel image
referenced by QB_DEFAULT_KERNEL. So, it must be recreated in case the
realpath of the referenced kernel image changes.

The variables KERNEL_IMAGE_NAME and KERNEL_IMAGE_BIN_EXT determine the
realpath of the kernel image relative to DEPLOY_DIR_IMAGE. Adding both of
them to the vardeps of the write_qemuboot_conf task triggers the
write_qemuboot_conf task in case the realpath of the kernel image
referenced by QB_DEFAULT_KERNEL changes.

Fixes: [YOCTO 15525]
Signed-off-by: "Weisser, Pascal" <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/qemuboot.bbclass