mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
21c9a9f814
commit
daa6afead8
@@ -185,3 +185,5 @@ python do_write_qemuboot_conf() {
|
||||
os.remove(qemuboot_link)
|
||||
os.symlink(os.path.basename(qemuboot), qemuboot_link)
|
||||
}
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot"
|
||||
|
||||
@@ -23,8 +23,6 @@ RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
|
||||
# Use a common kernel recipe for all QEMU machines
|
||||
PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot"
|
||||
|
||||
# Provide the nfs server kernel module for all qemu images
|
||||
KERNEL_FEATURES:append:pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
|
||||
KERNEL_FEATURES:append:pn-linux-yocto-rt = " features/nfsd/nfsd-enable.scc"
|
||||
|
||||
Reference in New Issue
Block a user