]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: support dangling path components
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Mon, 11 Feb 2013 19:21:53 +0000 (20:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 22:44:55 +0000 (22:44 +0000)
commit579369b0fb27fad6d628746a50b9b798078500f6
tree4e89e4c1501eb604465e74b4b9b21e580a6f49f8
parent273c437813b19577d68fa49ec04ea42154ad70c9
package.bbclass: support dangling path components

Commit ec2aab09769f4b6817d74d2175afa2b7c7598750 introduced a regression
on packages which contain symlinks with unresolvable path components
(e.g. lsof-dbg).  While assigning a variable, an exception was raised
and the exception handler accessed this variable.

Patch deals both with the dangling path components by assuming them as
valid directories and by avoiding the broken assignment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass