Please share your complete recipe and all of the error message, otherwise
it’s impossible to tell what is happening.

Alex

On Thu 21. Mar 2024 at 8.29, Ashu Joshi <[email protected]> wrote:

> Hello,
> I am trying to install wirpas_gateway package from pypi using yocto
> recipe.. Once service is build completely and  I flash image to target, i
> don't see any of the installed packages. Does anyone has nay reference how
> to install these packages in target as well. I dont see any generated
> binary which i can ship tp target. However, source code of the package can
> be seen in work directory. Currently I am trying to do something like below:
>
> do_install() {
>       install -m 0755 -d ${D}${sysconfdir}/systemd/system
>       install -m 0755 ${WORKDIR}/wirepasTransport.service
> ${D}${sysconfdir}/systemd/system
>
>       install -m 0755 -d ${D}/usr/share
>       install -m 0644 ${WORKDIR}/settings.yml ${D}/usr/share
>
>       install -m 0755 -d ${D}/usr/share/wirepas_gateway
>       install -m 0644 ${WORKDIR}/wirepas_gateway-1.4.3
> ${D}/usr/share/wirepas_gateway
> }
>
> FILES_${PN} += "usr/share/wirepas_gateway"
> FILES_${PN} += "/usr/share/wirepas_gateway/wirepas_gateway-1.4.3"
> FILES_${PN} += "${sysconfdir}/systemd/system/wirepasTransport.service"
> FILES_${PN} += "/usr/share/settings.yml"
>
> wirepas_gateway-1.4.3 is directory which contains setup and other files.
> Getting error while trying to ship this to target.
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62810): https://lists.yoctoproject.org/g/yocto/message/62810
Mute This Topic: https://lists.yoctoproject.org/mt/105061124/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to