Age | Commit message (Collapse) | Author | Files |
|
Currently if there is a failed do_patch the series files get appended
so if there were two patches
a.patch
b.patch
and b.patch failed during next run it would append a.patch again
a.patch
b.patch
a.patch
and this would keep growing.
We can remove series file in Clean() because we populate it in Import()
anyway
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Eric Bénard <eric@eukrea.com>
|
|
* Actually, the uncompressed file is written into the source
path instead of the destination path.
* By also removing the source path, this patch should fix this problem.
* An other fix could be to not uncompress to stdout but let gunzip|bunzip2|
xz uncompress directly to the file.
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
|
|
- Consolidate 'is this file a patch' logic
- Move unpack functions from classes into oe.unpack
- Move the unpacking message printing into do_unpack
- Move the destination directory determination into do_unpack
- Use subprocess's ability to pass in PATH and cwd rather than mangling the cmd
- Use shutil.copy2/copytree for ordinary file "unpack"
- Use the existing urldata from bb.fetch.init rather than re-decodeurl'ing the urls
- Make handling of globs in url paths explicit rather than implicit, calling
oe_unpack on each one, so showing an unpacking message to the user for each
globbed file, rather than the entirety
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
|
|
Adds oe.path.symlink convenience function.
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* This patch removes the usage of quilt import <patch>
instead it creasted a symlink to the patch in the patches
directory and synthesizes the series file which otherwise
would be done automatically by quilt import.
* This should help a bit in reducing build time as it avoids
copying of the patch and also other things that quilt import
would otherwise do.
* Tested by doing minimal-image on qemuarm.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Roman I Khimov <khimov@altell.ru>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
pushed wrong branch. It needs to be reviewed before pushing.
This reverts commit 428c2de6d27dd49274b9884c3123b053c42af0ce.
|
|
* This patch removes the usage of quilt import <patch>
instead it creasted a symlink to the patch in the patches
directory and synthesizes the series file which otherwise
would be done automatically by quilt import.
* This should help a bit in reducing build time as it avoids
copying of the patch and also other things that quilt import
would otherwise do.
* Tested by doing minimal-image on qemuarm.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This new function works like dict's get() method but converts the
returned value to a boolean.
It is to be used to interpret e.g. 'apply=yes' parameters in SRC_URI.
Moved from base.bbclass into lib/oe/utils.py -kergoth
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
application
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Drop this for now, seems to cause issues with python 2.5.
This reverts commit 5c923fd35c369bae929fc0e110121abeaffab493.
|
|
Signed-off-by: Chris Larson <clarson@kergoth.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>
|