diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2022-07-12 11:24:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-25 15:11:46 +0100 |
commit | dd1fac1e1150b85dbf9f7c112eaff91f70ebf813 (patch) | |
tree | c31442fc07f3adf775e2af1fefe794494f7a0281 /meta | |
parent | de0d04dfa3ea069ab89860316f5a1c662a5f3a4f (diff) | |
download | poky-dd1fac1e1150b85dbf9f7c112eaff91f70ebf813.tar.gz |
bin_package: install into base_prefix
This makes the bin_package.bbclass work properly with the native class.
(From OE-Core rev: 58029ca7beb6cda1c7a97f2f2cfae64888587cd6)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () { | |||
30 | bbfatal bin_package has nothing to install. Be sure the SRC_URI unpacks into S. | 30 | bbfatal bin_package has nothing to install. Be sure the SRC_URI unpacks into S. |
31 | fi | 31 | fi |
32 | cd ${S} | 32 | cd ${S} |
33 | install -d ${D}${base_prefix} | ||
33 | tar --no-same-owner --exclude='./patches' --exclude='./.pc' -cpf - . \ | 34 | tar --no-same-owner --exclude='./patches' --exclude='./.pc' -cpf - . \ |
34 | | tar --no-same-owner -xpf - -C ${D} | 35 | | tar --no-same-owner -xpf - -C ${D}${base_prefix} |
35 | } | 36 | } |
36 | 37 | ||
37 | FILES:${PN} = "/" | 38 | FILES:${PN} = "/" |