summaryrefslogtreecommitdiff
path: root/meta/classes/patch.bbclass
AgeCommit message (Collapse)AuthorFiles
2011-04-04patch.bbclass: allow importing patches into other dirsTom Rini1
This is taken from openembedded.master: commit 9d0d70da60ca8ef278916f442125d41161846f38 Author: Chris Larson <chris_larson@mentor.com> Date: Mon Aug 23 13:03:55 2010 -0400 patch: allow importing patches into other dirs Use the 'patchdir' flag. If relative, it's assumed to be relative to ${S}. It creates a patchset class per patch directory, so for quilt this results i multiple .pc/patches directories to manage each of the patchsets. Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-07meta/classes: Update classes to use new fetcher APIRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-12-30patch.bbclass: Move vardepsexclude flag to be along side the function using ↵Richard Purdie1
the variable Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-01patch.bbclass: Merge patch enhancements from OE by Chris LarsonJoshua Lock1
Chris made some interesting changes to the patch handling in OE. Firstly the patch and pnum parameters have been renamed, to better reflect their function, to apply and striplevel. The apply parameter now takes either yes or no as its value. Therefore a patch line would be changed from: file://some.patch;patch=1;pnum=2 to: file://some.patch;apply=yes;striplevel=2 Secondly the apply parameter is inferred if not defined. Entries in SRC_URI with diff or patch filename extensions will be automatically applied as patches if the apply parameter is not set to no (or an unknown value). Note: We have disabled the warnings when using the old style parameters for now Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-06Update classes to use lib/oeJoshua Lock1
Adapt modifications from upstream to make Poky classes use lib/oe for the common Python functionality. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-11-13bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie1
populate_staging task to populate_sysroot This change makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13classes: Remove and sanitise import statementsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-03patch.bbclass: Merge in git resolver changes from OE.dev. Catch all ↵Richard Purdie1
exceptions rather than print horrid backtraces Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-02patch.bbclass: Fix up the environment for the patch resolution codeRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-02patch.bbclass: Sync with OE.devRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-22patch.bbclass: Allow a patch to be applied or not applied against a specific ↵Richard Purdie1
srcrev Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-05-18patch.bbclass: Make it possibe to override the patch dependencyRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4489 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-03patch.bbclass: Add support for maxrev and minrevRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2350 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-11patch.bbclass: Set default patch resolver to noopRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1711 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-14patch.bbclass: Specify a quiltrc file so users settings don't interfere with ↵Richard Purdie1
correct operation git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1509 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03classes: Rework core dependencies to work properly at the task levelRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08patch.bbclass: Fix force options for recent quilt versionsRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1122 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-25patch.bbclass: fix bug where it failed to detect that the user did not ↵Chris Larson1
modify the patches at all, add note about pressing ctrl+d to exit the resolver shell. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@822 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-15patch.bbclass: sync with upstream oe.Chris Larson1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@713 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-01patch.bbclass: updates from upstream oe.Chris Larson1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@691 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-30Patch.bbclass: add NOOPResolver class for use in unattended builds, which ↵Chris Larson1
does no actual patch resolution, simply passing the failure on up. Set PATCHRESOLVE='noop' to make use of it. Also pulls in the workaround for quilt's upward searching for a 'patches' dir from upstream oe. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@680 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-28Patch failure handling updates, added a 'patch' concrete class, so we can ↵Chris Larson1
apply patches to quilt-native itself. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@670 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27Patch.bbclass: fix bug resulting in a failure to md5 the local path.. it ↵Chris Larson1
broke when localpath() included variable references. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@662 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-23Fix the patch.bbclass error handling in a couple of the error paths by ↵Chris Larson1
changing the semantics of the PatchError exception. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@627 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-22Clean up the way patch.bbclass's runcmd handles the directory not existing.Chris Larson1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@624 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-21Changes for ticket:8, with fixes for the bugs reported by Richard.Chris Larson1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@622 311d38ba-8fff-0310-9ca6-ca027cbcb966