.overlay directory
Milton Miller II
miltonm at us.ibm.com
Thu Jan 7 05:34:27 AEDT 2021
On Jan 6, 2021, 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
Hi.
I'm not familiar with this directory. Since you are talking about
wolfpass I am guessing you are talking about intel modifications
but don't have a full reference.
>
>
>
> 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?
>
I do not know what the changes in this mods repository
are about nor any background. The original scripts
operate under /run.
(I wrote the original init and update scripts and have
been involved in reviewing changes. They are here
https://github.com/openbmc/openbmc/blob/master/meta-phosphor/recipes-phosphor/initrdscripts/files/
>From looking at the snippit graphics there was a function
targeted_clean that was trying to preserve some files and
remove the remainder.
A similar function is availabe via the whitelist in the
original init scripts.
While the wlist is hardcoded in
the existing repository it would be easy to implement
dynamic build control of the content if we move it to
the phosphor-misc repository
If the issue is about making only etc and var updatable,
I am willing to assist or write an update with someone to
test. The proposed filesystem stack would be similar to
the ubi and emmc options with a writable /var containing
the /etc overlay.
milton
> Thanks.
>
> Best Regards,
> Leo Cheng
>
More information about the openbmc
mailing list