From 112599c70de715c919b1853b794615a48361ff44 Mon Sep 17 00:00:00 2001 From: Yuanyuan Zhao Date: Tue, 7 Jun 2022 13:44:48 +0800 Subject: [PATCH] config_tools: clear schema files Clear schema files of config tools when 'make clean'. Tracked-On: #7508 Signed-off-by: Yuanyuan Zhao --- misc/packaging/gen_acrn_deb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/packaging/gen_acrn_deb.py b/misc/packaging/gen_acrn_deb.py index 34cba9e07..eb57e7e00 100644 --- a/misc/packaging/gen_acrn_deb.py +++ b/misc/packaging/gen_acrn_deb.py @@ -240,6 +240,8 @@ def clean_configurator_deb(version, build_dir): add_cmd_list(cmd_list, 'bash -c "find -name "build" -prune -exec rm -rf {} \;"', config_tools_path) add_cmd_list(cmd_list, 'bash -c "find -name "target" -prune -exec rm -rf {} \;"', config_tools_path) add_cmd_list(cmd_list, 'bash -c "rm -rf dist"', config_tools_path) + add_cmd_list(cmd_list, 'bash -c "rm -rf schema/sliced.xsd"', config_tools_path) + add_cmd_list(cmd_list, 'bash -c "rm -rf schema/allchecks.xsd"', config_tools_path) add_cmd_list(cmd_list, 'bash -c "python3 ./configurator/packages/configurator/thirdLib/manager.py clean"', config_tools_path) run_cmd_list(cmd_list) return