diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-12-06 09:59:45 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-10 03:26:46 +0000 |
commit | 4a106ceaadb71cf33173b226652c4ffdac921d2d (patch) | |
tree | 1ba18003b18b62177fcad323029eb50d24342067 /Makefile | |
parent | 7d205000b0ad85c35b724dd5ba71bc648627d826 (diff) | |
download | vboot-4a106ceaadb71cf33173b226652c4ffdac921d2d.tar.gz |
crossystem: change mosys calls to use the subprocess library
The new subprocess_run library function provides a unit-tested way to
call subprocesses and collect output.
BUG=chromium:1030473
BRANCH=none
TEST=On drallion and druwl, crossystem works for both reading and writing
Change-Id: I072d91cf68ee91c663652d2c0433ef8bbedad7d7
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1955806
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -514,6 +514,7 @@ HOSTLIB_SRCS = \ host/lib/extract_vmlinuz.c \ host/lib/fmap.c \ host/lib/host_misc.c \ + host/lib/subprocess.c \ ${TLCL_SRCS} HOSTLIB_OBJS = ${HOSTLIB_SRCS:%.c=${BUILD}/%.o} |