From 51c7d1240274eb7980b1dfd700819a2efd430903 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 24 Apr 2015 16:09:10 -0700 Subject: [PATCH] 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 --- core/recipes-core/ncurses/ncurses_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 core/recipes-core/ncurses/ncurses_%.bbappend diff --git a/core/recipes-core/ncurses/ncurses_%.bbappend b/core/recipes-core/ncurses/ncurses_%.bbappend new file mode 100644 index 0000000..3802316 --- /dev/null +++ b/core/recipes-core/ncurses/ncurses_%.bbappend @@ -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.* +}