mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-09 20:18:19 +00:00
acrn-config: modify the git commit message for gen_patch
Minor changes on git commit message of config patch: For board config patch, specify with "config patch for board xxx"; For scenario config patch, specify with "config patch for scenario yyy". Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
2c4ebdc695
commit
dc2d6b6656
@ -123,7 +123,7 @@ def main(args):
|
||||
gen_str = 'generated'
|
||||
# move changes to patch, and apply to the source code
|
||||
if enable_commit:
|
||||
err_dic = board_cfg_lib.gen_patch(config_srcs, board)
|
||||
err_dic = board_cfg_lib.gen_patch(config_srcs, "board " + board)
|
||||
config_str = 'Config patch'
|
||||
gen_str = 'committed'
|
||||
|
||||
|
@ -550,7 +550,7 @@ def add_to_patch(srcs_list, commit_name):
|
||||
return err_dic
|
||||
|
||||
# commit this changes
|
||||
git_commit = 'git commit -sm "acrn-config: config board patch for {}"'.format(commit_name)
|
||||
git_commit = 'git commit -sm "acrn-config: config patch for {}"'.format(commit_name)
|
||||
|
||||
try:
|
||||
ret = subprocess.call(git_commit, shell=True, stdout=subprocess.PIPE,
|
||||
|
@ -136,7 +136,7 @@ def main(args):
|
||||
gen_str = 'generated'
|
||||
# move changes to patch, and apply to the source code
|
||||
if enable_commit:
|
||||
err_dic = scenario_cfg_lib.gen_patch(config_srcs, scenario)
|
||||
err_dic = scenario_cfg_lib.gen_patch(config_srcs, "scenario " + scenario)
|
||||
config_str = 'Config patch'
|
||||
gen_str = 'committed'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user