I’m using the default mosquitto _1.4.14.bb file which is at :
/home/admin/Desktop/oe-core/layers/meta-openembedded/meta-oe/recipes-connectivity/mosquitto/mosquitto_1.4.14.bb
After build mosquitto_pub & mosquitto_sub are not getting generated under /bin
Attaching mosquitto_1.4.14.bb file for reference.link text
I want to publish at one of our server and i want to use mosquitto_pub as below:
mosquitto_pub -d -h xyz.dev.in -p 1883 -t iot-2/0x62 -m ‘{“value”: 222.00, “message_at”: “20200113152358”}’
Instead of making changes in bblayers.conf & local.conf, I have made changes in console-tdx-image.bb.
Attaching console-tdx-image.bb for your reference. link text
You should not change the existing recipe but create your custom layer with custom recipes for this.
The console-tdx-image is more used in Bsp 3.0. For Bsp 2.8, you should build lxde or console image.
Please try to introduce your changes in local.conf and check if this works.