On Wed, Oct 25, 2023 at 6:37 PM William A. Kennington III via
lists.openembedded.org <wak=google....@lists.openembedded.org> wrote:
>
> The hooks are pulled from the impure environment and are often broken in
> our environments. There is no reason to add extra metadata or verify the
> commit message as its arbitrary to turn the tarball into a git repo.

But what about the other uses of git ? If the hooks are broken during
the creation step, other uses of git should also be broken.

We've had the ability to check the git config for quite some time, we
could take it further an inhibit the use of the host config if we are
worried about breakage like this.

Bruce

>
> Signed-off-by: William A. Kennington III <w...@google.com>
> ---
>  meta/classes-recipe/kernel-yocto.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
> b/meta/classes-recipe/kernel-yocto.bbclass
> index 4ac977b122..cb9cd26b09 100644
> --- a/meta/classes-recipe/kernel-yocto.bbclass
> +++ b/meta/classes-recipe/kernel-yocto.bbclass
> @@ -408,7 +408,7 @@ do_kernel_checkout() {
>                 git init
>                 check_git_config
>                 git add .
> -               git commit -q -m "baseline commit: creating repo for 
> ${PN}-${PV}"
> +               git commit -q -n -m "baseline commit: creating repo for 
> ${PN}-${PV}"
>                 git clean -d -f
>         fi
>
> --
> 2.42.0.820.g83a721a137-goog
>
>
> 
>


--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189695): 
https://lists.openembedded.org/g/openembedded-core/message/189695
Mute This Topic: https://lists.openembedded.org/mt/102189231/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to