1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

meta: drop True option to getVar calls

Search made with the following regex: getVar ?\((.*), True\).

(From OE-Core rev: dbc0eaf478feb3f752ae22fd184984494fc85d0a)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ming Liu
2017-09-24 06:03:49 +02:00
committed by Richard Purdie
parent 75bee4603d
commit 307f25c23e
11 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ python buildhistory_emit_pkghistory() {
pe = d.getVar('PE') or "0"
pv = d.getVar('PV')
pr = d.getVar('PR')
layer = bb.utils.get_file_layer(d.getVar('FILE', True), d)
layer = bb.utils.get_file_layer(d.getVar('FILE'), d)
pkgdata_dir = d.getVar('PKGDATA_DIR')
packages = ""
+1 -1
View File
@@ -318,5 +318,5 @@ python rootfs_log_check_recommends() {
continue
if 'unsatisfied recommendation for' in line:
bb.warn('[log_check] %s: %s' % (d.getVar('PN', True), line))
bb.warn('[log_check] %s: %s' % (d.getVar('PN'), line))
}
+7 -7
View File
@@ -68,16 +68,16 @@ sysroot_stage_all() {
}
python sysroot_strip () {
inhibit_sysroot = d.getVar('INHIBIT_SYSROOT_STRIP', True)
inhibit_sysroot = d.getVar('INHIBIT_SYSROOT_STRIP')
if inhibit_sysroot and oe.types.boolean(inhibit_sysroot):
return 0
dstdir = d.getVar('SYSROOT_DESTDIR', True)
pn = d.getVar('PN', True)
libdir = os.path.abspath(dstdir + os.sep + d.getVar("libdir", True))
base_libdir = os.path.abspath(dstdir + os.sep + d.getVar("base_libdir", True))
qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP_' + pn, True) or "").split()
strip_cmd = d.getVar("STRIP", True)
dstdir = d.getVar('SYSROOT_DESTDIR')
pn = d.getVar('PN')
libdir = os.path.abspath(dstdir + os.sep + d.getVar("libdir"))
base_libdir = os.path.abspath(dstdir + os.sep + d.getVar("base_libdir"))
qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP_' + pn) or "").split()
strip_cmd = d.getVar("STRIP")
oe.package.strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir,
qa_already_stripped=qa_already_stripped)