]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
glibc-package.inc: correct intention for deleting /usr/lib as needed
authorAwais Belal <awais_belal@mentor.com>
Thu, 27 Sep 2018 14:41:43 +0000 (19:41 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Sep 2018 22:41:41 +0000 (23:41 +0100)
commit3bbbe25ae74e120f7d3452685f0cae2245d7b14d
tree4bb6c4818395b3b38b69dba813c90a07ed041a0d
parent652e3ccd534ae5fa01e2318c39d4188059e55db0
glibc-package.inc: correct intention for deleting /usr/lib as needed

In case the baselib is lib64 we would want to delete /usr/lib
after removing the /usr/lib/locale dir and the implementation
wanted to do that earlier as well but the fault was checking
an already removed dir (/usr/lib/locale) before trying to
remove /usr/lib as that check would always fail.
Now we simply try to delete /usr/lib after deleting
/usr/lib/locale to make sure it deletes cleanly and is empty
at the time of deletion.

(From OE-Core rev: 4dad1568f8f84ec9de4bf7235822f77a8ee6a413)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-package.inc