]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: fixup_perms - change symlink processing
authorMark Hatle <mark.hatle@windriver.com>
Tue, 26 Jul 2011 19:28:33 +0000 (14:28 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jul 2011 14:39:17 +0000 (15:39 +0100)
commitc64d075b3d367e6c76aafa17782585d026b1f31e
tree5fbcf7640122640c0396d0dcccc4360451ca2e10
parentae5269039511d0f3d8aa6a87cb8d9fcf01d79ddd
package.bbclass: fixup_perms - change symlink processing

We switch to using os.lchown in order to avoid following a symlink.

We also now check if an item is a symlink, if so we avoid the
os.chmod as a symlink inherits the mode of it's target.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/classes/package.bbclass