~canonical-ci-engineering/charms/trusty/snappy-proposed-image-builder/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Overview
--------

This charm installs the snappy-proposed-image-builder service.

Configuration
-------------

There is only one config option for this charm:

 * config-file: A base64 encoded string with the config file to use for
                snappy-proposed-image-builder.

The charm expects the payload code to be provided as 
files/snappy-proposed-image-builder.tgz (a snapshot of lp:snappy-proposed-image-builder) along
with its corresponding files/pip-cache directory (python dependencies). 

The charm expects a ubuntu-device-flash binary as well

ubuntu-device-flash
-------------------

Download ubuntu-device-flash source

  bzr branch lp:~canonical-ci-engineering/goget-ubuntu-touch/local_image goget-ubuntu-touch

Build the CI version of ubuntu-device-flash

  cd goget-ubuntu-touch/ubuntu-device-flash 

  # install the following packages
  # ubuntu-snappy-cli from ppa:snappy-dev/tools
  # kpartx
  # debsig-verify
  # golang

  export GOPATH=~/.go
  mkdir $GOPATH

  golang-go get
  golang-go build