-
Notifications
You must be signed in to change notification settings - Fork 1
Yocto Autobuilder
Some notes on setting up Autobuilder.
Follow the README-QUICKSTART, and SAVE the log output somewhere, it tells you what password it generated.
But where then?
Go to yocto-controller/controller.cfg And it will tell you the url used after starting the controllers and workers. Likely http://localhost:8010
So you go to your url and it has a login. what? where? Look for the password information generated in the output when you ran setup (see above).
Generating an .htpasswd file using your current username and RrPes4um at /media/data1/repositories/yocto-autobuilder/.htpasswd
If you're done builds before you'll have a download directory. Save some time and point to it to save fetching.
config/autobuilder.conf has pretty much all the default settings for paths etc. you'll note there is /tmp/yocto-autobuilder
symlink it to somewhere you would prefer and you can avoid modifying all the other settings pointing to that directory, including you're download directory.
Edit config/autobuilder.conf and add publish sstate, so they can be re-used for developer/local builds. PUBLISH_SSTATE = True
Because meta-openembedded is a git repo with multiple layers, but the root is not a layer, you will need to set autoinclude to False for the bblayers to be setup correctly, and add additional layers.
[nightly-mine]builders: 'example-worker' repos: [{'poky':
- {'repourl':'/media/data1/www/git.yoctoproject.org/poky',
- 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-
- poky'},
'branch':'rocko'}},
- {'meta-openembedded':
- {'repourl':'/media/data1/www/git.openembedded.org/meta-openembedded',
- 'branch':'rocko', 'autoinclude':False}}]
- steps: [{'SetDest':{}},
-
{'CheckOutLayers': {}}, {'RunPreamble': {}}, {'CreateAutoConf': {'machine': 'qemuarm',
'distro': 'poky', 'buildhistory' : False}},
- {'CreateBBLayersConf': {'buildprovider' : 'yocto',
-
- 'layerdirs': ['meta-openembedded/meta-oe',
- 'meta-openembedded/meta-python', 'meta-openembedded/meta-networking', 'meta-openembedded/meta-perl'] }},
{'BuildImages': {'images': 'core-image-minimal, core-image-sato'}}, ]
scheduler: [{'day':{'hour':18, 'minute':00}}, {'night':{'hour':23, 'minute':59}}]