diff options
author | Ross Burton <ross.burton@arm.com> | 2024-03-22 16:49:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-25 13:01:14 +0000 |
commit | daa6afead84588f8b302228b581498f492d21d38 (patch) | |
tree | 2cdfddfb9d6905b9466cb18ae9fb425268733c92 /meta/classes-recipe | |
parent | 21c9a9f81467a79b6a06b5286e2c7c7bd8bffbab (diff) | |
download | poky-daa6afead84588f8b302228b581498f492d21d38.tar.gz |
classes/qemuboot: add depends on qemu-system-native and qemu-helper-native
Any image that inherits qemuboot must also add image dependencies on
qemu-system-native and qemu-helper-native, otherwise the image won't
be able to be booted.
Currently this is done by conf/machine/include/qemu.inc, but not every
machine that uses qemuboot includes that file.
Move the EXTRA_IMAGEDEPENDS from qemu.inc into qemuboot.bbclass, so that
the dependencies don't have to be duplicated.
(From OE-Core rev: dd54cf058f632e985917ff227483995f368e6a7d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/qemuboot.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-recipe/qemuboot.bbclass b/meta/classes-recipe/qemuboot.bbclass index 4a563b8ccc..895fd38d68 100644 --- a/meta/classes-recipe/qemuboot.bbclass +++ b/meta/classes-recipe/qemuboot.bbclass | |||
@@ -185,3 +185,5 @@ python do_write_qemuboot_conf() { | |||
185 | os.remove(qemuboot_link) | 185 | os.remove(qemuboot_link) |
186 | os.symlink(os.path.basename(qemuboot), qemuboot_link) | 186 | os.symlink(os.path.basename(qemuboot), qemuboot_link) |
187 | } | 187 | } |
188 | |||
189 | EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot" | ||