Skip to contentSkip to conversation

bin_package: install into base_prefix

PATCH New [email protected] 1 participant 1 message Jul 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bin_package: install into base_prefix

From: Pascal Bach <[email protected]>

This makes the bin_package.bbclass work properly with the native class.

---
 meta/classes/bin_package.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/bin_package.bbclass +2 -1
index c3aca20443..f0407e1329 100644
@@ -30,8 +30,9 @@ bin_package_do_install () {
         bbfatal bin_package has nothing to install. Be sure the SRC_URI unpacks into S.
     fi
     cd ${S}
+    install -d ${D}${base_prefix}
     tar --no-same-owner --exclude='./patches' --exclude='./.pc' -cpf - . \
-        | tar --no-same-owner -xpf - -C ${D}
+        | tar --no-same-owner -xpf - -C ${D}${base_prefix}
 }
 
 FILES:${PN} = "/"
Signature · 1 line
2.37.0