mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
ncurses: work around ownership problem
Due to a previous workaround, the external gcc/g++ is run outside of pseudo
context. The ncurses install target re-links the libraries directly into ${D},
so we need to make sure the ownership on those files is correct.
JIRA: SB-4185
Signed-off-by: Christopher Larson <kergoth@gmail.com>
This commit is contained in:
6
core/recipes-core/ncurses/ncurses_%.bbappend
Normal file
6
core/recipes-core/ncurses/ncurses_%.bbappend
Normal file
@@ -0,0 +1,6 @@
|
||||
# Work around the fact that gcc/g++ is not run under pseudo at the moment to
|
||||
# bypass a different bug. Ncurses links the libs directly into place in the
|
||||
# destination, so we need to correct the ownership here.
|
||||
do_install_append () {
|
||||
chown root:root ${D}${base_libdir}/lib*.so.* ${D}${libdir}/lib*.so.*
|
||||
}
|
||||
Reference in New Issue
Block a user