diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-09-20 00:56:44 +0200 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-09-20 00:56:44 +0200 |
commit | 21c12ae3eb895c9d18361f7df2de731e8f9932be (patch) | |
tree | f1c6791abb4dbaa94e57f917664cf7b2ef6ee810 /trigger-lt-qcom-linux-4.9.0.yaml | |
parent | 6c2dc786cfdc9a6c728347dcc7a2c47b6a594df0 (diff) |
trigger-lt-qcom-linux-4.9.0: fetch tags from mainline and stable
So that we can get a better string from 'git describe'.
Change-Id: I6e4f3add03e12a37266629c4a19a9609043d572b
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'trigger-lt-qcom-linux-4.9.0.yaml')
-rw-r--r-- | trigger-lt-qcom-linux-4.9.0.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/trigger-lt-qcom-linux-4.9.0.yaml b/trigger-lt-qcom-linux-4.9.0.yaml index 286a7a9c..286f8881 100644 --- a/trigger-lt-qcom-linux-4.9.0.yaml +++ b/trigger-lt-qcom-linux-4.9.0.yaml @@ -36,6 +36,11 @@ builders: - shell: | #!/bin/bash -e + + # bring in stable and mainline tags + git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git + git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git + echo KERNELRELEASE=$(git describe --always) > qcomlt_parameters echo KERNELVERSION=$(make kernelversion | sed 's/\(.*\)\..*/\1.0/') >> qcomlt_parameters echo KERNELBRANCH=$(echo ${GIT_BRANCH} | sed 's|origin/||') >> qcomlt_parameters |