mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-20 17:47:14 +00:00
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>
This commit is contained in:
committed by
Khem Raj
parent
7bc5268662
commit
a22fe21c59
@@ -16,7 +16,7 @@ do_configure:prepend() {
|
|||||||
# will try to fetch https://ceres-solver-review.googlesource.com/tools/hooks/commit-msg durind do_configure
|
# will try to fetch https://ceres-solver-review.googlesource.com/tools/hooks/commit-msg durind do_configure
|
||||||
# which sometimes gets stuck (as there is no TIMEOUT set in DOWNLOAD)
|
# which sometimes gets stuck (as there is no TIMEOUT set in DOWNLOAD)
|
||||||
# and we really don't need Gerrit's Change-Id tags when just building this
|
# and we really don't need Gerrit's Change-Id tags when just building this
|
||||||
touch ${S}/.git/hooks/commit-msg
|
touch ${S}/.git/hooks/commit-msg 2>/dev/null || :
|
||||||
}
|
}
|
||||||
|
|
||||||
# We don't want path to eigen3 in ceres-solver RSS to be
|
# We don't want path to eigen3 in ceres-solver RSS to be
|
||||||
|
|||||||
Reference in New Issue
Block a user