mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
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>
This commit is contained in:
parent
de0d04dfa3
commit
dd1fac1e11
@ -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} = "/"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user