diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-04-16 17:43:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-16 22:29:54 +0100 |
commit | 19255032e7744fce5cbe466e4869ded378d3b4f5 (patch) | |
tree | 64a107407599c3e66b42155df97f60ee3acdde4d /meta/lib/test.py | |
parent | 25a997ca9b24d9265b62717fd01ebb26e7d21bba (diff) | |
download | openembedded-core-19255032e7744fce5cbe466e4869ded378d3b4f5.tar.gz openembedded-core-19255032e7744fce5cbe466e4869ded378d3b4f5.tar.bz2 openembedded-core-19255032e7744fce5cbe466e4869ded378d3b4f5.tar.xz openembedded-core-19255032e7744fce5cbe466e4869ded378d3b4f5.zip |
perl: fix re-execution of patch/configure
The perl recipe's do_configure() does some manual sed replacements over
the entire WORKDIR. Fix the following issues with this:
* Skip patches, which fixes re-execution of do_patch after do_configure
has run once
* Ensure that the replacement operation does nothing if do_configure is
re-executed
* Avoid unnecessarily modifying /usr/include paths within documentation
that will end up being packaged
* Fix a quoting issue in the expression used in the grep command that
ended up causing files that did not contain .*\.h after /usr/include
to be matched and modified.
The files modified during do_configure have been compared before and
after this patch to ensure there are no unexpected changes. Some
/usr/include paths that are not within documentation are no longer
being substituted however these are all within comments or scripts for
other Unix operating systems that are not applicable.
[YOCTO #2194]
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/test.py')
0 files changed, 0 insertions, 0 deletions