Search code examples
databaseyoctorecipe

I can not install db berkeley in my yocto project


I'm fairly new to Yocto and I can't install the db berkeley, in my custom image that I created with Yocto project. I tried to install it with IMAGE_INSTALL_append="db" in my custom-image.bb (as I already did when I installed other recipes, like "rpm" or "iptables") but in this case, with the db berkeley did not work. I tried also to insert the "db" in the conf/local.conf file, but there's nothing to do. I don't understand what am I doing wrong?


Solution

  • In general, you should use oe-pkgdata-util to find out what you need if you aren't sure. In this case,

    $ oe-pkgdata-util find-path *db_load
      db-bin: /usr/bin/db_load
    

    So you just needed to use

    IMAGE_INSTALL_append = " db-bin"