diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-21 14:47:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-22 13:57:04 +0000 |
commit | 2b8761e5fc0cbef8e43a2246450098e9b48413c0 (patch) | |
tree | f86f5af3b77b7a4f6ffe3443bade03832ee9ed79 /bitbake/lib/bb/fetch2/__init__.py | |
parent | 7eef95d723a14d9394afee282bab1eed4f83c778 (diff) | |
download | poky-2b8761e5fc0cbef8e43a2246450098e9b48413c0.tar.gz |
bitbake: fetch2: Rename __BBSEENSRCREV -> __BBSRCREV_SEEN
For readability of following patches, rename this internal variable to
allow for others in a similar format.
(Bitbake rev: 450b4a00895ed1f9396a8ff859dc1cc0eccc838f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index cf65727a20..3b96849a25 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -769,7 +769,7 @@ def get_srcrev(d, method_name='sortable_revision'): | |||
769 | that fetcher provides a method with the given name and the same signature as sortable_revision. | 769 | that fetcher provides a method with the given name and the same signature as sortable_revision. |
770 | """ | 770 | """ |
771 | 771 | ||
772 | d.setVar("__BBSEENSRCREV", "1") | 772 | d.setVar("__BBSRCREV_SEEN", "1") |
773 | recursion = d.getVar("__BBINSRCREV") | 773 | recursion = d.getVar("__BBINSRCREV") |
774 | if recursion: | 774 | if recursion: |
775 | raise FetchError("There are recursive references in fetcher variables, likely through SRC_URI") | 775 | raise FetchError("There are recursive references in fetcher variables, likely through SRC_URI") |