diff options
author | Lauren Perry <lauren.perry@codethink.co.uk> | 2016-05-18 06:51:58 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2016-05-23 11:09:47 +0000 |
commit | 1971013237abaa4494fce3987c026f01d506708e (patch) | |
tree | e8590cca4a6897f86f19f19337e43ba260fa8526 /strata | |
parent | c7095873dcd1e3cfa0af41bea48eedf1b06f8906 (diff) | |
download | definitions-1971013237abaa4494fce3987c026f01d506708e.tar.gz |
Add rvi_core stratum and build instructions
Change-Id: I05936c05dc7f2e4ffb7b37166ce3be830cb42bb3
Diffstat (limited to 'strata')
-rw-r--r-- | strata/rvi.morph | 11 | ||||
-rw-r--r-- | strata/rvi/rvi_core.morph | 16 |
2 files changed, 27 insertions, 0 deletions
diff --git a/strata/rvi.morph b/strata/rvi.morph new file mode 100644 index 00000000..12953115 --- /dev/null +++ b/strata/rvi.morph @@ -0,0 +1,11 @@ +name: rvi +kind: stratum +build-depends: +- morph: strata/audio-bluetooth.morph +- morph: strata/erlang.morph +chunks: +- name: rvi_core + morph: strata/rvi/rvi_core.morph + repo: upstream:rvi_core + ref: 9a3db2baecdddbfba8e8bfeb71038e4de6a44225 + unpetrify-ref: v0.5.0 diff --git a/strata/rvi/rvi_core.morph b/strata/rvi/rvi_core.morph new file mode 100644 index 00000000..c34f8a97 --- /dev/null +++ b/strata/rvi/rvi_core.morph @@ -0,0 +1,16 @@ +name: rvi_core +kind: chunk +build-system: manual +build-commands: +- | + make deps + make compile + make escript +install-commands: +- | + make DESTDIR="$DESTDIR" install + install -d "$DESTDIR"/usr/lib/systemd/system + install -m 0644 yocto_template/rvi.service "$DESTDIR"/usr/lib/systemd/system +post-install-commands: +- echo "genivi.org/node/$(cat /proc/sys/kernel/random/uuid)" > "$DESTDIR"/etc/opt/rvi/device_id +- install -m 0644 priv/config/rvi_common.config "$DESTDIR"/etc/opt/rvi/rvi.config |