Post build mosquitto_pub/sub are not getting generated

Hi team,

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

Any suggestion to solve this problem?

Thanks in advance!

HI @Payal

Thanks for writing to the Toradex Community!

What is your application and what are you trying to do?
Which branch did you use to compile your custom image?

Could you share your changes in bblayers.conf and local.conf?

Best regards,
Jaski

Hi Jaski,

  1. 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”}’

  2. Which branch did you use to compile your custom image?
    Followed this link:
    High performance, low power Embedded Computing Systems | Toradex Developer Center

    And repo init was done as mentioned in the link: repo init -u http://git.toradex.com/toradex-bsp-
    platform.git -b LinuxImageV2.8

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

Regards,

Payal

Hi @Payal

I have made changes in console-tdx-image.bb.

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.

Thanks and best regards,
Jaski