summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/xen-hypervisor.inc
diff options
context:
space:
mode:
authorDiego Sueiro <diego.sueiro@arm.com>2020-11-02 08:13:57 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-11-03 16:28:25 -0500
commitcc99031c0b28231ad96c05ecf7c48593358324df (patch)
tree1d2b673f9f674534dac5b448a764e0df5246eaa2 /recipes-extended/xen/xen-hypervisor.inc
parent3620511fadd2b0faab085b5b616268f1e8ce5f1f (diff)
downloadmeta-virtualization-cc99031c0b28231ad96c05ecf7c48593358324df.tar.gz
xen: extend SYSROOT_DIRS to include installed binaries
If a recipe DEPENDS on xen we should include its binaries in the sysroot. The do_install task also ships files to /boot and /usr/lib64. Hence, extend SYSROOT_DIRS to include these paths. Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xen/xen-hypervisor.inc')
-rw-r--r--recipes-extended/xen/xen-hypervisor.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc
index 6a75d166..916bd3ce 100644
--- a/recipes-extended/xen/xen-hypervisor.inc
+++ b/recipes-extended/xen/xen-hypervisor.inc
@@ -55,6 +55,8 @@ do_compile() {
55do_install() { 55do_install() {
56 oe_runmake DESTDIR="${D}" install-xen 56 oe_runmake DESTDIR="${D}" install-xen
57} 57}
58# The do_install also ships files in /boot and /usr/lib64
59SYSROOT_DIRS += "/boot ${exec_prefix}/lib64"
58 60
59do_deploy() { 61do_deploy() {
60 install -d ${DEPLOYDIR} 62 install -d ${DEPLOYDIR}