From 2f15bd1e3f21576d1734849062dd084e226b016a Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Tue, 31 May 2022 02:01:47 +0200 Subject: [PATCH] Packaging: update Debian packaging script to reflect all valid targets Update the Debian packaging script to list all the valid options for the first argument, specifically 'acrn_all', 'board_inspector', 'configurator' and 'clean'. Tracked-On: #7646 Signed-off-by: Geoffroy Van Cutsem --- misc/packaging/gen_acrn_deb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/packaging/gen_acrn_deb.py b/misc/packaging/gen_acrn_deb.py index ed3d968fe..206e03a12 100644 --- a/misc/packaging/gen_acrn_deb.py +++ b/misc/packaging/gen_acrn_deb.py @@ -246,7 +246,7 @@ def clean_configurator_deb(version, build_dir): if __name__ == "__main__": parser = argparse.ArgumentParser() - parser.add_argument("deb_mode", help="choose deb mode, e.g. acrn_all or board_inspector") + parser.add_argument("deb_mode", help="choose deb mode, e.g. acrn_all, board_inspector, configurator or clean") parser.add_argument("build_dir", help="the absolute address of the acrn-hypervisor build directory") parser.add_argument("--version", default="1.0", help="the acrn-hypervisor version") parser.add_argument("--board_name", default="board", help="the name of the board that runs the ACRN hypervisor") @@ -265,4 +265,4 @@ if __name__ == "__main__": elif args.deb_mode == 'clean': clean_configurator_deb(args.version, args.build_dir) else: - print("ERROR: Please check the value of deb_mode: the value shall be acrn_all, board_inspector or configurator.") + print("ERROR: Please check the value of the first argument: the value shall be acrn_all, board_inspector, configurator or clean.")