diff options
| author | Peter Kjellerstedt <pkj@axis.com> | 2026-03-02 12:40:37 +0100 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-03-06 10:13:27 +0530 |
| commit | 843542472e886a88d841ad625357314dd56b6d86 (patch) | |
| tree | 136543c2d2a04147e8fcdc7f9f735183dc59160c | |
| parent | d925b85aee552890925bfb09c352221e0124cb7e (diff) | |
| download | meta-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.bb | 2 |
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 |
