bitbake.git
13 years agobitbake: use Psyco only on x86 (no support for other archs) - taken from Poky
Marcin Juszkiewicz [Thu, 23 Aug 2007 08:03:24 +0000 (08:03 +0000)]
bitbake: use Psyco only on x86 (no support for other archs) - taken from Poky

13 years agoRelease BitBake Version 1.8.8 and increase the branch version to 1.8.9
Holger Hans Peter Freyther [Sat, 18 Aug 2007 18:49:18 +0000 (18:49 +0000)]
Release BitBake Version 1.8.8 and increase the branch version to 1.8.9

13 years ago[regression] Make SRCDATE/CVSDATE for the fetchers work again. This regressed in...
Holger Hans Peter Freyther [Sat, 18 Aug 2007 17:31:56 +0000 (17:31 +0000)]
[regression] Make SRCDATE/CVSDATE for the fetchers work again. This regressed in r653

PN should always be set for files as it comes from bitbake.conf but as we are close
to a release make the least intrusive change and copy SRCDATE and CVSDATE to the above
line as well. I think the second return is dead code and we should remove it.

13 years agocooker.py: Only try to change terminal flags on terminals
Richard Purdie [Sat, 18 Aug 2007 14:46:31 +0000 (14:46 +0000)]
cooker.py: Only try to change terminal flags on terminals

13 years agofetch/__init__.py: Don't create .lock files for local files
Richard Purdie [Sat, 18 Aug 2007 14:43:20 +0000 (14:43 +0000)]
fetch/__init__.py: Don't create .lock files for local files

13 years agocookey.py: Clear the terminal TOSTOP flag if set (and warn the user)
Richard Purdie [Sat, 18 Aug 2007 10:45:49 +0000 (10:45 +0000)]
cookey.py: Clear the terminal TOSTOP flag if set (and warn the user)

13 years agorunqueue.py: Fix idepends handling to avoid dependency errors, improve debugging...
Richard Purdie [Fri, 17 Aug 2007 23:41:54 +0000 (23:41 +0000)]
runqueue.py: Fix idepends handling to avoid dependency errors, improve debugging capability

