1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 13:29:49 +00:00

bitbake: Switch to fetch2 fetcher code based on the environment variable BBFETCH2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-01-10 18:12:53 +00:00
parent c64b445f38
commit af06e4a8ef
+3
View File
@@ -78,6 +78,9 @@ if "BBDEBUG" in os.environ:
if level:
bb.msg.set_debug_level(level)
if os.environ.get("BBFETCH2"):
from bb import fetch2 as fetch
sys.modules['bb.fetch'] = sys.modules['bb.fetch2']
# Messaging convenience functions
def plain(*args):