Add EXTRA_OECONF += "--enable-udev-acl" to 

consolekit_0.4.6.bb whill cause a package_qa error. 

The error message looks like:

 

| ERROR: QA Issue: non debug package contains .debug directory: 

| consolekit path consolekit/0.4.6-r0/packages-split/consolekit/lib/u

| dev/.debug/udev-acl

 

There is a need to add udev-acl file to package instead of "${base_libdir}"

 

Signed-off-by: leimaohui <leimao...@cn.fujitsu.com>

---

diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb 

b/meta/recipes-support/consolekit/consolekit_0.4.6.bb

index 63da028..4133f4d 100644

--- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb

+++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb

@@ -28,9 +28,10 @@ PACKAGECONFIG[policykit] = ",,polkit"

PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=

${systemd_unitdir}/system/,--with-systemdsystemunitdir="

 

FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \

-                ${libdir}/ConsoleKit  ${systemd_unitdir} ${base_libdir} \

-                ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"

-FILES_${PN}-dbg += "${base_libdir}/security/.debug"

+                ${libdir}/ConsoleKit  ${systemd_unitdir}
${base_libdir}/udev/rules.d \

+               ${base_libdir}/udev/udev-acl ${datadir}/dbus-1
${datadir}/PolicyKit \

+               ${datadir}/polkit*"

+FILES_${PN}-dbg += "${base_libdir}/security/.debug /lib/udev/.debug"

 

PACKAGES =+ "pam-plugin-ck-connector"

FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so"

--

1.7.1

 

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to