]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bin_package: install into base_prefix
authorPascal Bach <pascal.bach@siemens.com>
Tue, 12 Jul 2022 09:24:39 +0000 (11:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Jul 2022 22:54:22 +0000 (23:54 +0100)
This makes the bin_package.bbclass work properly with the native class.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/bin_package.bbclass

index c3aca20443cb46f2dcbae5c94d614b77b66d7e14..f0407e13293364cef171aeb1f04b366cadc3f3b9 100644 (file)
@@ -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} = "/"