summaryrefslogtreecommitdiffstats
path: root/meta/classes/license.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r--meta/classes/license.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index a2721ab0af..231b4a3ad1 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -86,7 +86,7 @@ license_create_manifest() {
86 # list of installed packages is broken for deb 86 # list of installed packages is broken for deb
87 for pkg in ${INSTALLED_PKGS}; do 87 for pkg in ${INSTALLED_PKGS}; do
88 # not the best way to do this but licenses are not arch dependant iirc 88 # not the best way to do this but licenses are not arch dependant iirc
89 filename=`ls ${TMPDIR}/pkgdata/*/runtime/${pkg}| head -1` 89 filename=`ls ${TMPDIR}/pkgdata/*/runtime-reverse/${pkg}| head -1`
90 pkged_pn="$(sed -n 's/^PN: //p' ${filename})" 90 pkged_pn="$(sed -n 's/^PN: //p' ${filename})"
91 pkged_lic="$(sed -n '/^LICENSE: /{ s/^LICENSE: //; s/[+|&()*]/ /g; s/ */ /g; p }' ${filename})" 91 pkged_lic="$(sed -n '/^LICENSE: /{ s/^LICENSE: //; s/[+|&()*]/ /g; s/ */ /g; p }' ${filename})"
92 pkged_pv="$(sed -n 's/^PV: //p' ${filename})" 92 pkged_pv="$(sed -n 's/^PV: //p' ${filename})"