summaryrefslogtreecommitdiff
path: root/bitbake
AgeCommit message (Collapse)AuthorFiles
2010-02-04bitbake: if PREMIRRORS set test for local file in FetchData.setup_localpathJoshua Lock1
When we are using PREMIRRORS it's possible a mirror in the local namespace (some filesystem path, i.e. an NFS share) provides read-only files. This is a perfectly valid scenario so this patch fixes bitbake so that for such a scenario locapath is set to the files path rather than some child of DL_DIR. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-04bitbake: Enhance the fetchers' support for local mirrorsJoshua Lock1
Modify the try_mirrors() function to return the localpath of the fetched file and update the data dictionary to reflect this. Secondly the metadata files, lock and md5, should always be stored relative to the ${DL_DIR} as it is possible that the localpath is a read-only directory, for example in the scenario where there is a read-only file:// mirror. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-04bitbake: unify mirror support and make it independant of the fetcherJoshua Lock10
This patch serves two purposes. Firstly it unifies the concept of mirrors into PREMIRRORS and MIRRORS. PREMIRRORS are tried before the SRC_URI defined in the recipe whereas MIRRORS are tried only if that fails. The tarball stash was conceptually inline with a PREMIRROR only with special handling within the wget fetcher and therefore only worked with certain fetch types. Secondly the patch removes the need for individual fetch implementations to worry about mirror handling. With this patch, the base fetch implementation will first try to use a PREMIRROR to fetch the desired object, if this fails the native fetch method for the object will be tried and if this fails will try to fetch a copy from one of the MIRRORS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-27bitbake/build.py: No need for this gross hack nowRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22bitbake: Don't import xmlrpc server unless neededRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22bin/bitbake: Add import serverRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22bitbake/cooker: Drop unneeded importRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bitbake: Fix UI failure exception handling with python 2.6Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21knotty: Improve task failure message handling using the uihelper codeRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21runqueue.py: Use fcntl to make the worker pipes non-blockingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bitbake/event: If the server disappears, we just exit tooRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21runqueue: When a task fails, make sure the server still processes events ↵Richard Purdie1
from other workers Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bitbake/__init__.py: Fix bb.plain and bb.warn function, initial patch from ↵Richard Purdie1
Petri Lehtinen <petri.lehtinen+bitbake-dev@inoi.fi> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bitbake/git: remove repodir usage (from bitbake master)Martin Jansa1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bitbake/runqueue: Fix typoRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-20bitbake: Switch to bitbake-dev version (bitbake master upstream)Richard Purdie45
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-12bitbake: Apply modified version of a patch from Martin Jansa ↵Richard Purdie1
<martin.jansa@gmail.com> to allow wildcards at the end of PREFERRED_VERSION strings Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18taskdata.py: Improve error message if a task dependency has an incorrect formatRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18bitbake/BBHandler: Only add do_ prefix to tasks if its not already presentRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-16bitbake/data_smart.py: Fix error where update-rc.d would not get added to ↵Richard Purdie1
the dependency tree If there was a variable such as: X_${Y}_append = "Z" The "Z" would be lost if X_${Y} was unset. This was due to a bug in the renameVar function used by expandKeys(). Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11bitbake/git.py: Typo fixRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11bitbake/git.py: Add support for fullclone parameterRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11bitbake/git.py: Move variable init into the localpath functionRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11bitbake/cooker.py: Fix handling of extra configuration filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11git.py: Improve command failure error messagesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-26bitbake: Fix dict changing size problemsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13fetch/__init__.py: Try and make the sortable_revision code mode readableRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13bitbake: Sync various functions with those from bitbake-dev and bitbake upstreamRichard Purdie6
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13bitbake: Sync module import cleanups back from bitbake trunkRichard Purdie11
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13build.py: Fix zero size logfile problemsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-20bitbake: hg fetcher - sync bitbake-dev and remove debugRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-19bitbake: Add hg fetcher auto revisioning, patch from Carl Simonson ↵Richard Purdie1
<simonsonc@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-17bitbake: Fix svk fetcherRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-13bitbake: Anonymous funciton improvements - use methodpool to allow cached ↵Richard Purdie1
code and remove anonymous function indentation mismatch problems Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-13bitbake: Add bb and os to __builtins__, not the exec function globalRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-13bitbake: Remove unused and hence pointless internal__functions__ variableRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-24bitbake/build.py: Remove zero sized log filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-24bitbake/cache.py: Add warnings for leakage of SRCREVINACTION magic valueRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-24bitbake/fetch: Ensure SRCREVINACTION always resets the core flags even when ↵Richard Purdie1
parsing failes by using a try/finally Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-03bitbake cache: Add code to catch a nasty cache corruption issue to aid in ↵Richard Purdie1
tracking it down Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-26__init__.py: export GIT_PROXY_COMMAND for those behind draconian proxiesMike Turquette1
Signed-off-by: Mike Turquette <mturquette@ti.com>
2009-07-30bitbake: Remove persist_data domain renaming code as it appears to expose ↵Richard Purdie2
sqlite bugs and data consistency issues Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-30bitbake: Make sure tables exist when renamingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-29bitbake: Add a --revisions-changed commandline option to indicate when ↵Richard Purdie3
floating srcrevs have changed Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-29bitbake: Add renameDomain and getKeyValues functions to the persistent data codeRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-29bitbake runqueue: Add a minor speedup to the runqueue codeRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-23bitbake: Make sure regexp patterns are consistent in providers.pyRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-23bitbake: Add a cache around PACKAGES_DYNAMIC regexps to help performance a bitRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-21bitbake: Factor some runqueue code into common functions making things more ↵Richard Purdie1
readable Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-21bitbake: Fix a bug in runqueue and optimise slightly furtherRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>