Skip to content

RFC bitbake memory resident improvements

Jason Wessel bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5bitbake: Add --status-only optionbin/bitbake+14 -10 replies
2/5bitbake.lock: Add host:port to bitbake.lock for memres serverbin/bitbake lib/bb/cooker.py lib/bb/cookerdata.py +1 more+16 -20 replies
3/5bitbake, xmlrpc.py: Implement memory resident auto port configuration/restartbin/bitbake lib/bb/server/xmlrpc.py+39 -40 replies
4/5oe-init-build-env: Allow startup with and without memresoe-init-build-env oe-init-build-env-memres+27 -30 replies
5/5oe-init-build-env-memres: Add auto port functionalityoe-init-build-env-memres+16 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] bitbake memory resident improvements

The idea with this patch set is to improve the way bitbake is started up with the memory resident server. The following were the goals of this patch set.

1) Allow switching between the memres and non memres mode by sourcing the environment scripts. Example:
bash
. oe-init-build-env-memres
exit
bash
. oe-init-build-env
exit

2) Do not hard code a port number for the default memres setup. Instead allow the port number to be setup dynamically so that multiple memres servers can be started in multiple directories by multiple users on the same system.

3) Start the bitbake memory resident server as needed.
* This allows lazy start up
* Restarts the server if it should exit after an inactivity timeout
NOTE: This patch set does not implement the inactivity timeout
but it does implement the recovery.
* If the server dies it is started automatically

Cheers,
Jason