Patchwork bitbake.conf: Add udev rules into ${PN} files by default

login
register
mail settings
Submitter Khem Raj
Date Oct. 31, 2012, 6:45 a.m.
Message ID <1351665947-6141-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/38717/
State Accepted
Commit 6cbc0c7bf3f35e18f0abd29e5a704fba55f88ab2
Headers show

Comments

Khem Raj - Oct. 31, 2012, 6:45 a.m.
As we move to systemd, udev is not provided by systemd where the arch
independent files are stored in /lib and /usr/lib and not in
${base_libdir} and ${libdir} which means the files like udev rules
go into /lib/udev or /usr/lib/udev. This patch adds these paths
to be packaged into default ${PN} output package from a recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/bitbake.conf |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index e7fa731..bd9a5f1 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -274,6 +274,7 @@  FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS}
             ${sysconfdir} ${sharedstatedir} ${localstatedir} \
             ${base_bindir}/* ${base_sbindir}/* \
             ${base_libdir}/*${SOLIBS} \
+            ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d \
             ${datadir}/${BPN} ${libdir}/${BPN}/* \
             ${datadir}/pixmaps ${datadir}/applications \
             ${datadir}/idl ${datadir}/omf ${datadir}/sounds \