You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
acrn-config: add "enable_commit" parameter for config tool
Config tool will generate files for board/scenaro/launch, some files are
part of souce code for specify board. Git add/commit these files should
be one optional of user experience. Add "--enable_commit" parameter to
enable git add/commit.
usage:
--enable_commit: flag of whether to do git commit the config file changes
to current git branch. Do commit with this flag and not do without the flag.
Tracked-On: #3834
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
print('board_info_file : file name of the board info')
63
63
print('scenario_info_file : file name of the scenario info')
64
+
print('enable_commit: enable the flag that git add/commit the generate files to the code base. without --enable_commit will not commit this source code')
64
65
65
66
66
67
defget_param(args):
@@ -71,34 +72,37 @@ def get_param(args):
71
72
err_dic= {}
72
73
board_info_file=False
73
74
scenario_info_file=False
75
+
enable_commit=False
74
76
75
77
if'--board'notinargsor'--scenario'notinargs:
76
78
usage(args[0])
77
79
err_dic['common error: get wrong parameter'] ="wrong usage"
print('board_info_file : file name of the board info')
85
85
print('scenario_info_file : file name of the scenario info')
86
86
print('launch_info_file : file name of the launch info')
87
87
print('uosid : this is the relateive id for post launch vm in scenario info XML:[1..max post launch vm]')
88
+
print('enable_commit: enable the flag that git add/commit the generate files to the code base. without --enable_commit will not commit this source code')
0 commit comments