Hi Otavio,
Could you elaborate on how this is best done with the Busybox Yocto build.
I am trying to enable 'init' within BusyBox which isn't enabled by the default configuration.
I have tried the following:
1. Run menuconfig and enable 'init' configuration option.
bitbake -c menuconfig busybox
2. Create a patch file for the of the changes to the '.config' file
diff -Naur .config.old .config > busybox-enable-init-config.patch
3. Add the patch file to my custom board layer in the busybox.bbappend file and copy the patch file into the appropriate location.
SRC_URI_append = " file://busybox-enable-init-config.patch"
This then fails to build:
ERROR: Command Error: exit status: 1 Output:
Applying patch busybox-enable-init-config.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- busybox-1.23.1/.config.old 2015-11-26 14:59:46.616876464 +1000
|+++ busybox-1.23.1/.config 2015-11-26 15:41:16.032997933 +1000
--------------------------
No file to patch. Skipping patch.
This fails because the .config file doesn't exist at this stage of the build.
How should I apply my required changes to the Busybox configuration? Which file needs to be changed?
Regards
Marcus