]> code.ossystems Code Review - openembedded-core.git/commit
Add a new task checklicense and fix some bugs in distro_check.py
authorMei Lei <lei.mei@intel.com>
Mon, 16 May 2011 11:06:21 +0000 (19:06 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 May 2011 13:38:52 +0000 (14:38 +0100)
commitb41148cda9f0cc292b662a8473f26bc1ee0148f3
treedd004068a668e82e9eb6d4b88c61707e94122082
parentb4f1845f7cf42059984112e3f41a323b4c9d6dfd
Add a new task checklicense and fix some bugs in distro_check.py

distro_check.py: Create a new function called create_log_file to reduce a lot of repeat code in distrodata.bbclass.
                 We needn't to create log file in function save_distro_check_result, because the log file has been generated in check_eventhandler.
                 Another bug is that we maybe access the /tmp/Meego-1.0 before we create this file.
                 Add a judge statement to decide whether we need to create this file firstly.
distrodata.bbclass: Add a new task checklicense to collect missing text license information.
                    This can help package-report system to know how many recipes are missing license text.

Signed-off-by: Mei Lei <lei.mei@intel.com>
meta/classes/distrodata.bbclass
meta/lib/oe/distro_check.py