summaryrefslogtreecommitdiff
path: root/elements/ivi/rvi/rvi_core.bst
blob: 0932c836292c0238820d118771d48a15d17cb410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
kind: manual
depends:
- bluetooth.bst
- erlang.bst
sources:
- kind: git
  url: upstream:rvi/rvi_core
  track: v0.5.0
  ref: 9a3db2baecdddbfba8e8bfeb71038e4de6a44225
config:
  build-commands:
  - |
    make deps
    make compile
    make escript
  install-commands:
  - |
    make DESTDIR="%{install-root}" install
    install -d "%{install-root}"/usr/lib/systemd/system
    install -m 0644 yocto_template/rvi.service "%{install-root}"/usr/lib/systemd/system
  - echo "genivi.org/node/$(cat /proc/sys/kernel/random/uuid)" > "%{install-root}"/etc/opt/rvi/device_id
  - install -m 0644 priv/config/rvi_common.config "%{install-root}"/etc/opt/rvi/rvi.config