diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/buildhistory.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/staging.bbclass | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index dbfcc05d10..7a5534edd8 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -192,7 +192,7 @@ python buildhistory_emit_pkghistory() { | |||
192 | pe = d.getVar('PE') or "0" | 192 | pe = d.getVar('PE') or "0" |
193 | pv = d.getVar('PV') | 193 | pv = d.getVar('PV') |
194 | pr = d.getVar('PR') | 194 | pr = d.getVar('PR') |
195 | layer = bb.utils.get_file_layer(d.getVar('FILE', True), d) | 195 | layer = bb.utils.get_file_layer(d.getVar('FILE'), d) |
196 | 196 | ||
197 | pkgdata_dir = d.getVar('PKGDATA_DIR') | 197 | pkgdata_dir = d.getVar('PKGDATA_DIR') |
198 | packages = "" | 198 | packages = "" |
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index 3755f94090..5391e7a8e3 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
@@ -318,5 +318,5 @@ python rootfs_log_check_recommends() { | |||
318 | continue | 318 | continue |
319 | 319 | ||
320 | if 'unsatisfied recommendation for' in line: | 320 | if 'unsatisfied recommendation for' in line: |
321 | bb.warn('[log_check] %s: %s' % (d.getVar('PN', True), line)) | 321 | bb.warn('[log_check] %s: %s' % (d.getVar('PN'), line)) |
322 | } | 322 | } |
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index ea831e0167..d21e198ae8 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -68,16 +68,16 @@ sysroot_stage_all() { | |||
68 | } | 68 | } |
69 | 69 | ||
70 | python sysroot_strip () { | 70 | python sysroot_strip () { |
71 | inhibit_sysroot = d.getVar('INHIBIT_SYSROOT_STRIP', True) | 71 | inhibit_sysroot = d.getVar('INHIBIT_SYSROOT_STRIP') |
72 | if inhibit_sysroot and oe.types.boolean(inhibit_sysroot): | 72 | if inhibit_sysroot and oe.types.boolean(inhibit_sysroot): |
73 | return 0 | 73 | return 0 |
74 | 74 | ||
75 | dstdir = d.getVar('SYSROOT_DESTDIR', True) | 75 | dstdir = d.getVar('SYSROOT_DESTDIR') |
76 | pn = d.getVar('PN', True) | 76 | pn = d.getVar('PN') |
77 | libdir = os.path.abspath(dstdir + os.sep + d.getVar("libdir", True)) | 77 | libdir = os.path.abspath(dstdir + os.sep + d.getVar("libdir")) |
78 | base_libdir = os.path.abspath(dstdir + os.sep + d.getVar("base_libdir", True)) | 78 | base_libdir = os.path.abspath(dstdir + os.sep + d.getVar("base_libdir")) |
79 | qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP_' + pn, True) or "").split() | 79 | qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP_' + pn) or "").split() |
80 | strip_cmd = d.getVar("STRIP", True) | 80 | strip_cmd = d.getVar("STRIP") |
81 | 81 | ||
82 | oe.package.strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, | 82 | oe.package.strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, |
83 | qa_already_stripped=qa_already_stripped) | 83 | qa_already_stripped=qa_already_stripped) |