[LinuxBIOS] [Fwd: Re: Patch file for Fedora 8 compile problems]

Peter Stuge peter at stuge.se
Mon Dec 17 22:00:47 CET 2007

On Mon, Dec 17, 2007 at 02:55:35PM -0500, Marc Karasek wrote:
> That would work, but this brings up a rather interesting point. 
> What are we todo about all the other Distros?
> At some point (if not already) they will also face a similar issue.

As Uwe hinted, this of course has nothing to do with a distribution
but rather a specific package.

Long term, we work with upstream for that package.

Short term, I like Ron's test at buildtarget time, and saving that in
a Make.buildparam.or.whatever in the freshly created build directory.

On Mon, Dec 17, 2007 at 03:16:40PM -0500, Marc Karasek wrote:
> So how about this
> (ld --help) | awk '{for (i=1;i<=NF;i++) if ($i ~ /build-id/){n++} }; END 
> {print n}'
> This will return a 1 if it finds the string build-id in the ld help.

Almost, it seems to output the number of times the string is found.

I suggest ld --help|grep -q build-id instead, which may even be
slightly easier to work with in a script.


More information about the coreboot mailing list