1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-15 05:40:00 +00:00
Files
poky/meta/recipes-core
Koen Kooi 826a04a188 glibc-package: fix locale cleanup logic
If ${libdir} is a subdirectory of ${prefix}/lib, e.g. /usr/lib/aarch64-linux, the cleanup logic will delete libc.so.

This bit of code was added in 2012 (git show b744f4cc) to remove /usr/lib/locale, this commit makes it remove that directory recursively and afterwards remove /usr/lib, erroring out if it's non-empty.

Tested with a plain (/usr/lib), a 64-bit (/usr/lib64) and a multiarch (/usr/lib/aarch64-linux) build. I strongly suspect this whole bit of cleanup isn't needed anymore, but my testing is too limited to be certain.

(From OE-Core rev: d8f4c7794f15f7071ee8e621d7964cb4b4134630)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
..
2018-03-07 06:34:50 -08:00
2018-03-09 09:17:02 -08:00
2017-06-12 15:08:30 +01:00
2018-03-09 09:17:02 -08:00
2018-03-08 10:39:32 -08:00
2018-03-07 06:34:50 -08:00
2018-03-04 11:35:42 +00:00
2017-01-19 22:47:21 +00:00
2018-03-07 06:34:50 -08:00
2018-02-15 11:23:11 +00:00
2018-03-09 09:17:04 -08:00
2018-03-09 09:17:04 -08:00