]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: skip already-stripped QA test if asked for
authorKhem Raj <raj.khem@gmail.com>
Fri, 6 Sep 2013 21:15:18 +0000 (14:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 22:55:55 +0000 (23:55 +0100)
commit765982f4c050d9cd3eb608d630312da482c737c7
tree2b8afd37439ddd40079cdf53a3cf271853e43b2a
parenta24027321b99dffd79b1f0c009ce89f0be7cc384
package.bbclass: skip already-stripped QA test if asked for

Some packages like grub have already stripped binaries e.g.

ERROR: QA Issue: File '/boot/grub/kernel.img' from grub was already
stripped, this will prevent future debugging!
ERROR: QA run found fatal errors. Please consider fixing them.

We would like to have a possibility to skip it using something like

INSANE_SKIP_${PN} = "already-stripped"

This adds the logic to do so

it acts at PN level and not at package level. so something like

INSANE_SKIP_${PN}-misc = "already-stripped" wont work.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass