[flashrom] [PATCH 1/1] Define dmidecode path at a build stage

Peter Lemenkov lemenkov at gmail.com
Tue Sep 14 09:49:03 CEST 2010


2010/9/14 Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>:

> One way to do this would be to keep the "dmidecode" string as is if
> we're doing cross compilation.
> Another way would be an additional internal programmer parameter like this:
> flashrom -p internal:dmidecode_path=/usr/sbin/dmidecode
> Yet another solution would be to finally integrate the internal dmi
> decoder patch into flashrom and kill the dmidecode dependency that way.
> What do you think of my suggestions above?

I'm pretty sure that adding a small out-of-tree patch which just
substitutes "dmidecode" string in dmi.c with full path to dmidecode
would be a much simpler solution than trying to overcome all these
difficulties, so please disregard this particular patch.
With best regards, Peter Lemenkov.

More information about the flashrom mailing list