- Adding the directory holding the jailhouse cell configuration files
  to the search paths used for SRC_URI

- Copying the jailhouse.install file to ${PN}.install during build
  preparation.

Signed-off-by: Florian Bezdeka <[email protected]>
---
 recipes-jailhouse/jailhouse/jailhouse.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-jailhouse/jailhouse/jailhouse.inc 
b/recipes-jailhouse/jailhouse/jailhouse.inc
index 5f99915..9275366 100644
--- a/recipes-jailhouse/jailhouse/jailhouse.inc
+++ b/recipes-jailhouse/jailhouse/jailhouse.inc
@@ -22,6 +22,7 @@ EXTRA_JAILHOUSE_CONFIGS_amd64 = " \
     ipc127e.c linux-ipc127e-demo.c apic-ipc127e-demo.c \
     "
 
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 SRC_URI = " \
     git://github.com/siemens/jailhouse;branch=next \
     file://debian/ \
@@ -44,7 +45,7 @@ do_prepare_build() {
         # Install device trees only on non-x86 archs as they only exist there
         echo "configs{,/*}/dts/*.dtb etc/jailhouse/dts" >> 
${S}/debian/jailhouse.install
     fi
-    mv ${S}/debian/jailhouse.install 
${S}/debian/jailhouse-${KERNEL_NAME}.install
+    mv ${S}/debian/jailhouse.install ${S}/debian/${PN}.install
 
     for cfg in ${EXTRA_JAILHOUSE_CONFIGS}; do
         cp ${WORKDIR}/$cfg ${S}/configs/x86/
-- 
2.31.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20210521080646.488836-5-florian.bezdeka%40siemens.com.

Reply via email to