board_inspector.py fails to run on target with clean Ubuntu installation

Python package is not in debian package, so put its installation
process in the acrn-board-inspector.postinst script

Tracked-On: projectacrn#7498
Signed-off-by: Ziheng Li <ziheng.li@intel.com>
This commit is contained in:
Ziheng Li 2022-05-18 10:09:22 +08:00 committed by acrnsi-robot
parent a8a9b2f40a
commit 54ff64acc1

View File

@ -2,6 +2,8 @@
#* Copyright (c) 2020 Intel Corporation SPDX-License-Identifier: BSD-3-Clause
# postinst script for acrn-board-inspector
pip3 install xmlschema
set -e
filename='/etc/default/grub'