From patchwork Thu Sep 13 19:26:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC] license: Ensure we find multilib packages also Date: Thu, 13 Sep 2012 19:26:19 -0000 From: Saul Wold X-Patchwork-Id: 36497 Message-Id: <1347564379-14252-1-git-send-email-sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org Make sure to find -package, this was causing a failure in the multi-lib build license generation during rootfs. Signed-off-by: Saul Wold --- meta/classes/license.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 29fe938..b29067c 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass @@ -88,7 +88,7 @@ license_create_manifest() { # list of installed packages is broken for deb for pkg in ${INSTALLED_PKGS}; do # not the best way to do this but licenses are not arch dependant iirc - filename=`ls ${TMPDIR}/pkgdata/*/runtime-reverse/${pkg}| head -1` + filename=`ls ${TMPDIR}/pkgdata/*/runtime-reverse/*${pkg}| head -1` pkged_pn="$(sed -n 's/^PN: //p' ${filename})" # exclude locale recipes