classes/insane: fix regression in libdir QA regex
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 15 Jul 2013 18:17:43 +0000 (19:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Jul 2013 20:23:43 +0000 (21:23 +0100)
There was a slight mistake in the recent change to the lib_re regex -
it still needs to begin with a /.

(From OE-Core rev: 194e47e6d8d9b9ee98e0203f0ebb574084277c46)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass

index 1023092..b875ac0 100644 (file)
@@ -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: