aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oe/patch.py
AgeCommit message (Collapse)Author
2010-10-23oe.patch: fall back to '-' for quiltrcChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-23oe.patch: use --quiltrc= instead of --quiltrcChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-21oe.patch: don't use dry-run for 'patch'Chris Larson
There are patches which 'patch' thinks it can't apply, but which do apply, so stop using dry-run. In addition, --dry-run isn't compatible with all versions of patch. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-21oe.patch: use oe.processChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-21oe.patch: fix 'd' referencesChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-09-23oe/patch.py: Remove series file during Clean()Khem Raj
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>
2010-07-26oe.patch: don't error when the symlink already exists and is correctEvgeniy Dushistov
Adds oe.path.symlink convenience function. Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10lib/oe/patch.py: Dont import patches but symlink them insteadKhem Raj
* 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>
2010-06-09Revert "lib/oe/patch.py: Dont import patches but symlink them instead"Khem Raj
pushed wrong branch. It needs to be reviewed before pushing. This reverts commit 428c2de6d27dd49274b9884c3123b053c42af0ce.
2010-06-09lib/oe/patch.py: Dont import patches but symlink them insteadKhem Raj
* 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>
2010-05-23oe.patch: kill long standing annoying messages from the non-quilt patch ↵Chris Larson
application Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-23Initial move of common python bits into modules of the 'oe' python packageChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>