summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoxana Ciobanu <roxana.ciobanu@intel.com>2014-07-18 15:41:34 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-19 00:08:58 +0100
commit04e45f01e3ad69a4c8f2dcb99852001f076cc57a (patch)
treea8cf8c7a69b84e9c378e345760ed4d295b646394 /meta
parent1f45232dc008599501e138c5327c7f8a901dbf55 (diff)
downloadpoky-04e45f01e3ad69a4c8f2dcb99852001f076cc57a.tar.gz
license.bbclass: fix indentation in python function
If we don't fix this, the fix for bug 6502 will trigger warnings that the write_package_manifest function contains tabs. Related to fix for [YOCTO #6502]. (From OE-Core rev: 6d93be5338ca301caafbcd44bfe3da08c05610ec) Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/license.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 08f0665e7d..2a6e869736 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -17,12 +17,12 @@ do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}"
17do_populate_lic[cleandirs] = "${LICSSTATEDIR}" 17do_populate_lic[cleandirs] = "${LICSSTATEDIR}"
18 18
19python write_package_manifest() { 19python write_package_manifest() {
20 # Get list of installed packages 20 # Get list of installed packages
21 license_image_dir = d.expand('${LICENSE_DIRECTORY}/${IMAGE_NAME}') 21 license_image_dir = d.expand('${LICENSE_DIRECTORY}/${IMAGE_NAME}')
22 bb.utils.mkdirhier(license_image_dir) 22 bb.utils.mkdirhier(license_image_dir)
23 from oe.rootfs import image_list_installed_packages 23 from oe.rootfs import image_list_installed_packages
24 open(os.path.join(license_image_dir, 'package.manifest'), 24 open(os.path.join(license_image_dir, 'package.manifest'),
25 'w+').write(image_list_installed_packages(d)) 25 'w+').write(image_list_installed_packages(d))
26} 26}
27 27
28license_create_manifest() { 28license_create_manifest() {