[LinuxBIOS] Stale payloads

Uwe Hermann uwe at hermann-uwe.de
Mon Nov 5 21:12:49 CET 2007

On Fri, Nov 02, 2007 at 12:18:33PM -0600, Myles Watson wrote:
> I've been spinning my wheels because of a stale payload.
> In the fallback directory, the payload file depends on the
> ../{../}*/payload.elf file.  If you change that to ../../payload.lzma.elf to
> retry, it won't get the new file if payload is newer than payload.lzma.elf.
> It seems like there are several possible fixes, but the one I like is
> changing buildtarget to remove the payload* files from normal, fallback,
> etc.  The problem is that it doesn't look like buildtarget knows about those
> directories.
> Is there a better way?

If I understand you right, you want to change something in the code and
then rebuild an image? If so, I recommend to _always_ 'rm -rf BUILDDIR'
and re-do the "./buildtarget foo/bar" etc.

That's the safest thing to do, you can then be sure that no old stuff
is still left around and being incorrectly re-used. Yes, it's not really
elegant or fast, but it's the one thing that works for sure.

HTH, Uwe.
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071105/74d0bfdc/attachment.sig>

More information about the coreboot mailing list