[oe] How to avoid oe complaining for .so symlink

Andreas Müller schnitzeltony at gmx.de
Sun Nov 13 17:27:00 UTC 2011


Hi,

I am preparing a recipe for tumbler (xfce). The package itself installs a 
symlink which seems required on a .so. OE QA complains

| ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: 
tumbler path '/work/armv7a-angstrom-linux-gnueabi/tumbler-0.1.22-r0/packages-
split/tumbler/usr/lib/tumbler-1/plugins/cache/tumbler-cache-plugin.so'

I could workaround by removing symlink on do_install_append and adding it again 
at pkg_postinst but this seems crap. 

The better method seems telling QA not to check for so-symlinks.

In insane.bbclass I find

ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms"

so I could set in recipe

ERROR_QA = "debug-deps dev-deps debug-files arch la2 pkgconfig la perms"

but this makes recipe immune to ERROR_QA in insane.bbclass. Is there a way to 
remove 'dev-so' from ERROR_QA?

Andreas




More information about the Openembedded-devel mailing list