diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2019-03-28 10:31:41 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2019-03-28 10:31:41 +0530 |
commit | f2975eb192a2533c6d2f8d2b88d7cec247f885dd (patch) | |
tree | fc0e1de673989ea6bd0e7d9857f222dfe26c66f1 /kernel-testing-configs | |
parent | 9306d0dd1baa09b2ef801078a5f54e514df3cd8a (diff) |
kernel-testing-configs/templates/generic: submit kernel_protocol
Change-Id: Ifcb11b021fe83fadd27c1aca969954591e6e53e0
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'kernel-testing-configs')
-rw-r--r-- | kernel-testing-configs/templates/generic.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel-testing-configs/templates/generic.yaml b/kernel-testing-configs/templates/generic.yaml index 7990241e..ae417f88 100644 --- a/kernel-testing-configs/templates/generic.yaml +++ b/kernel-testing-configs/templates/generic.yaml @@ -140,10 +140,16 @@ ;; esac + # Convert Git repo to Bitbake's Git URI format + kernel_repo=$(echo ${KERNEL_REPO} | sed -e 's#\(ssh://\|https\?://\)#git://#') + # Determine Git connection protocol to use + kernel_protocol=$(echo ${KERNEL_REPO} | grep -o '.*://' | sed -e 's#://##') + pwd cat << EOF > ${WORKSPACE}/custom-kernel-info.inc.tmp KERNEL_COMMIT = "${SRCREV_kernel}" KERNEL_REPO = "${KERNEL_REPO/http*:/git:}" + KERNEL_PROTOCOL = "${kernel_protocol}" KERNEL_CONFIG_aarch64 = "${KERNEL_CONFIG}" KERNEL_CONFIG_arm = "${KERNEL_CONFIG}" KERNEL_CONFIG_x86-64 = "${KERNEL_CONFIG}" |