]> code.ossystems Code Review - openembedded-core.git/commit
relocate_sdk.py: new interpreter string was not '\0' terminated
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Mon, 7 Jan 2013 13:07:04 +0000 (15:07 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jan 2013 13:41:45 +0000 (13:41 +0000)
commit3815030c5f31c11495893c1ae28d56c1aff31d97
tree7c12008e5eb1d7a381bb8c9e1c9060b424ddbb64
parent0ed77fe790a76a530b173eefaba648b1c22a4a3e
relocate_sdk.py: new interpreter string was not '\0' terminated

The problem: SDK binaries were not properly relocated when the SDK
was installed into a path that had a length less than the default one.
Apparently, there were two problems here: the padding was done wrong
(the size of one program header table entry was used instead of the
program section size) and the new padded string was not used at all.

[YOCTO #3655]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/relocate_sdk.py