AutoBuilder Cluster Setup: Difference between revisions
From Yocto Project
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
* update config/autobuilder.conf and yocto-worker/buildbot.tac | * update config/autobuilder.conf and yocto-worker/buildbot.tac | ||
* Install the requirements from http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html | * Install the requirements from http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html | ||
* git clone --single-branch http://git.yoctoproject.org/git/poky /root/poky | * git clone --single-branch http://git.yoctoproject.org/git/poky /root/poky (consider moving this out of /root) | ||
* Install http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.1.sh to /opt/poky | * Install http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.1.sh to /opt/poky | ||
* Add startup scripts to create tap devs and start vncserver | * Add startup scripts to create tap devs and start vncserver |
Revision as of 19:00, 19 July 2016
- Install base OS with minimal target
- Add pokybuild user (uid=6000)
- Set up buildset-config, either:
- edit one of the several examples included in repo e.g. cp -r buildset-config.controller buildset-config
- Add ssh key to clone production yocto-autobuilder
- git clone http://git.yoctoproject.org/git/yocto-autobuilder && cd yocto-autobuilder && git remote add prod git@git.yoctoproject.org:yocto-autobuilder-production && git checkout -b yoctoio prod/yoctoio
- update config/autobuilder.conf and yocto-worker/buildbot.tac
- Install the requirements from http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html
- git clone --single-branch http://git.yoctoproject.org/git/poky /root/poky (consider moving this out of /root)
- Install http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.1.sh to /opt/poky
- Add startup scripts to create tap devs and start vncserver
- cd /root/poky/scripts/; ./runqemu-gen-tapdevs 6000 100 32 /opt/poky/sysroots/x86_64-pokysdk-linux/
- /bin/su - pokybuild -c "/usr/bin/vncserver"
- Disable or edit firewall rules to allow all connections to the tap devices
- Install nfs-utils or nfs-common, add Domain to /etc/idmapd.conf, fstab entry, mount NAS
- As pokybuild
- touch ~/yocto-autobuilder/.setupdone
- . yocto-autobuilder-setup
- ./yocto-start-autobuilder worker