Openembedded Core Discussions
 help / color / mirror / Atom feed
* [RFC PATCH] license: Ensure we find multilib packages also
@ 2012-09-13 19:26 Saul Wold
  2012-09-13 22:31 ` Paul Eggleton
  0 siblings, 1 reply; 11+ messages in thread
From: Saul Wold @ 2012-09-13 19:26 UTC (permalink / raw)
  To: openembedded-core

Make sure to find -package, this was causing a failure
in the multi-lib build license generation during rootfs.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 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
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-09-14 23:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-13 19:26 [RFC PATCH] license: Ensure we find multilib packages also Saul Wold
2012-09-13 22:31 ` Paul Eggleton
2012-09-13 22:43   ` Saul Wold
2012-09-14 16:01     ` Richard Purdie
2012-09-14 16:48       ` Mark Hatle
2012-09-14 20:50         ` Flanagan, Elizabeth
2012-09-14 22:09           ` Richard Purdie
2012-09-14 22:11           ` Paul Eggleton
2012-09-14 22:26             ` Flanagan, Elizabeth
2012-09-14 22:31               ` Mark Hatle
2012-09-14 23:09               ` Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox