[libcamera-devel] [PATCH 5/8] utils: update-mojo.sh: Commit the mojo update

Kieran Bingham kieran.bingham at ideasonboard.com
Tue Jan 9 13:11:04 CET 2024


Quoting Laurent Pinchart via libcamera-devel (2024-01-04 15:15:45)
> 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 at ideasonboard.com>

Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

> ---
>  utils/update-mojo.sh | 20 ++++++++++++++------
>  1 file changed, 14 insertions(+), 6 deletions(-)
> 
> diff --git a/utils/update-mojo.sh b/utils/update-mojo.sh
> index 25a280e04331..bb0f078e5b3f 100755
> --- a/utils/update-mojo.sh
> +++ b/utils/update-mojo.sh
> @@ -72,9 +72,17 @@ EOF
>  echo "$readme" > utils/ipc/mojo/README
>  echo "$readme" > utils/ipc/tools/README
>  
> -cat <<EOF
> -------------------------------------------------------------
> -mojo updated. Please review and up-port local changes before
> -committing.
> -------------------------------------------------------------
> -EOF
> +# Commit the update.
> +git add utils/ipc/mojo/
> +git add utils/ipc/tools/
> +
> +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 -
> -- 
> Regards,
> 
> Laurent Pinchart
>


More information about the libcamera-devel mailing list