<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 3, 2018 at 4:16 AM, Andre McCurdy <span dir="ltr"><<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Aug 2, 2018 at 9:54 AM, Ocampo Coronado, Omar<br>
<<a href="mailto:omar.ocampo.coronado@intel.com">omar.ocampo.coronado@intel.<wbr>com</a>> wrote:<br>
> Neither 'nm' or 'readelf' provide a symbol that we can use to strip.<br>
> I'm having a hard time reading kernel-source/scripts/sign-<wbr>file.c and how exactly how the sign works and what bytes are being added, so we can avoid stripping them.<br>
><br>
> Looking into dracut, they simple avoid strip signed modules:<br>
> From dracut.sh:1671 # strip kernel modules, but do not touch signed modules<br>
><br>
> Perhaps we can do the same as dracut within meta/lib/oe/package.py.<br>
<br>
</span>Some more information here:<br>
<br>
<a href="https://www.kernel.org/doc/html/v4.17/admin-guide/module-signing.html#signed-modules-and-stripping" rel="noreferrer" target="_blank">https://www.kernel.org/doc/<wbr>html/v4.17/admin-guide/module-<wbr>signing.html#signed-modules-<wbr>and-stripping</a><br>
<br></blockquote><div><br></div><div>Reading the above "between the lines", could the module be stripped /then/ signed? <br></div></div><br></div></div>