mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1f45232dc0
commit
04e45f01e3
@@ -17,12 +17,12 @@ do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}"
|
|||||||
do_populate_lic[cleandirs] = "${LICSSTATEDIR}"
|
do_populate_lic[cleandirs] = "${LICSSTATEDIR}"
|
||||||
|
|
||||||
python write_package_manifest() {
|
python write_package_manifest() {
|
||||||
# Get list of installed packages
|
# Get list of installed packages
|
||||||
license_image_dir = d.expand('${LICENSE_DIRECTORY}/${IMAGE_NAME}')
|
license_image_dir = d.expand('${LICENSE_DIRECTORY}/${IMAGE_NAME}')
|
||||||
bb.utils.mkdirhier(license_image_dir)
|
bb.utils.mkdirhier(license_image_dir)
|
||||||
from oe.rootfs import image_list_installed_packages
|
from oe.rootfs import image_list_installed_packages
|
||||||
open(os.path.join(license_image_dir, 'package.manifest'),
|
open(os.path.join(license_image_dir, 'package.manifest'),
|
||||||
'w+').write(image_list_installed_packages(d))
|
'w+').write(image_list_installed_packages(d))
|
||||||
}
|
}
|
||||||
|
|
||||||
license_create_manifest() {
|
license_create_manifest() {
|
||||||
|
|||||||
Reference in New Issue
Block a user