Skip to contentSkip to conversation

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

PATCH New Khem Raj 1 participant 1 message Oct 31, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 bitbake.conf: Add udev rules into ${PN} files by default

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

---
 meta/conf/bitbake.conf |    1 +
 1 file changed, 1 insertion(+)
meta/conf/bitbake.conf +1 -0
index e7fa731..bd9a5f1 100644
@@ -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 \
Signature · 1 line
1.7.9.5