diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index de2c6520e9..06facbcf46 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -867,6 +867,8 @@ class Fetch(object): if len(urls) == 0: urls = self.urls + network = bb.data.getVar("BB_NO_NETWORK", self.d, True) + for u in urls: ud = self.ud[u] ud.setup_localpath(self.d) @@ -879,6 +881,8 @@ class Fetch(object): lf = bb.utils.lockfile(ud.lockfile) try: + network = bb.data.getVar("BB_NO_NETWORK", self.d, True) + if not m.need_update(u, ud, self.d): localpath = ud.localpath elif m.try_premirror(u, ud, self.d): |