Deployment is done using Chef.
The cookbook is at chef/cookbooks/gdp
, and the role is in chef/roles/gdp.rb
.
To deploy the genivi server, all you need to do is:
cd ~/gdp-ota-setup/chef
./deploy.sh
If you need to provision a new server from scratch, do the following:
- Clone this repo to the server:
git clone git@github.com:advancedtelematic/gdp-ota-setup.git --recursive
cd gdp-ota-setup/chef
./install.sh
./deploy.sh
The file files/gdp-environment with default local LDAP configurarion is written to /etc/gdp- environment on the server. There the credentials must be added for the LDAP server.
The changes to the GDP image are in the recipes-sota
dir of a forked meta-genivi-dev layer.
It can be found here:
https://github.com/advancedtelematic/meta-genivi-dev, branch: gdp-integration
To build, follow the instructions here and in the genivi-dev-platform README.
Follow the Quickstart doc from beginning to end. Currently, an RVI bug prevents the successful download of updates, but the steps up until then should work.
From the genivi_swm project run:
sh create_update_image.sh -d libats -o libats.upd
The rpm package inside that was created with the command bitbake libats
from the gdp-src-build
dir. It is created from the recipe at meta-genivi-dev/meta-genivi-dev/recipes-sota/libats
.