config.json: auh: remove the git hook that disables commits

bitbake-setup adds this hook to prevent commits in git checkouts
as such commits can be overwritten on bitbake-setup updates, but auh
does need to make commits there and isn't using update functionality.
Rather than make a separate writeable clone, let's just remove the
hook before starting auh.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2026-01-16 11:00:24 +01:00 committed by Richard Purdie
parent 6f793956c9
commit 2958627aaf

View File

@ -1625,6 +1625,7 @@
"git -C ../layers/openembedded-core config user.email auh@yoctoproject.org",
"git -C ../layers/openembedded-core config user.name 'Auto Upgrade Helper'",
"git -C ../layers/openembedded-core switch -C tmp-auh-upgrades HEAD",
"rm -f ../layers/openembedded-core/.git/hooks/pre-commit",
"install -D ${SCRIPTSDIR}/auh-config/upgrade-helper.conf ./upgrade-helper/upgrade-helper.conf"
]
},