diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-09-20 14:43:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-22 12:23:35 +0100 |
commit | bf6b0d95db3863a2cfbccb154c0c7ad5b3bbf0b0 (patch) | |
tree | 23619d6bfc300857cecd39db06b8e480a44848da /scripts/lib/bsp | |
parent | 954e34917d08d6d17232071d814d49ec8e9b6ed3 (diff) | |
download | poky-bf6b0d95db3863a2cfbccb154c0c7ad5b3bbf0b0.tar.gz |
glib-2.0: fix broken python script header on machines using buildtools
With buildtools (which contains Python) installed on a build machine,
glib-2.0's gtester-report script was ending up with the full path to
the installed python binary in the shebang, which when rpm packaging
was used led to this being added as a per-file dependency by rpmdeps for
the libglib-2.0-utils package in which it ends up. This of course broke
do_rootfs when the package was included in the rootfs and had been
restored from sstate from another machine, as happened on the Yocto
Project autobuilder.
We were already trying to sed this script apparently only for the
shebang (since it appears that there are no other paths in the script)
so let's just sed the shebang properly; it also seems sensible to do
this for native as well instead of explicitly trying to exclude that
case.
Fixes [YOCTO #5205].
(From OE-Core rev: 1d16e8035dda062041394b1e51839a9a7d077cf5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp')
0 files changed, 0 insertions, 0 deletions