New issue
Advanced search Search tips

Issue 913117 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

flashrom should take a per device lock

Project Member Reported by rrangel@google.com, Dec 7

Issue description

flashrom currently takes a global lock when running. This prevents multiple flashrom instances from running at the same time.

flashrom -r -p raiden_debug_spi:serial=CMO653-00166-040489J03560 -V /tmp/fwupdater.4VD04f                              
Acquiring lock (timeout=180 sec)...                                                                                                           
Opened file lock "/run/lock/firmware_utility_lock"                                                                                            
Lock acquired.

Instead we should append the devices serial number to the lock file so that we can have one flashrom instance per programmer running.
 
Owner: cjmcdonald@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment