Age | Commit message (Collapse) | Author |
|
* taken from OE-Core [1]
* thanks Khem for pointing out[2]
* fixes build failure perl
| env: ./perl5.10.1.real: No such file or directory
| make[1]: *** [pod/perlapi.pod] Error 127
[1] http://git.openembedded.org/cgit.cgi/openembedded-core/commit/?id=a10bd976f4cef54ac50b0c82f885c17a26e5989f
[2] http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/002975.html
Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
This was dangerous, as an oe_run executed from the configuration metadata
would result in caching the config metadata information, rather than the final
metadata information. We could also cache it by the datasmart instance, but I
don't think its worth the trouble at this time, particularly given the next
bitbake release exports all exported vars into the process environment
automatically, avoiding the need for any of this.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* explode_deps() changed its behavior to omit version information
when the function was removed from OE in favor of BitBake's
implementation in March 2010. Since then, packages didn't contain
versioned runtime dependencies.
See commit 89b7e433719f43f1c36c76cb8856d559014e99bc
* This patch restores the previous implementation of explode_deps(),
thus fixing the generation of versioned runtime dependencies.
* Reimplementing explode_deps() using bb.utils.explode_dep_versions()
didn't work, because it choked upon parsing inline python code, e.g.
on update-modules_1.0.bb's RDEPENDS_${PN} field.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
These can be useful, and even necessary in some tasks, yet are bash, so let's
ensure they're available so we can avoid the /bin/sh is bash requirement in
the future.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
reauthored as the original patch submitted to the mailing list
did not appy any more.
This original patch was:
Acked-by: Michael 'Mickey' Lauer <mickey@vanille-media.de>
Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Ignore duplicates in an iterable.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* When a checksum is missing or invalid, print strings which can be
copied into a recipe without modification.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Also update gitver to use the subprocess wrappers
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
not done for libtool > 2.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* base.bbclass can set a package's PACKAGE_ARCH to MACHINE_ARCH if
it finds file:// in the SRC_URI and the corresponding file is machine
specific (recipes/foo/foo-1.0/<some machine>/)
* but is_machine_specific actually fails to detect these files as
urldata.path is used instead of urldata.localpath thus preventing the
comparison of the file's path with machinepaths
* tested with bitbake HEAD & 1.8.18, with OE's tree alone and OE's tree
plus an overlay.
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Chris Larson <clarson@kergoth.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
This one is intended to be used from python snippets in variables. It returns
the stdout of the subprocess and raises an exception if the exit code isn't 0.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
- Use FILESPATHPKG and FILESPATHBASE to locate the machine specific dirs
- Use the fetch urldata rather than poking at urls ourselves
- Move the logic into utils.bbclass as def'd python functions
- Simplify
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
first pass
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
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>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* 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>
|
|
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>
|
|
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>
|