.overlay directory

Bills, Jason M jason.m.bills at linux.intel.com
Thu Jan 7 09:03:14 AEDT 2021



On 1/5/2021 8:01 PM, Leo Cheng wrote:
> Hi Teams,
> 
> I’m engineer of developing openbmc.
> 
> I have the issue of restore-defaults: targeted_clean and I find the 
> targeted_clean function in the init script which is from 
> meta-openbmc-mods\meta-common\recipes-phosphor\preinit-mounts\preinit-mounts
> 
> I can’t find /tmp/.rwfs/.overlay in BMC.
> 
> Check Intel openbmc, /tmp/.rwfs/.overlay exists in BMC.
> 
> How to add it? Do you have any idea?
Hi Leo,

In Intel-BMC, we have a service named nv-sync that is responsible for 
copying the overlay contents from the tmpfs into the non-volatile copy. 
I think that may be what you are looking for.

https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-core/nv-sync

Thanks,
-Jason
> 
> Thanks.
> 
> Best Regards,
> 
> Leo Cheng
> 


More information about the openbmc mailing list