config.json: auh: remove the git hook that disables commits
PATCH 1/1 config.json: auh: remove the git hook that disables commits
From: Alexander Kanavin <[email protected]>
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 <[email protected]>
--- config.json | 1 + 1 file changed, 1 insertion(+)
config.json +1 -0
@@ -1625,6 +1625,7 @@ "git -C ../layers/openembedded-core config user.email [email protected]", "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" ] },
Signature · 1 line
2.47.2