diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2020-05-20 21:05:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-25 22:25:53 +0100 |
commit | b38f320a3c2ea137d8c04d6cd7e078b5a233f485 (patch) | |
tree | 826f8456ef2023eb85e268673aeacdd4d086fb1d /meta/classes/ptest-perl.bbclass | |
parent | 6b9b423735697fc8f77b860826a0b7592896bbd0 (diff) | |
download | poky-b38f320a3c2ea137d8c04d6cd7e078b5a233f485.tar.gz |
archiver.bbclass: Fix duplicated SRC_URIs for do_ar_original
The argument urls of bb.fetch2.Fetch(urls, d) are duplicated to SRC_URI, which caused errors like:
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.
The SCMs are:
git://github.com/docker/notary.git;destsuffix=git/src/github.com/docker/notary
git://github.com/docker/notary.git
The first one is from original SRC_URI, the second one is from the
variable 'urls', so cleanup SRC_URI before call bb.fetch2.Fetch() can fix the
problem.
(From OE-Core rev: b244c4f3427cd07376d4b8f7d27e38735bcc90e7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ptest-perl.bbclass')
0 files changed, 0 insertions, 0 deletions