38.15.4.1. out_rootfs_overlay_dir
This path can be found with:
./getvar out_rootfs_overlay_dir
This output directory contains all the files that LKMC will put inside the final image, including for example:
-
Userland content that needs to be compiled
-
rootfs_overlay content that gets put inside the image as is
LKMC first collects all the files that it will dump into the guest there, and then in the very last step dumps everything into the final image.
In Buildroot, this is done by pointing BR2_ROOTFS_OVERLAY
to that directory, which is documented at: https://buildroot.org/downloads/manual/manual.html#rootfs-custom
This does not include native image modification mechanisms such as Buildroot packages, which we let Buildroot itself manage.