image/populate_sdk: Ensure symlinks in target sysroot are relative
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2013 09:42:44 +0000 (10:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2013 10:05:05 +0000 (11:05 +0100)
commit8002877bc50f32ab4382e16a59cf333f2b391e8e
tree4ed03c9fea8c7ff9b2d9a48f99f4f37d6ede1a45
parent576e31d3cc914f91a857caed8ad665a7a498ba67
image/populate_sdk: Ensure symlinks in target sysroot are relative

In the target sysroot of an SDK we can have target system absolute links
which don't make sense. This adds a script which fixes them up to become relative
paths instead.

[YOCTO #5020]

(From OE-Core rev: 57d6bdcad55c119e9ab8089d23d462436a0e4440)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
scripts/sysroot-relativelinks.py [new file with mode: 0755]