Patchwork [1/2] classes/insane: fix regression in libdir QA regex

login
register
mail settings
Submitter Paul Eggleton
Date July 15, 2013, 6:17 p.m.
Message ID <04ff4f22a900cff90b51d55e383edae1385384da.1373912179.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/53705/
State Accepted
Commit 194e47e6d8d9b9ee98e0203f0ebb574084277c46
Headers show

Comments

Paul Eggleton - July 15, 2013, 6:17 p.m.
There was a slight mistake in the recent change to the lib_re regex -
it still needs to begin with a /.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 1023092..b875ac0 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -265,7 +265,7 @@  def package_qa_check_libdir(d):
             full_path = os.path.join(root,file)
             my_files.append(full_path[len(pkgd):])
 
-    lib_re = re.compile("^lib.+\.so(\..+)?$")
+    lib_re = re.compile("^/lib.+\.so(\..+)?$")
     exec_re = re.compile("^%s.*/lib.+\.so(\..+)?$" % exec_prefix)
 
     for file in my_files: