diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2017-09-07 14:34:27 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-09-11 19:14:53 +0000 |
commit | 0206be87facad3bdc6344e6cd1e92d8908aa212b (patch) | |
tree | bd58b08c6911e1f05c2865434a61eea352a119f3 /pychassisctl | |
parent | 2c92f88193eb3cfe46834c33cf400d0d08ed9f42 (diff) | |
download | talos-skeleton-0206be87facad3bdc6344e6cd1e92d8908aa212b.tar.gz talos-skeleton-0206be87facad3bdc6344e6cd1e92d8908aa212b.zip |
flashbios: Do not expect the full path to the executable
The service file that starts the bios flasher was changed from specifying
the path /usr/sbin/<flasher> to just <flasher> to allow the service file
to find the binary on any directory specified by PATH and enable patching
on a read-only filesystem.
Remove the parsing of the path from the code, and change execl to execlp
which gets the path from the PATH env variable.
Resolves openbmc/openbmc#2271
Change-Id: I2b74e287e1e5db8feb96bfe51a0a73d999ba43c2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'pychassisctl')
0 files changed, 0 insertions, 0 deletions