mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 13:31:20 +00:00
bitbake/fetch2: Fix negated if check for BB_FETCH_PREMIRRORONLY
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
906285ff00
commit
29ed2c6e9a
@ -872,7 +872,7 @@ class Fetch(object):
|
||||
mirrors = mirror_from_string(bb.data.getVar('PREMIRRORS', self.d, True))
|
||||
localpath = try_mirrors(self.d, ud, mirrors, False)
|
||||
|
||||
if bb.data.getVar("BB_FETCH_PREMIRRORONLY", self.d, True) is None:
|
||||
if bb.data.getVar("BB_FETCH_PREMIRRORONLY", self.d, True) is not None:
|
||||
bb.data.setVar("BB_NO_NETWORK", "1", self.d)
|
||||
|
||||
if not localpath and m.need_update(u, ud, self.d):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user