[flashrom] [PATCH] Add a udev rules file for flashrom
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Sat Jul 24 17:36:28 CEST 2010
On 11.06.2010 13:08, Uwe Hermann wrote:
> On Fri, Jun 11, 2010 at 02:55:51AM +0200, Carl-Daniel Hailfinger wrote:
>
>> The following Bus Pirate link may be better:
>> http://dangerousprototypes.com/2009/10/08/bus-pirate-raw-spi-mode/
>>
>
> Updated.
>
>
>
>> Could you add a comment to the file which states the exact udev version
>> and Debian release? udev and associated rulesets change so fast that it
>> is unlikely the script will work as is on other machines.
>>
>
> Done, udev 154, but I think any recent version will work.
>
Turns out the plugdev group mentioned in the rules is nonstandard and
probably won't work anywhere except Debian.
>> Besides that, we should think about where to store this file. flashrom
>> source tree, wiki or somewhere else...
>>
>
> Definately source tree, yes.
>
> Updated patch attached.
>
Thanks. Could you add a comment to the udev file that it only works on
Debian and/or rename it to z60_flashrom_debian.rules?
Should we commit this to the main flashrom directory or to a new
directory tools/ or maybe scripts/ or helpers/?
I think tools/ is preferable, but I won't object to other solutions.
What do others think? We're starting a directory hierarchy here and
moving stuff around a few times is bad, so I'd like to get the location
finalized in a way that allows sensible future extension.
Side note: If we pick tools/, we can also place the MAC adjustment
scripts and some image extraction scripts there.
Once we have a decision on the final location of this script, this is
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
More information about the flashrom
mailing list