Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> --- scripts/run-config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/run-config b/scripts/run-config index 29d783e..9d8d48a 100755 --- a/scripts/run-config +++ b/scripts/run-config @@ -115,7 +115,10 @@ if bttarball: fileno = lf.fileno() fcntl.flock(fileno, fcntl.LOCK_EX) if not os.path.exists(btdlpath): - subprocess.check_call(["wget", "-O", btdlpath, bttarball]) + if bttarball.startswith("/"): + subprocess.check_call(["cp", bttarball, btdlpath]) + else: + subprocess.check_call(["wget", "-O", btdlpath, bttarball]) os.chmod(btdlpath, 0o775) subprocess.check_call(["bash", btdlpath, "-d", btdir, "-y"]) btenv = glob.glob(btdir + "/environment-setup*") -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50481): https://lists.yoctoproject.org/g/yocto/message/50481 Mute This Topic: https://lists.yoctoproject.org/mt/76695568/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-