chirpstack / chirpstack-gateway-os

OpenWrt based gateway images including ChirpStack components.
https://www.chirpstack.io
132 stars 57 forks source link

gateway-os-base image missing /opt directory #38

Closed mrbubble62 closed 4 years ago

mrbubble62 commented 4 years ago

It looks like there should be gateway-utils installed to /opt/libloragw-sx1301/gateway-utils/ However /opt directory is not in the gateway-os-base image

brocaar commented 4 years ago

Only if the -utils package is part of the ChirpStack Gateway OS images, which is not the case. You can include this package in the chirpstack-gateway-os-base and / or -full image if you want to use these tools, but you need build your own image.

(https://github.com/brocaar/chirpstack-gateway-os/blob/master/layers/chirpstack/meta-semtech/recipes-lora/libloragw-sx1301/libloragw-sx1301_5.0.1.bb#L50)

mrbubble62 commented 4 years ago

Sorry I am new to bitbake, should I add this to chirpstack-gateway-os/meta/recipes-core/images/chirpstack-gateway-os-base.bb?

IMAGE_INSTALL += " \ gateway-utils \ packagegroup-base \ ...