mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
ptest.bbclass: Use d.getVar instead of os.environ
[YOCTO #12597] [YOCTO #13238] (From OE-Core rev: ae116b0eea3b09055742877790b7e4620f5b8f37) Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
42ee625d4a
commit
75b08ce9ac
@@ -84,8 +84,8 @@ python ptest_update_alternatives() {
|
||||
return
|
||||
|
||||
bb.note("Generating symlinks for ptest")
|
||||
bin_paths = { os.environ["bindir"], os.environ["base_bindir"],
|
||||
os.environ["sbindir"], os.environ["base_sbindir"] }
|
||||
bin_paths = { d.getVar("bindir"), d.getVar("base_bindir"),
|
||||
d.getVar("sbindir"), d.getVar("base_sbindir") }
|
||||
ptest_bindir = d.getVar("PTEST_BINDIR_PKGD_PATH")
|
||||
os.mkdir(ptest_bindir)
|
||||
for pkg in (d.getVar('PACKAGES') or "").split():
|
||||
|
||||
Reference in New Issue
Block a user