summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaewon Lee <jaewon.lee@xilinx.com>2019-12-12 15:16:59 -0800
committerJaewon Lee <jaewon.lee@xilinx.com>2019-12-12 15:25:36 -0800
commit24994cf4f5fc89c4f356d195ed34d75fb59f8bcb (patch)
tree4a3621f80ae31809700843ceb5d8429bdca41144
parent29dd6e525b5ea2cdf79fd71c9a804e5b0608548d (diff)
downloadmeta-xilinx-24994cf4f5fc89c4f356d195ed34d75fb59f8bcb.tar.gz
glibc-locale_%.bbappend: Fix directory installed but not shipped issue
Fixing "Files/directories were installed but not shipped in any package" issue where /usr/lib/locale directory was being populated with no files included. Appeding a loop to delete empty directories in libdir to bypass this issue Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-core/glibc/glibc-locale_%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-core/glibc/glibc-locale_%.bbappend b/meta-xilinx-bsp/recipes-core/glibc/glibc-locale_%.bbappend
new file mode 100644
index 00000000..68ae89b4
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-core/glibc/glibc-locale_%.bbappend
@@ -0,0 +1,4 @@
1do_install_append() {
2 # Remove the libdir if it is empty when gconv is not copied
3 find ${D}${libdir} -type d -empty -delete
4}