Create a bbappend file using recipetool in Yocto

In our previous post, we have seen how to create a base recipe using recipetool . recipetool also allows us to create/update a bbappend file to add or replace a source file.

Now in our previous post related to dropbear, we wanted to add arguments to the init script to avoid root login over SSH, we did the following steps
  • manually create a 'recipes-core/dropbear' folder in your layer
  • Copied the original init file and modified it according to our requirement and copied it in 'files' folder
  • Create a .bbappend file to use the new 'init'
With recipetool you can avoid this manual process.



You can see in the below screenshot, how easy it is to create a bbappend file using 'recipetool appendsrcfile' command


Comments

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PR, PN and PV Variable in Yocto