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