diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2020-12-07 10:35:12 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-12-07 23:37:17 -0500 |
commit | 5ecf372333fb52dee11a4df775da0507c718c442 (patch) | |
tree | b46a6d15cfbf986673bcf883d3ea57dcd2329a7b | |
parent | ad57527aff18c3977a4187e001bf89b008d65c92 (diff) | |
download | meta-cloud-services-5ecf372333fb52dee11a4df775da0507c718c442.tar.gz |
python3-salttesting: use SRCREV instead of tag
If we enable BB_NO_NETWORK, using tag in SRC_URI causes problem.
Merely parsing the recipes will raise error. For example, `bitbake -p'.
So use SRCREV instead of tag to solve this problem.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | meta-openstack/recipes-devtools/python/python3-salttesting_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python3-salttesting_git.bb b/meta-openstack/recipes-devtools/python/python3-salttesting_git.bb index 3447621..fdc0341 100644 --- a/meta-openstack/recipes-devtools/python/python3-salttesting_git.bb +++ b/meta-openstack/recipes-devtools/python/python3-salttesting_git.bb | |||
@@ -4,10 +4,11 @@ SECTION = "devel/python" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f36f1e9e3e30f90180efdf7e40d943e5" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f36f1e9e3e30f90180efdf7e40d943e5" |
6 | 6 | ||
7 | SRC_URI = "git://github.com/saltstack/salt-testing.git;branch=develop;tag=v2018.9.21 \ | 7 | SRC_URI = "git://github.com/saltstack/salt-testing.git;branch=develop \ |
8 | file://0001-Add-ptest-output-option-to-test-suite.patch \ | 8 | file://0001-Add-ptest-output-option-to-test-suite.patch \ |
9 | " | 9 | " |
10 | 10 | ||
11 | SRCREV = "8d21627a4eef316d22cc424deeca16a0ec8472e9" | ||
11 | PV = "2018.9.21+git${SRCPV}" | 12 | PV = "2018.9.21+git${SRCPV}" |
12 | 13 | ||
13 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |