summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2026-03-02 12:40:37 +0100
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-03-06 10:13:27 +0530
commit843542472e886a88d841ad625357314dd56b6d86 (patch)
tree136543c2d2a04147e8fcdc7f9f735183dc59160c
parentd925b85aee552890925bfb09c352221e0124cb7e (diff)
downloadmeta-openembedded-843542472e886a88d841ad625357314dd56b6d86.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> (cherry picked from commit a22fe21c597b1f7439d863342591d7947ec2ccca) Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.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