On Fri, Feb 15, 2008 at 6:19 PM, Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
> -----Original Message-----<br>
> From: ron minnich [mailto:<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>]<br>
</div><div class="Ih2E3d">> Sent: Friday, February 15, 2008 4:12 PM<br>
> To: Myles Watson<br>
> Cc: Coreboot; Stefan Reinauer<br>
> Subject: Re: [coreboot] v3 patch rm elfboot<br>
><br>
> On Feb 15, 2008 2:59 PM, Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>> wrote:<br>
><br>
> > So the use case is that you have a lar file, but don't have the ELF that<br>
> you<br>
> > started with originally, and you want to put it into a different lar<br>
> file?<br>
><br>
> yes. Because you have a board, and  a new (e.g.) boot block, which you<br>
> have been sent via email from a company that is supporting your<br>
> platform, and can not for whatever<br>
> reason recreate the payload. You may have even lost the source to it.<br>
> This happens.<br>
><br>
> > It might be easier to remove the other things in the lar instead, or do<br>
> a<br>
> > lar copy from one lar to a new lar, which wouldn't lose the entry<br>
> points.<br>
><br>
> Sure.<br>
><br>
<br>
</div>Given that, I'd be willing to implement "add from lar", so that you can move<br>
lar files from one archive into another.  It would be something like lar -aL<br>
larfile:larpath:newlarpath.  I think going back to ELF is problematic<br>
because it wouldn't be a true ELF anymore.  Would that be enough, Stefan?<br>
Anyone else?<br>
<font color="#888888"><br>
Myles</font></blockquote><div><br>That sounds like the best plan to me. I think we can fairly safely assume a couple things:<br>1) Whoever rolled the lar probably still has either the elf or the sources from it kicking around.<br>
2) Anyone extracting it is probably just looking to use it in another lar.<br><br>What we lose is the ability for someone to take a payload from a v3-based system to a previous version, but do/will we care?<br><br>-Corey<br>
</div></div>