utils: update-mojo.sh: Commit the mojo update

Commit the mojo update with a standardized commit message. As mojo is
imported as-is without local modifications, this simplifies usage of the
update script.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2024-01-04 17:15:45 +02:00 committed by Kieran Bingham
parent a9adb798e1
commit 3a74a36316

View file

@ -72,9 +72,19 @@ EOF
echo "$readme" > utils/ipc/mojo/README echo "$readme" > utils/ipc/mojo/README
echo "$readme" > utils/ipc/tools/README echo "$readme" > utils/ipc/tools/README
cat <<EOF # Commit the update. Use 'git commit -n' to avoid checkstyle pre-commit hook
------------------------------------------------------------ # failures, as mojo doesn't comply with the Python coding style enforced by
mojo updated. Please review and up-port local changes before # checkstyle.py.
committing. git add utils/ipc/mojo/
------------------------------------------------------------ git add utils/ipc/tools/
EOF
echo "utils: ipc: Update mojo
Update mojo from commit
$(git -C "${chromium_dir}" show --pretty='%H "%s"' --no-patch)
from the Chromium repository.
The update-mojo.sh script was used for this update." | \
git commit -n -s -F -