<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style><!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@PMingLiU";
panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div>On Wed, 2021-01-06 at 05:33 +0000, Leo Cheng wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div class="WordSection1">
<p class="MsoNormal">Hi Teams,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m engineer of developing openbmc.<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal"><img width="583" height="163" id="Picture_x0020_4" src="cid:image001.png@01D6E430.90D32C50" alt="cid:image002.png@01D6E41F.6F46D340"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="1256" height="434" id="Picture_x0020_3" src="cid:image002.png@01D6E430.90D32C50" alt="cid:image001.png@01D6E41E.33B8A8E0"><o:p></o:p></p>
<p class="MsoNormal">I can’t find /tmp/.rwfs/.overlay in BMC.<o:p></o:p></p>
<p class="MsoNormal"><img width="547" height="96" id="Picture_x0020_2" src="cid:image003.jpg@01D6E430.90D32C50" alt="cid:image004.jpg@01D6E423.A3447810"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Check Intel openbmc, /tmp/.rwfs/.overlay exists in BMC.<o:p></o:p></p>
<p class="MsoNormal"><img width="1090" height="451" id="Picture_x0020_1" src="cid:image004.jpg@01D6E430.90D32C50" alt="cid:image008.jpg@01D6E423.A3447810"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How to add it? Do you have any idea?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best Regards,<o:p></o:p></p>
<p class="MsoNormal">Leo Cheng<o:p></o:p></p>
</div>
</blockquote>
<div><br>
</div>
<div><font size="3">I don't have experience with wolfpass, but I suspect you're testing an older implementation which doesn't use the overlay, so it's probably expected to not see .overlay there.</font></div>
<div><font size="3"><br>
</font></div>
<div><font size="3">The Restore Defaults functionality is broken in the current Intel-BMC code (tries to delete files while filesystem is RO), but it will be fixed with the next Intel-BMC update.</font></div>
<div><span></span></div>
</body>
</html>