summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2026-03-02 12:40:37 +0100
committerKhem Raj <raj.khem@gmail.com>2026-03-02 19:26:01 -0800
commita22fe21c597b1f7439d863342591d7947ec2ccca (patch)
treee87f54185d5767a66bc5427415a4e7ea2bbf651a
parent7bc5268662f1428bdbca08e14d223aa6b62e87f3 (diff)
downloadmeta-openembedded-a22fe21c597b1f7439d863342591d7947ec2ccca.tar.gz
ceres-solver: Don't fail if .git/hooks/commit-msg can't be touched
The .git/hooks/commit-msg Git hook may already exist and not be writable. E.g., in our environment it is a symbolic link to a script in /usr/share. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb b/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb
index 63500def05..0a8f237180 100644
--- a/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb
@@ -16,7 +16,7 @@ do_configure:prepend() {
16 # will try to fetch https://ceres-solver-review.googlesource.com/tools/hooks/commit-msg durind do_configure 16 # will try to fetch https://ceres-solver-review.googlesource.com/tools/hooks/commit-msg durind do_configure
17 # which sometimes gets stuck (as there is no TIMEOUT set in DOWNLOAD) 17 # which sometimes gets stuck (as there is no TIMEOUT set in DOWNLOAD)
18 # and we really don't need Gerrit's Change-Id tags when just building this 18 # and we really don't need Gerrit's Change-Id tags when just building this
19 touch ${S}/.git/hooks/commit-msg 19 touch ${S}/.git/hooks/commit-msg 2>/dev/null || :
20} 20}
21 21
22# We don't want path to eigen3 in ceres-solver RSS to be 22# We don't want path to eigen3 in ceres-solver RSS to be