[LinuxBIOS] PATCH][LAR] Allow user to specify pathnames for create and add

Jordan Crouse jordan.crouse at amd.com
Thu Jul 12 01:50:10 CEST 2007

On 12/07/07 01:36 +0200, Peter Stuge wrote:
> On Wed, Jul 11, 2007 at 12:22:27PM -0600, Jordan Crouse wrote:
> > This patch allows you to specify an arbitrary filename as well as a 
> > pathname for files in create & add mode in the following manner:
> Another great idea!
> > ./lar -a my.lar ../sources/vsa.bin:vsa
> I don't like having all this information (algo too) in-band with the
> filename.. I don't know a nice way to do it for when adding many
> files at once though. :\ I was thinking about a "lar script" that
> would say what goes where with what algo but it would be nice to not
> have to go there.

I was definately thinking about going that direction.  In fact, I talked
to Stefan about it at OLS.  It wouldn't really have to be a script - 
Stefan has been thinking about creating a MANIFEST file when we extract
the LAR that lists the blobs and where they are located - we could use
the exact same format on the input side too:

# Filename	    pathname		algorithm
/root/my.payload    normal/payload	lzma
bootblock	    bootblock		-

(As an example).  This might actually be better for buildROM - then each
target that builds a blob for the LAR would just echo the line into this
file - thats probably cleaner then something ugly like


Which is what I'm doing now.


Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.

More information about the coreboot mailing list