Month: June 2023

Yocto rootfs overlay

Use the ROOTFS_POSTPROCESS_COMMAND to specify a list of functions to call once the OpenEmbedded build system has created the root filesystem. Create a rootfs/ directory in the image recipe directory. ROOTFS_POSTPROCESS_COMMAND += “rfs_overlay;” rfs_overlay() { rsync -a {THISDIR}/rootfs/*{WORKDIR}/rootfs }

Yocto MULTICONFIG recipe control

Running tasks using bitbake: Run task on specific multiconfig: bitbake mc:<config>:<recipe> -c cleanall bitbake mc:<config>:<recipe> -c configure `bitbake mc:: -e | grep ^BB_CURRENT_MC=“ Run task on multiconfig and default config (only one target can be used with the –environment option): bitbake mc:<config>:<recipe> <recipe> -c cleanall bitbake mc:<config>:<recipe> <recipe> -c configure Testing the current multiconfig within…

Read the full article