diff options
author | Jaewon Lee <jaewon.lee@xilinx.com> | 2019-12-12 15:16:59 -0800 |
---|---|---|
committer | Jaewon Lee <jaewon.lee@xilinx.com> | 2019-12-12 15:25:36 -0800 |
commit | 24994cf4f5fc89c4f356d195ed34d75fb59f8bcb (patch) | |
tree | 4a3621f80ae31809700843ceb5d8429bdca41144 | |
parent | 29dd6e525b5ea2cdf79fd71c9a804e5b0608548d (diff) | |
download | meta-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_%.bbappend | 4 |
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 @@ | |||
1 | do_install_append() { | ||
2 | # Remove the libdir if it is empty when gconv is not copied | ||
3 | find ${D}${libdir} -type d -empty -delete | ||
4 | } | ||