Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Here are some optimizations to increase build time.  These create source and sstate cache mirrors that can be used by multiple users on a build host.

Setting up a

...

Source File Mirror

  1. Setup a workspace based on the branch to mirror (e.g. kirkstone, rdkb-2024q1-kirkstone, rdkb-2024q2-kirkstone).
  2. Add this to conf/local.conf to generate tarballs of git repos downloaded during the fetch process.
    1. BB_GENERATE_MIRROR_TARBALLS = "1"
  3. Run the fetch task for the image
    1. bitbake target --runonly=fetch
  4. When bitbake completes, the download directory will contain tarballs of source files used during the build. Copy the files to the download mirror directory.  Use --dry-run to see if everything looks sane.  Example command to copy the files.
    1. rsync --exclude=*.done --dirs -v --info=nonreg0 downloads/ /srv/rdkmirrors/downloads
  5. Add Developers can add these to conf/local.conf to use the source mirror:
    1. SOURCE_MIRROR_URL ?= "file:///srv/rdkmirrors/downloads"
    2. INHERIT += "own-mirrors"

...

...

Content by Label
showLabelsfalse
max5
spacesFORUMS
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "FORUMS"
labelskb-how-to-article

...

hiddentrue

...