Modifying the BusyBox config in OpenEmbedded
Recently, I needed to enable the eject command in BusyBox for an OpenEmbedded (Yocto) based project. Below is a way to do this in a fairly painless way:
- bitbake -c menuconfig busybox (enable the eject command in the config and save)
- bitbake -c diffconfig busybox (this generates a config fragment, note the fragment file location)
- recipetool appendsrcfile -w [path to layer] busybox [path to fragment generated in step #2]