summaryrefslogtreecommitdiff
path: root/classes/utils.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-07-07utils.bbclass: base_chk_file_checksum uses strick_checksums as a booleanTom Rini1
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-10utils.bbclass: set close_fds=True by default for the popen helperChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-06classes/recipes: Catch populate_staging references that were missed in the ↵Richard Purdie1
first pass Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-04-23Initial move of common python bits into modules of the 'oe' python packageChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-22Use the python modules for checksum generation where we canChris Larson1
Based on df32920678d15c86897b50b752b937210a01edea. Signed-off-by: Chris Larson <chris_larson@mentor.com> Tested-by: Khem Raj <raj.khem@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-04-21utils.bbclass: make check_app_exists slightly more pythonicChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-12utils.bbclass: simplify checksum check, prepare for checksums.ini removalMartin Jansa1
* show note, when there are checksums only in checksums.ini (prepare for script for moving all to recipes) * parse checksums.ini only when there is no checksum in recipe (could be faster, but for more checked items in SRC_URI it is parsed repeatedly) * if one checksum doesn't match then count and show both (md5 as well as sha256) - usefull for copy&paste checksums for new recipe. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-03-21base.bbclass: add popen/system convenience functionsChristopher Larson1
Provides oe_popen, which is a subprocess.Popen wrapper that automatically provides our exported variables in the environment, including the PATH, and oe_system, which is just a wrapper that acts like system. Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Tom Rini <tom_rini@mentor.com>
2010-03-19Initial split of base.bbclassChris Larson1
Acked-by: Richard Purdie <rpurdie@linux.intel.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Chris Larson <chris_larson@mentor.com>