From 6b3cfcf90a0eb51356318f197faf6db4dc06a3e9 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 26 Jan 2016 12:52:21 +0000 Subject: insane: remove unused variable assignment Signed-off-by: Ross Burton --- meta/classes/insane.bbclass | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'meta') diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 79d59d608b..500a37ca0f 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -727,19 +727,17 @@ def package_qa_check_license(workdir, d): def package_qa_check_staged(path,d): """ - Check staged la and pc files for sanity - -e.g. installed being false + Check staged la and pc files for common problems like references to the work + directory. - As this is run after every stage we should be able - to find the one responsible for the errors easily even - if we look at every .pc and .la file + As this is run after every stage we should be able to find the one + responsible for the errors easily even if we look at every .pc and .la file. """ sane = True tmpdir = d.getVar('TMPDIR', True) workdir = os.path.join(tmpdir, "work") - installed = "installed=yes" if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d): pkgconfigcheck = workdir else: -- cgit v1.2.3