diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2022-07-12 11:24:39 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-07-17 16:59:57 -1000 |
commit | 58029ca7beb6cda1c7a97f2f2cfae64888587cd6 (patch) | |
tree | d0f0e3f4179801a44710881c891e5c6fc1829527 /meta/classes | |
parent | 9beb3472624050593fc30d5a00d3d13fec4441df (diff) | |
download | openembedded-core-contrib-58029ca7beb6cda1c7a97f2f2cfae64888587cd6.tar.gz |
bin_package: install into base_prefix
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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/bin_package.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/bin_package.bbclass b/meta/classes/bin_package.bbclass index c3aca20443..f0407e1329 100644 --- a/meta/classes/bin_package.bbclass +++ b/meta/classes/bin_package.bbclass @@ -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} = "/" |