]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 18 Aug 2022 17:16:39 +0000 (07:16 -1000)
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>
(cherry picked from commit ad330b6d4b6e2ba051b5c6c437e07a183831f757)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/bin_package.bbclass

index cbc9b1fa13114462aded565b34af38c7b509c2ba..c1954243ee002810be9bf8091124f8c767d7af5d 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} = "/"