]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
kernel: Commit without running hooks
authorWilliam A. Kennington III <wak@google.com>
Wed, 25 Oct 2023 22:37:10 +0000 (15:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Oct 2023 08:50:09 +0000 (08:50 +0000)
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.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel-yocto.bbclass

index 4ac977b12207801e469372022431dacaf04dda28..cb9cd26b09e3f0dfa3dd66d5f0630aa434613e82 100644 (file)
@@ -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