Skip to contentSkip to conversation

xen: extend SYSROOT_DIRS to include installed binaries

PATCH In review Diego Sueiro 3 participants 3 messages Nov 2, 2020 – Nov 4, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 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.

---
Changes in v2:
- Updated commit subject and message

 recipes-extended/xen/xen-hypervisor.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-extended/xen/xen-hypervisor.inc +2 -0
index 6a75d16..916bd3c 100644
@@ -55,6 +55,8 @@ do_compile() {
 do_install() {
     oe_runmake DESTDIR="${D}" install-xen
 }
+# The do_install also ships files in /boot and /usr/lib64
+SYSROOT_DIRS += "/boot ${exec_prefix}/lib64"
 
 do_deploy() {
     install -d ${DEPLOYDIR}
Signature · 1 line
2.17.1
Reviewed-by on v2 2/2
#1 lore raw
Quoted 6 lines · Diego Sueiro

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.

Quoted 23 lines

---
Changes in v2:
- Updated commit subject and message

 recipes-extended/xen/xen-hypervisor.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-extended/xen/xen-hypervisor.inc +2 -1
index 6a75d16..916bd3c 100644
@@ -55,6 +55,8 @@ do_compile() {
 do_install() {
     oe_runmake DESTDIR="${D}" install-xen
 }
+# The do_install also ships files in /boot and /usr/lib64
+SYSROOT_DIRS += "/boot ${exec_prefix}/lib64"
 
 do_deploy() {
     install -d ${DEPLOYDIR}
--

2.17.1

Reviewed-by on v2 2/2
#2 lore raw
In reply to Diego Sueiro
Quoted 9 lines · Diego Sueiro via lists.yoctoproject.org

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.

Quoted 26 lines

---
Changes in v2:
- Updated commit subject and message

recipes-extended/xen/xen-hypervisor.inc | 2 ++

1 file changed, 2 insertions(+)
recipes-extended/xen/xen-hypervisor.inc +2 -0
index 6a75d16..916bd3c 100644
@@ -55,6 +55,8 @@ do_compile() {
 do_install() {
    oe_runmake DESTDIR="${D}" install-xen
 }
+# The do_install also ships files in /boot and /usr/lib64
+SYSROOT_DIRS += "/boot ${exec_prefix}/lib64"
 
 do_deploy() {
    install -d ${DEPLOYDIR}
Signature · 1 line
2.17.1