From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mail.openembedded.org (Postfix) with ESMTP id 947EE61883 for ; Wed, 3 Jul 2013 13:41:02 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 03 Jul 2013 06:42:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,988,1363158000"; d="scan'208";a="364743370" Received: from unknown (HELO helios.ger.corp.intel.com) ([10.252.121.238]) by fmsmga002.fm.intel.com with ESMTP; 03 Jul 2013 06:40:49 -0700 From: Paul Eggleton To: openembedded-core@lists.openembedded.org Date: Wed, 3 Jul 2013 14:40:38 +0100 Message-Id: <1372858838-17887-1-git-send-email-paul.eggleton@linux.intel.com> X-Mailer: git-send-email 1.8.1.2 Subject: [PATCH] classes/insane: fix libdir check regexes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 13:41:03 -0000 * Ensure these do not pick up e.g. /lib/systemd/system/uuidd.socket * Fix broken exec_re regex (lib*. -> lib.*) Signed-off-by: Paul Eggleton --- meta/classes/insane.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 27c225f..af419f1 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -265,8 +265,8 @@ 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") - exec_re = re.compile("^%s.*/lib*.\.so" % exec_prefix) + lib_re = re.compile("^/lib.*\.so[0-9.]*$") + exec_re = re.compile("^%s.*/lib.*\.so[0-9.]*$" % exec_prefix) for file in my_files: if lib_re.match(file): -- 1.8.1.2