Add extra files to a package?
Cliff Brake
cliff.brake at gmail.com
Fri Dec 19 14:02:13 UTC 2008
On Fri, Dec 19, 2008 at 6:07 AM, "Víctor M. Palacio Tárrega"
<victorpalacio at adtelecom.es> wrote:
> Hi all,
>
> I'm creating a bb recipe fro my own software. After some tryouts, I managed
> to compile and create a package with the executable file. The problem now is
> that bitbake is not adding the other extra files to this package (see
> Result).
The reason for this is OE by default packages the following
directories in the base package (see conf/bitbake.conf):
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so*
${datadir}/${PN} ${libdir}/${PN}/* \
${datadir}/pixmaps ${datadir}/applications \
${datadir}/idl ${datadir}/omf ${datadir}/sounds \
${libdir}/bonobo/servers"
Note, that ${datadir}/${PN} (/usr/share/efis) is packages, but not
/usr/share/EFIS.
There are two solutions:
1) rename /usr/share/EFIS to /usr/share/efis
2) add the following to your recipe:
FILES_${PN} += " ${datadir}/EFIS"
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
More information about the Openembedded-users
mailing list