AnsweredAssumed Answered

Rebuild busybox failed

Question asked by yafei zhang on May 21, 2020
Latest reply on May 21, 2020 by Wigros Sun

I want to enable some services like telnetd inetd crond.. I follow the blow steps, it do nothing.

1. $ bitbake -c menuconfig busybox

2. Unselect udhcpc and udhcpd.

    Save & exit

3. $bitbake -c diffconfig busybox

4. Create busybox_%.bbapend under directory:


    Add below two lines in the file created above:

    FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
    SRC_URI += "file://fragment.cfg

5. Copy the file (fragment.cfg) created in step 3 to sources/poky/meta/recipes-core/busybox/

    Copy below to line to the file fragment.cfg


6. $bitbake <image>


And the build_8m_mini/tmp/work/aarch64-poky-linux/busybox/1.27.2-r0/busybox-1.27.2/.config  not modified  

it seems that every time I  $bitbake <image> , it unzip from downloads/busybox-1.27.2.tar.bz2.。

it appears .config.old  .config.orig , when and why?   it dose not contained by busybox-1.27.2.tar.bz2.

the two files cover the .config which generated by $ bitbake -c menuconfig busybox  when I $bitbake <image>. 


what should I do ,how to enable telnetd\inetd\crond 


.config.old .config.orig