13 years agodata.py: Split expandKeys into two for loops to benefit from the expand_cache (12...
Richard Purdie [Fri, 17 Aug 2007 23:35:17 +0000 (23:35 +0000)]
data.py: Split expandKeys into two for loops to benefit from the expand_cache (12% speedup)

13 years agobb/__init.py: Sort digraph output to make builds more reproducible
Richard Purdie [Fri, 17 Aug 2007 23:31:37 +0000 (23:31 +0000)]
bb/__init.py: Sort digraph output to make builds more reproducible

13 years agoBBHandler.py/build.py: Rework add_task to be more efficient (6% speedup, 7% number...
Richard Purdie [Fri, 17 Aug 2007 23:28:57 +0000 (23:28 +0000)]
BBHandler.py/build.py: Rework add_task to be more efficient (6% speedup, 7% number of function calls reduction)

13 years agotaskdata.py: Improve dump_data debugging code
Richard Purdie [Fri, 17 Aug 2007 23:25:14 +0000 (23:25 +0000)]
taskdata.py: Improve dump_data debugging code

13 years agoPrint the list of missing DEPENDS/RDEPENDS on the "No buildable providers available...
Holger Hans Peter Freyther [Fri, 17 Aug 2007 14:46:56 +0000 (14:46 +0000)]
Print the list of missing DEPENDS/RDEPENDS on the "No buildable providers available for required build target..." error message

I'm not certain to get all occurences of fail_fnid but the printed message is a usability improvement. So this change might be not complete but good enough to be applied.

13 years agobuild.py: Expand data to addtask
Richard Purdie [Thu, 16 Aug 2007 16:35:37 +0000 (16:35 +0000)]
build.py: Expand data to addtask

13 years agoFix syntax and indention
Holger Hans Peter Freyther [Thu, 16 Aug 2007 12:35:31 +0000 (12:35 +0000)]
Fix syntax and indention

13 years agosvn.py: Handle case where SRCREV=None
Richard Purdie [Thu, 16 Aug 2007 12:29:23 +0000 (12:29 +0000)]
svn.py: Handle case where SRCREV=None

13 years agogit.py: Fix reference to tag
Richard Purdie [Thu, 16 Aug 2007 12:20:07 +0000 (12:20 +0000)]
git.py: Fix reference to tag

13 years agogit.py: Handle tag=master correctly (from poky)
Richard Purdie [Thu, 16 Aug 2007 09:56:13 +0000 (09:56 +0000)]
git.py: Handle tag=master correctly (from poky)

13 years agodata_smart.py: Add has_key() check before accessing data
Richard Purdie [Thu, 16 Aug 2007 09:54:58 +0000 (09:54 +0000)]
data_smart.py: Add has_key() check before accessing data

13 years agobitbake-1.8: Backport fixes for bugs from trunk
Richard Purdie [Thu, 16 Aug 2007 00:06:11 +0000 (00:06 +0000)]
bitbake-1.8: Backport fixes for bugs from trunk

13 years agofetch/__init__.py: Add locking so multiple fetch processes don't compete for the...
Richard Purdie [Wed, 15 Aug 2007 21:46:31 +0000 (21:46 +0000)]
fetch/__init__.py: Add locking so multiple fetch processes don't compete for the same file

13 years agoBackports to the 1.8 branch (msg.plain, providers changes)
Richard Purdie [Wed, 15 Aug 2007 08:59:14 +0000 (08:59 +0000)]
Backports to the 1.8 branch (msg.plain, providers changes)

13 years agocooker.py: Allow the -b -e option combination to take regular expressions
Richard Purdie [Sun, 12 Aug 2007 21:18:02 +0000 (21:18 +0000)]
cooker.py: Allow the -b -e option combination to take regular expressions

13 years agoConfHandler.py: Apply OVERRIDES before performing immediate expansions
Richard Purdie [Sun, 12 Aug 2007 17:06:00 +0000 (17:06 +0000)]
ConfHandler.py: Apply OVERRIDES before performing immediate expansions

13 years agobb/__init__.py: Improve which function
Richard Purdie [Sun, 12 Aug 2007 12:09:59 +0000 (12:09 +0000)]
bb/__init__.py: Improve which function

13 years agofetch/local.py: Fix local fetcher's localpath return values (remove parameters)
Richard Purdie [Sun, 12 Aug 2007 12:09:22 +0000 (12:09 +0000)]
fetch/local.py: Fix local fetcher's localpath return values (remove parameters)

13 years agofetch/__init__.py: Add SRCREV_FORMAT support
Richard Purdie [Sat, 11 Aug 2007 23:30:39 +0000 (23:30 +0000)]
fetch/__init__.py: Add SRCREV_FORMAT support

13 years agofetch/__init__.py: Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV...
Richard Purdie [Sat, 11 Aug 2007 23:11:24 +0000 (23:11 +0000)]
fetch/__init__.py: Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV cache

13 years agobitbake: Add profiling option -P
Richard Purdie [Sat, 11 Aug 2007 18:51:04 +0000 (18:51 +0000)]
bitbake: Add profiling option -P

13 years ago__fetch__.py: Correct commit
Richard Purdie [Sat, 11 Aug 2007 18:26:06 +0000 (18:26 +0000)]
__fetch__.py: Correct commit

13 years agofetch/__init__.py: Fix double newline output from fetcher commands (from poky)
Richard Purdie [Sat, 11 Aug 2007 18:24:37 +0000 (18:24 +0000)]
fetch/__init__.py: Fix double newline output from fetcher commands (from poky)

13 years agorunqueue.py: Improve the progress indicator by skipping tasks that have already run...
Richard Purdie [Sat, 11 Aug 2007 18:18:55 +0000 (18:18 +0000)]
runqueue.py: Improve the progress indicator by skipping tasks that have already run before starting the build rather than during it

13 years agofetch/__init__.py: Reinstate global urldata cache instead of using the persistent...
Richard Purdie [Sat, 11 Aug 2007 18:12:02 +0000 (18:12 +0000)]
fetch/__init__.py: Reinstate global urldata cache instead of using the persistent store for performance reasons

13 years agoproviders.py: Add pn-PN to overrides when evalutating PREFERRED_VERSION (from poky)
Richard Purdie [Sat, 11 Aug 2007 18:08:28 +0000 (18:08 +0000)]
providers.py: Add pn-PN to overrides when evalutating PREFERRED_VERSION (from poky)

13 years agolib/bb/runqueue.py: Make sure intertask depends get processed correcting in recursive...
Richard Purdie [Sun, 5 Aug 2007 23:01:23 +0000 (23:01 +0000)]
lib/bb/runqueue.py: Make sure intertask depends get processed correcting in recursive depends

13 years agoBBHandler: Don't generate the A variable which is time consuming and doesn't appear...
Richard Purdie [Sun, 5 Aug 2007 13:01:43 +0000 (13:01 +0000)]
BBHandler: Don't generate the A variable which is time consuming and doesn't appear to get used

13 years agopersist_data: Retry if database locked, update MANIFEST
Richard Purdie [Sun, 5 Aug 2007 09:31:00 +0000 (09:31 +0000)]
persist_data: Retry if database locked, update MANIFEST

13 years agogit.py: Fix tag problem
Richard Purdie [Fri, 3 Aug 2007 08:54:34 +0000 (08:54 +0000)]
git.py: Fix tag problem

13 years agofetcher updates: Add SRCREV support to git, fix svn SRCREV lockdown support, clean...
Richard Purdie [Thu, 2 Aug 2007 23:52:40 +0000 (23:52 +0000)]
fetcher updates: Add SRCREV support to git, fix svn SRCREV lockdown support, clean up fetcher force options, finish sortable_revision implementation

14 years agoWork around fetcher recursion problems for now
Richard Purdie [Tue, 31 Jul 2007 17:21:49 +0000 (17:21 +0000)]
Work around fetcher recursion problems for now

14 years agoVarious fetcher bugfixes
Richard Purdie [Tue, 31 Jul 2007 15:11:39 +0000 (15:11 +0000)]
Various fetcher bugfixes

14 years agodata.emit_var() - only call getVar if we need the variable
Richard Purdie [Tue, 31 Jul 2007 13:09:51 +0000 (13:09 +0000)]
data.emit_var() - only call getVar if we need the variable

14 years agoAdd fixes from trunk to 1.8 branch
Richard Purdie [Tue, 31 Jul 2007 08:14:50 +0000 (08:14 +0000)]
Add fixes from trunk to 1.8 branch

14 years agosvn fetcher: Add SRCREV support
Richard Purdie [Mon, 30 Jul 2007 22:57:56 +0000 (22:57 +0000)]
svn fetcher: Add SRCREV support

14 years agopersist_data.py: Try harder to import an sqlite package. Show how to change the conne...
Richard Purdie [Sun, 29 Jul 2007 21:36:04 +0000 (21:36 +0000)]
persist_data.py: Try harder to import an sqlite package. Show how to change the connection lock timeout

14 years agoevent.py: Add ConfigParsed Event after configuration parsing is complete
Richard Purdie [Sun, 29 Jul 2007 21:21:00 +0000 (21:21 +0000)]
event.py: Add ConfigParsed Event after configuration parsing is complete

14 years agopersist_data: Remove bogus testing code
Richard Purdie [Sun, 29 Jul 2007 17:28:25 +0000 (17:28 +0000)]
persist_data: Remove bogus testing code

14 years agoUpdate parser to work optimally with the new fetcher code
Richard Purdie [Sat, 28 Jul 2007 22:59:23 +0000 (22:59 +0000)]
Update parser to work optimally with the new fetcher code

14 years agoAdd persitent data store from trunk, sync the fetcher changes to use the persistent...
Richard Purdie [Sat, 28 Jul 2007 22:44:43 +0000 (22:44 +0000)]
Add persitent data store from trunk, sync the fetcher changes to use the persistent store

14 years agosvn.py: Fix #2624 and #2644 by changing svn layout in SVNDIR (backport)
Richard Purdie [Wed, 25 Jul 2007 21:26:43 +0000 (21:26 +0000)]
svn.py: Fix #2624 and #2644 by changing svn layout in SVNDIR (backport)

14 years agotags/bitbake-1.8.6: Tag BitBake-1.8.6
Holger Hans Peter Freyther [Sat, 30 Jun 2007 17:04:34 +0000 (17:04 +0000)]
tags/bitbake-1.8.6: Tag BitBake-1.8.6
    -Update ChangeLog
    -Update version(s) in the tags and in the branch

14 years agotaskdata: Remove supriours PREFERRED_PROVIDER warnings
Richard Purdie [Tue, 26 Jun 2007 16:44:48 +0000 (16:44 +0000)]
taskdata: Remove supriours PREFERRED_PROVIDER warnings

14 years agorunqueue.py: Message fix from hrw
Richard Purdie [Tue, 12 Jun 2007 10:30:46 +0000 (10:30 +0000)]
runqueue.py: Message fix from hrw

14 years agorunqueue.py: Correctly redirect stdin when forking.
Richard Purdie [Tue, 12 Jun 2007 10:26:28 +0000 (10:26 +0000)]
runqueue.py: Correctly redirect stdin when forking.
cooker.py: If parsing errors are found, exit, too many users miss the errors

14 years agoUpdate branches after release
Richard Purdie [Sun, 10 Jun 2007 17:13:46 +0000 (17:13 +0000)]
Update branches after release

14 years agobitbake trunk/1.8: Update manual
Richard Purdie [Sun, 10 Jun 2007 16:59:30 +0000 (16:59 +0000)]
bitbake trunk/1.8: Update manual

14 years agotaskdata.py: Promote certain warnings from debug to note 2 level
Richard Purdie [Sun, 20 May 2007 23:50:32 +0000 (23:50 +0000)]
taskdata.py: Promote certain warnings from debug to note 2 level

14 years agorunqueue.py: Don't run sanity checks on incomplete builds
Richard Purdie [Sun, 20 May 2007 23:19:40 +0000 (23:19 +0000)]
runqueue.py: Don't run sanity checks on incomplete builds

14 years agorunqueue.py: Use correct variable for task length
Richard Purdie [Sun, 20 May 2007 22:49:30 +0000 (22:49 +0000)]
runqueue.py: Use correct variable for task length

14 years agocooker.py: Fix invalid regexp in BBMASK error handling (missing import) (#1124)
Richard Purdie [Sun, 20 May 2007 16:35:23 +0000 (16:35 +0000)]
cooker.py: Fix invalid regexp in BBMASK error handling (missing import) (#1124)

14 years agoBBHandler.py: Raise ParseError for filenames with multiple underscores instead of...
Richard Purdie [Sun, 20 May 2007 16:24:25 +0000 (16:24 +0000)]
BBHandler.py:  Raise ParseError for filenames with multiple underscores instead of infinitely looping (1.6, 1.8, trunk)

14 years agorunqueue.py: Fix bug when target was in ASSUME_PROVIDED (#2236)
Richard Purdie [Sun, 20 May 2007 12:12:12 +0000 (12:12 +0000)]
runqueue.py: Fix bug when target was in ASSUME_PROVIDED (#2236)

14 years agoFix a second kind of __inherit_cache race (trunk + branches)
Richard Purdie [Sat, 19 May 2007 17:48:17 +0000 (17:48 +0000)]
Fix a second kind of __inherit_cache race (trunk + branches)

14 years agoparse_py/BBHandler.py: Make sure __inherit_cache is updated before calling include()
Richard Purdie [Sat, 19 May 2007 17:41:58 +0000 (17:41 +0000)]
parse_py/BBHandler.py: Make sure __inherit_cache is updated before calling include()

14 years agoRelease bitbake 1.8.2
Richard Purdie [Thu, 26 Apr 2007 11:55:38 +0000 (11:55 +0000)]
Release bitbake 1.8.2

14 years agocooker.py: Fix cache errors when generation dotGraphs
Richard Purdie [Wed, 18 Apr 2007 22:13:20 +0000 (22:13 +0000)]
cooker.py: Fix cache errors when generation dotGraphs

14 years agobuild.py: Expand dependency flag data
Richard Purdie [Tue, 3 Apr 2007 11:28:34 +0000 (11:28 +0000)]
build.py: Expand dependency flag data

14 years agobuild.py: Add missing intertask dependency code
Richard Purdie [Tue, 3 Apr 2007 09:47:00 +0000 (09:47 +0000)]
build.py: Add missing intertask dependency code

14 years agoAllow operations other than assignment on flag variables (from trunk)
Richard Purdie [Sun, 1 Apr 2007 10:05:40 +0000 (10:05 +0000)]
Allow operations other than assignment on flag variables (from trunk)

14 years agoAdd code to handle inter-task dependencies (from trunk)
Richard Purdie [Sun, 1 Apr 2007 10:04:37 +0000 (10:04 +0000)]
Add code to handle inter-task dependencies (from trunk)

14 years agoAdd PE (Package Epoch) support from Philipp Zabel (pH5) (from trunk)
Richard Purdie [Sun, 1 Apr 2007 10:02:33 +0000 (10:02 +0000)]
Add PE (Package Epoch) support from Philipp Zabel (pH5) (from trunk)

14 years agocache.py: Catch truncated cache file errors (from trunk)
Richard Purdie [Sun, 1 Apr 2007 09:59:04 +0000 (09:59 +0000)]
cache.py: Catch truncated cache file errors (from trunk)

14 years agoPrepare for release
Richard Purdie [Mon, 19 Mar 2007 21:29:26 +0000 (21:29 +0000)]
Prepare for release

14 years agoMANIFEST: Add COPYING
Richard Purdie [Mon, 19 Mar 2007 21:11:46 +0000 (21:11 +0000)]
MANIFEST: Add COPYING

14 years agoUpdate ChangeLog for 1.7.x changes, cleanup TODO
Richard Purdie [Sun, 11 Mar 2007 22:49:40 +0000 (22:49 +0000)]
Update ChangeLog for 1.7.x changes, cleanup TODO

14 years agorunqueue.py: Fix parameters to get_user_idstring()
Richard Purdie [Wed, 7 Mar 2007 14:21:47 +0000 (14:21 +0000)]
runqueue.py: Fix parameters to get_user_idstring()

14 years agoshell.py: Fix syntax warning reported by pH5
Richard Purdie [Mon, 5 Mar 2007 17:17:03 +0000 (17:17 +0000)]
shell.py: Fix syntax warning reported by pH5

14 years agobitbake-1.8: Prepare for release
Richard Purdie [Sun, 4 Mar 2007 22:44:13 +0000 (22:44 +0000)]
bitbake-1.8: Prepare for release

14 years agocooker.py: Split cook into several functions
Richard Purdie [Sun, 4 Mar 2007 20:58:20 +0000 (20:58 +0000)]
cooker.py: Split cook into several functions

14 years agorunqueue.py: Split execute_runqueue into components
Richard Purdie [Sun, 4 Mar 2007 18:27:52 +0000 (18:27 +0000)]
runqueue.py: Split execute_runqueue into components

14 years agorunqueue.py: Refactor some functions/data
Richard Purdie [Sun, 4 Mar 2007 15:41:49 +0000 (15:41 +0000)]
runqueue.py: Refactor some functions/data

14 years agocooker.py: Move some functionality to the module init function
Richard Purdie [Sun, 4 Mar 2007 15:21:36 +0000 (15:21 +0000)]
cooker.py: Move some functionality to the module init function

14 years agorunqueue.py: Try to kill remaining processes but don't error if they no longer exist...
Richard Purdie [Sun, 4 Mar 2007 15:15:38 +0000 (15:15 +0000)]
runqueue.py: Try to kill remaining processes but don't error if they no longer exist (reported by koen)

14 years agorunqueue.py: Remove extra now unneeded parameter
Richard Purdie [Sun, 4 Mar 2007 15:08:31 +0000 (15:08 +0000)]
runqueue.py: Remove extra now unneeded parameter

14 years agocooker.py: Remove old reference to BBStatistics
Richard Purdie [Sun, 4 Mar 2007 15:00:11 +0000 (15:00 +0000)]
cooker.py: Remove old reference to BBStatistics

14 years agorunqueue.py: Improve initialization instead of repeating parameters
Richard Purdie [Sun, 4 Mar 2007 14:55:06 +0000 (14:55 +0000)]
runqueue.py: Improve initialization instead of repeating parameters

14 years agocooker.py, runqueue.py: Move statistics implementation from cooker to runqueue
Richard Purdie [Sun, 4 Mar 2007 14:23:56 +0000 (14:23 +0000)]
cooker.py, runqueue.py: Move statistics implementation from cooker to runqueue

14 years agoevent.py: Remove data dependencies to resolve a dependency loop
Richard Purdie [Sun, 4 Mar 2007 13:21:14 +0000 (13:21 +0000)]
event.py: Remove data dependencies to resolve a dependency loop

14 years agoshell.py: Remove build_cache_fail references since this no longer works as intended
Richard Purdie [Sun, 4 Mar 2007 13:18:20 +0000 (13:18 +0000)]
shell.py: Remove build_cache_fail references since this no longer works as intended

14 years agoproviders.py: Remove now unused parameter from filterProviders
Richard Purdie [Sun, 4 Mar 2007 13:14:03 +0000 (13:14 +0000)]
providers.py: Remove now unused parameter from filterProviders

14 years agomsg.py: Add events for standard message types
Richard Purdie [Sun, 4 Mar 2007 13:09:53 +0000 (13:09 +0000)]
msg.py: Add events for standard message types

14 years agoBitbake: cooker.py: Fix find_bbfiles. Previously, an attempt to put a path to a...
Chris Larson [Tue, 27 Feb 2007 20:03:44 +0000 (20:03 +0000)]
Bitbake: cooker.py: Fix find_bbfiles.  Previously, an attempt to put a path to a directory (not a glob of the .bb files) in BBFILES would fail, as it was calling out 'find' but not chomping off the newlines from the find output.  Now it's using os.walk() to populate the list instead.

14 years agorunqueue.py: Fix recrdeptask handling (from poky)
Richard Purdie [Wed, 21 Feb 2007 20:53:44 +0000 (20:53 +0000)]
runqueue.py: Fix recrdeptask handling (from poky)

14 years agotrunk/bitbake: Update the MANIFEST as well
Holger Hans Peter Freyther [Fri, 16 Feb 2007 11:54:07 +0000 (11:54 +0000)]
trunk/bitbake: Update the MANIFEST as well

14 years agofetch/svn.py: use username/password when provided in SRC_URI - close OE#1781
Marcin Juszkiewicz [Tue, 23 Jan 2007 22:03:08 +0000 (22:03 +0000)]
fetch/svn.py: use username/password when provided in SRC_URI - close OE#1781

Subversion will still ask if self-signed SSL certificate will be used.

14 years agorunqueue.py: Check for failed dependencies before trying to find a fnid
Richard Purdie [Fri, 12 Jan 2007 13:17:11 +0000 (13:17 +0000)]
runqueue.py: Check for failed dependencies before trying to find a fnid

14 years agorunqueue.py: Fix prepare_runqueue parameters
Richard Purdie [Fri, 12 Jan 2007 13:04:10 +0000 (13:04 +0000)]
runqueue.py: Fix prepare_runqueue parameters

14 years agotrunk/bitbake/lib/bb/build.py: Put LC_ALL=C on os.system call
Holger Hans Peter Freyther [Wed, 10 Jan 2007 20:48:34 +0000 (20:48 +0000)]
trunk/bitbake/lib/bb/build.py: Put LC_ALL=C on os.system call
    For our french and strange friends place LC_ALL=C
    in all task calls. This should give us english log
    messages

14 years agorunqueue.py: Give the user some idea of the number of tasks involved
Richard Purdie [Sun, 7 Jan 2007 18:16:58 +0000 (18:16 +0000)]
runqueue.py: Give the user some idea of the number of tasks involved

14 years agoshell.py: Fix up force flag handling for directly named files
Richard Purdie [Sun, 7 Jan 2007 17:59:32 +0000 (17:59 +0000)]
shell.py: Fix up force flag handling for directly named files

14 years agoMake -f (force) flag handling work properly
Richard Purdie [Sun, 7 Jan 2007 17:48:58 +0000 (17:48 +0000)]
Make -f (force) flag handling work properly