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

Koen Kooi koen at dominion.thruhere.net
Mon Nov 14 08:52:12 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 13-11-11 18:27, Andreas Müller schreef:
> 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?

INSANE_SKIP_${PN} = "dev-so"

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7A1rkACgkQMkyGM64RGpHI7gCgnH3LnoFE1VOrLvOm2gvWdR7s
BQMAoKxo/N4PfCfaHlSFWEA3nbXreXIV
=eMjv
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list