Skip to content

Commit

Permalink
Fix minor issues in update_kernel_commits.mk
Browse files Browse the repository at this point in the history
- add '-s' option to command to sign the commit
- fix comments

Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
  • Loading branch information
rucoder authored and eriknordmark committed Jun 5, 2024
1 parent 8c6d34d commit 63f38d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/update_kernel_commits.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
SPDX-License-Identifier: Apache-2.0
This script does two things:
1. Generates the kernel-commits.mk-new file with commit information from GitHub branches.
1. Generates the kernel-commits.mk file with commit information from GitHub branches.
2. Generates a commit message with commit subjects and corresponding commit hashes between
old and new commits for each branch.
Expand Down Expand Up @@ -409,7 +409,7 @@ def print_user_tips():
print("Please review the commit message and make any necessary changes.")
print("Once you are satisfied with the commit message, run the following command:")
print(" git add kernel-commits.mk")
print(" git commit --file kernel-update-commit-message.txt")
print(" git commit -s --file kernel-update-commit-message.txt")


# Define the path to the configuration file
Expand Down Expand Up @@ -594,7 +594,7 @@ def main():

commit_message = generate_commit_message(updated_branches, "lf-edge", "eve-kernel")

# dump updated commits to kernel-commits.mk-new
# dump updated commits to kernel-commits.mk
with open(kernel_commits_mk_file, "w", encoding="utf-8") as new_file:
for branch, commit in new_commits.items():
new_file.write(branch_commit_to_variable(branch, commit))
Expand Down

0 comments on commit 63f38d5

Please sign in to comment.