diff options
author | Scott Garman <scott.a.garman@intel.com> | 2012-01-04 22:30:35 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-05 11:18:18 +0000 |
commit | 3e9c368a8045044736fc7e348404060498c7491b (patch) | |
tree | 18bf245f594f7643b67f3e4a0e819527a5d28a19 /meta/recipes-devtools/python | |
parent | 4ec9c25b9390bbfc1ddb0d46296f9251e5fd1498 (diff) | |
download | openembedded-core-3e9c368a8045044736fc7e348404060498c7491b.tar.gz openembedded-core-3e9c368a8045044736fc7e348404060498c7491b.tar.bz2 openembedded-core-3e9c368a8045044736fc7e348404060498c7491b.zip |
insane.bbclass: add QA tests for unsafe references to exec_prefix
Files under exec_prefix (commonly /usr) may not be available during
system recovery. exec_prefix may also be kept on a separate partition
that is mounted late in the boot process.
This QA test throws an warning if a binary in base_[bindir|sbindir|libdir]
is dynamically linked to a file under exec_prefix. The intention is to
turn this into an error in the near future.
It also checks executable non-binaries (e.g, shell scripts) in the above
base directories with a simple grep test to look for references to
exec_prefix. This test only produces a warning, since false positives
are likely.
This fixes [YOCTO #1008]
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions