Age | Commit message (Collapse) | Author |
|
Backport the tinfoil wrapper that allows external utilities to make use
of bitbake code easily. This allows the OpenEmbedded layer index to
parse recipes from OE-Classic.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
If the priority of a layer has been specified with BBFILE_PRIORITY_ then
use that to sort the list of BBFILES entries, which will affect the order
in which .bbappend files are applied.
Fixes [YOCTO #1125]
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Seeing warnings like:
WARNING: No bb files matched BBFILE_PATTERN_yocto '^/xxx/meta-yocto/'
are not encouraging to users and we shouldn't show these if we found
.bbappend files (but no .bb files). This change stops these warnings
from appearing.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The files found by collect_bbfiles should be processed in order but due
to being processed using python's set(), the order was not being preserved.
Use a list instead as whilst the code is slightly more ugly, order
is preserved.
Addresses [YOCTO #1100]
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
When running on python versions 2.6.0 through 2.6.2, we use a local copy
of the python 2.6.6 _bootstrap method of Process, to ensure that we have
the fix for http://bugs.python.org/issue5313. This avoids the "hang" of
the bitbake process at 0% progress during the parsing on older distros
like Fedora 12.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
If all our recipes were cached, there's no reason to fire off any parsing
progress events at all.
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>
|
|
This avoids cases where the stats are modified after the event is fired but
before it's dispatched to the UI.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Based on poky's support, particularly the format of the processed log file and
the log message shown to the user regarding the files written.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
We'll be skipping the Pending Deprecation step given our release process.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
The common case (if not the only case) is to only use a single domain. The
only reason SQLData exists is to make it easier to delete a domain. Yet,
there's no need for us to delete a domain if SQLTable knows how to clear
itself out. So, add clear() to the table and pass the domain to persist().
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This create a clean() method in each of the fetcher modules
and correctly cleans the .done stamp file and lock files
(From Poky rev: 14dea89521c0c648e8e543388096a6dcd6d4f2e0)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
also set a default value for mirror tarball generation
(From Poky rev: 59a08262aba2d2b9b8b299a2818fb4cfe13b9909)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 29ed2c6e9a0c3cc57c5bbaf3c53e1cff8586c51c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Enable the fetcher to be able to unpack and SRPM. By default the system will
unpack the contents of the SRPM into the WORKDIR.
A new syntax "unpack=file" was developed for the SRC_URI, to allow for a
recipe to extract a specific file within an SRPM. An unpack operation will
then be executed on the extracted file.
In order to apply extracted patches (or unpack files not specified with
unpack), you must specify the path using WORKDIR, i.e.:
file://${WORKDIR}/mypatch.patch
(From Poky rev: 906285ff00d6ffd3fd7713af52250e7c6503edb7)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: aa45760702e874977454778659c205b29d1ff049)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
instead of the main download function
(From Poky rev: ee1a9c0476cc4b2ce9dfb0faa29a1371a8517c40)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
premirrors as there could be data processing needed by the real fetcher
(From Poky rev: c4e66a7fe0c314b843aac6340995c584ec156529)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
failures occur
(From Poky rev: 91eeb9b0d334275ff2730e55e86fd351e1b652ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 0713fb6b99486cd08c6036dba7aeb15e3bfb8129)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: a235c67479846590eb2c7236bec3360b23c3e9b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 5920e85c561624e657c126df58f5c378a8950bbc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 1544aa8ab4a80d529a001e27b473645f2caec87c)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 232b6f3c92928c333ad1201aa8eb3706e7251cdf)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 500c66337c7cb5e3044a02ef761097713e47f523)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
See the problems in http://bugs.python.org/issue1692335, need to set self.args
correctly.
(From Poky rev: d4b4b48addfa781d7b94965e0477974c3fb6dbb3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 94faffdaf6c13ce59987aab28383d66a9a0bf100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
and bug fix the code
(From Poky rev: 37624b97450f2ba3d6fad3e1e51818486451447e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: ded83ffc3bd86553c9b540795660985905c925ba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
tarball may not exist
(From Poky rev: 681bcf4e6b606dde2029d143805023a927285917)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
directory for calling _contains_ref()
(From Poky rev: 330886826770ff6ec1449dc375cb4c3604b2736b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
longer always generate a mirror tarball and it isn't a good guide to fetcher success
(From Poky rev: 917d3e9697acefe308e7139e86df37a072ee3500)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 7202a77134029cb37540c785ce0161a4dd574853)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 8f2abf4a9f000d42e98c4936e393bd5033a1af48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
drop support
(From Poky rev: ee6f34483a9bfeca5b5c3656fd62bb4849d5fbb8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
'Fetch' class
(From Poky rev: ca7adf75295c2a6041b891bfa61e0b4bc2f7c860)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 08a9fef4fa0036708f29bd150d7ecf66354e5475)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: 806d1c25f8ca8ab5116652e6f82f7d9ee5774278)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: f60d9d6bd4bb7691b62bf1f4b1fbeaa1faa53879)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
belong in the FetchMethod class
(From Poky rev: 831c6c1d3c23c50f9c55a6bbf8dc6311bca3881b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
(From Poky rev: ab0dd1397491478ee6149283e5ba8775dd8cdc3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Drop some old md5 functions since we have improved functionality now which includes
sha256 checksum support. This stops each download being md5 checksumed twice.
Also change ".md5" stamp extentions to ".done" to better describe its use as a
download complete marker file and no longer write the md5 sum to the files.
(From Poky rev: 74b71864fed79ce60e721945c8e239b3ebf49200)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|