From 1971013237abaa4494fce3987c026f01d506708e Mon Sep 17 00:00:00 2001 From: Lauren Perry Date: Wed, 18 May 2016 06:51:58 +0000 Subject: Add rvi_core stratum and build instructions Change-Id: I05936c05dc7f2e4ffb7b37166ce3be830cb42bb3 --- strata/rvi.morph | 11 +++++++++++ strata/rvi/rvi_core.morph | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 strata/rvi.morph create mode 100644 strata/rvi/rvi_core.morph (limited to 'strata') 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 -- cgit v1.2.1