Add extra files to a package?

"Víctor M. Palacio Tárrega" victorpalacio at adtelecom.es
Fri Dec 19 11:07:48 UTC 2008


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).

Why is packaging the executable, but not the other files. What is the 
easy way to add files to a ipk package?.


Result:*
*=============================================================
...
NOTE: package efis-1.0-r0: task do_package: started
*NOTE: the following files were installed but not shipped in any package:*
NOTE:   /usr/share/EFIS/o235.eng
NOTE:   /usr/share/EFIS/*.jpeg
...
=============================================================


Recipe:
=========================================
DESCRIPTION = "EFIS demo aplication."
SECTION = "x11/demo"
PRIORITY = "optional"
AUTHOR = "Victor Palacio <victorpalacio<4t>adtelecom.es>"
LICENSE = "GPL"
HOMEPAGE = "http://localhost"

PN = "efis"
PV = "1.0"

RDEPENDS = "gtkmm confuse"

SRC_URI = "file:///home/vpalacio/workspace/${PN}-${PV}.tar.gz"

S = "${WORKDIR}/efis-${PV}"

do_compile() {
  oe_runmake
}

do_stage() {
  :
}

*do_install() {
        install -m 0755 bin/main ${D}${bindir}/efis
        install -d ${D}${datadir}/EFIS
        install -m 0644 resources/o235.eng ${D}${datadir}/EFIS/o235.eng
        install -m 0644 resources/*.jpeg ${D}${datadir}/EFIS/*.jpeg
}*

Regards,

Victor Palacio




More information about the Openembedded-users mailing list