[yocto] [meta-selinux 1/2] audit: create audit-go package

Philip Tricca flihp at twobit.us
Sat Feb 27 19:50:27 PST 2016


Hello,

This looks straight forward enough. I'm not seeing any QA warnings
though so it looks like the go bindings are only built when the go
compiler is available. Can you point me at the layer you're using to get
the go stuff? There seems to be more than one: meta-golang, oe-meta-go?

Thanks,
Philip

On 02/04/2016 06:14 AM, Ioan-Adrian Ratiu wrote:
> This version of audit installs go bindings which are not shipped and
> trigger QA warnings. Put them in their own package just like python.
> 
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
> ---
>  recipes-security/audit/audit_2.4.4.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-security/audit/audit_2.4.4.bb b/recipes-security/audit/audit_2.4.4.bb
> index 55a5b12..f512cbc 100644
> --- a/recipes-security/audit/audit_2.4.4.bb
> +++ b/recipes-security/audit/audit_2.4.4.bb
> @@ -55,7 +55,7 @@ like relay events to remote machines or analyze events for suspicious \
>  behavior."
>  
>  PACKAGES =+ "audispd-plugins"
> -PACKAGES += "auditd ${PN}-python"
> +PACKAGES += "auditd ${PN}-python ${PN}-go"
>  
>  FILES_${PN} = "${sysconfdir}/libaudit.conf ${base_libdir}/libaudit.so.1* ${base_libdir}/libauparse.so.*"
>  FILES_auditd += "${bindir}/* ${base_sbindir}/* ${sysconfdir}/*"
> @@ -65,6 +65,7 @@ FILES_audispd-plugins += "${sysconfdir}/audisp/audisp-remote.conf \
>  	"
>  FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/*/.debug"
>  FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}"
> +FILES_${PN}-go = "${libdir}/golang"
>  FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la ${base_libdir}/pkgconfig/*"
>  
>  CONFFILES_auditd += "${sysconfdir}/audit/audit.rules"
> 




More information about the yocto mailing list