summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-01-04 22:30:35 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 11:24:46 +0000
commit29feb44e05cd2dbdc0724753102574bf4ce12c3f (patch)
tree70488fe51113886f134682984a560b064ee5017b /meta/recipes-devtools/python
parentd34292c0c2a229a597b8a7e24d9d04c1d87396e2 (diff)
downloadpoky-29feb44e05cd2dbdc0724753102574bf4ce12c3f.tar.gz
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] (From OE-Core rev: 3e9c368a8045044736fc7e348404060498c7491b) 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