summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2022-07-12 11:24:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-22 14:29:49 +0100
commitf97bd9abe6fb262393ba0372ec83fc9214d69765 (patch)
tree72aecd4348fb394f7ac66b1cfae8e08237d87c9d
parent59180eb47419387232a980f47b24f30496c5fb21 (diff)
downloadpoky-f97bd9abe6fb262393ba0372ec83fc9214d69765.tar.gz
bin_package: install into base_prefix
This makes the bin_package.bbclass work properly with the native class. (From OE-Core rev: 0bf78a8e0e1cf7e74b55aca4db0e62dd9dfa55ce) 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>
-rw-r--r--meta/classes/bin_package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/bin_package.bbclass b/meta/classes/bin_package.bbclass
index cbc9b1fa13..c1954243ee 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
37FILES_${PN} = "/" 38FILES_${PN} = "/"