summaryrefslogtreecommitdiff
path: root/strata/rvi
diff options
context:
space:
mode:
authorLauren Perry <lauren.perry@codethink.co.uk>2016-05-18 06:51:58 +0000
committerJavier Jardón <jjardon@gnome.org>2016-05-23 11:09:47 +0000
commit1971013237abaa4494fce3987c026f01d506708e (patch)
treee8590cca4a6897f86f19f19337e43ba260fa8526 /strata/rvi
parentc7095873dcd1e3cfa0af41bea48eedf1b06f8906 (diff)
downloaddefinitions-1971013237abaa4494fce3987c026f01d506708e.tar.gz
Add rvi_core stratum and build instructions
Change-Id: I05936c05dc7f2e4ffb7b37166ce3be830cb42bb3
Diffstat (limited to 'strata/rvi')
-rw-r--r--strata/rvi/rvi_core.morph16
1 files changed, 16 insertions, 0 deletions
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