]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: handle links in sorted order
authorBill Randle <william.c.randle@intel.com>
Tue, 12 Apr 2016 15:22:21 +0000 (08:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Apr 2016 09:12:43 +0000 (10:12 +0100)
commitd71f4f54b4c22c9382bddce66c1580d875dcfef2
tree7b66f10fda77ba0bb7feddda06f9b0dfa8e6a0b5
parent036b26093e3c88dbb903a4a11d29c32c7516bc02
package.bbclass: handle links in sorted order

When processing links, the directories are processed in unsorted order
which can result in cases like /var/lock -> /run/lock handled before
/var/run -> /run throwing an error for /var/run because /run already exists.
Change the link processing to ensure links are processed in sorted order of
the destination.

[YOCTO #9430]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass