Synchronize execution of logitech-updater instances

When logitech-updater process is running, new instances are ignored
This enhancement block new instances until first instance finish or
times out

BUG=chromium:1102693
TEST=Connect MeetUp and Rally devices with downgraded firmware to Chromebox.
Reboot the Chrome box. Ensure firmware is upgraded for both devices

Change-Id: I3f33d267c7446a14b319774f60a597af39a3e1f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/logitech-updater/+/2282712
Reviewed-by: Joe Tessler <jrt@chromium.org>
Tested-by: Joe Tessler <jrt@chromium.org>
Commit-Queue: Joe Tessler <jrt@chromium.org>
6 files changed
tree: f709644654c1a6ff821c95952b0513ec4fb4925c
  1. conf/
  2. seccomp/
  3. src/
  4. .gitignore
  5. common.mk
  6. LICENSE
  7. Makefile
  8. OWNERS
  9. README.md
README.md

logitech-updater is a utility to upgrade logitech camera firmwares.

Requirements

The GNU C/C++ library is required.

Building

At the top level of the directory.

$ make

Alternatively at Chromium OS development environment,

$ emerge-${BOARD} logitech-updater

How to use

logitech updater currently includes the follow executables: ptzpro2-updater
$ ptzpro2-updater -h