mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
bin_package: install into base_prefix
This makes the bin_package.bbclass work properly with the native class. (From OE-Core rev: ad330b6d4b6e2ba051b5c6c437e07a183831f757) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4a9cb3b33e
commit
6feb842fc2
@@ -30,8 +30,9 @@ bin_package_do_install () {
|
|||||||
bbfatal bin_package has nothing to install. Be sure the SRC_URI unpacks into S.
|
bbfatal bin_package has nothing to install. Be sure the SRC_URI unpacks into S.
|
||||||
fi
|
fi
|
||||||
cd ${S}
|
cd ${S}
|
||||||
|
install -d ${D}${base_prefix}
|
||||||
tar --no-same-owner --exclude='./patches' --exclude='./.pc' -cpf - . \
|
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} = "/"
|
FILES:${PN} = "/"
|
||||||
|
|||||||
Reference in New Issue
Block a user