Fix pkg_initdb tool to check backend execution result 01/252301/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 26 Jan 2021 09:32:29 +0000 (18:32 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 26 Jan 2021 09:32:29 +0000 (18:32 +0900)
commitb09b3e5cae5e8f25a29e256b6265f0e50b6280b1
tree2f2778ac19714053c7c25544b114fe5d501a1b13
parente042007aeb0f128e12b319a3aa981909a9798c44
Fix pkg_initdb tool to check backend execution result

Now pkg_initdb tool will check execution result of installer backends
and create /tmp/.preload_install_error.
It may cause failure of entire mic build.

Change-Id: I6bf99350853e5585df96f567b77e0e9a1f7c42a0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/utils/subprocess.cc
src/common/utils/subprocess.h
src/pkg_initdb/init_pkg_db.cc
src/pkg_initdb/init_pkg_db.h
src/pkg_initdb/pkg_initdb.cc