From: Pascal Bach Date: Tue, 12 Jul 2022 09:24:39 +0000 (+0200) Subject: bin_package: install into base_prefix X-Git-Tag: 2020-04.19-dunfell~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bf78a8e0e1cf7e74b55aca4db0e62dd9dfa55ce;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git bin_package: install into base_prefix This makes the bin_package.bbclass work properly with the native class. Signed-off-by: Pascal Bach Signed-off-by: Richard Purdie (cherry picked from commit ad330b6d4b6e2ba051b5c6c437e07a183831f757) Signed-off-by: Steve Sakoman --- diff --git a/meta/classes/bin_package.bbclass b/meta/classes/bin_package.bbclass index cbc9b1fa131..c1954243ee0 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} = "/"