~mvo/snappy-hub/snappy-examples-oem-hardware-snap

« back to all changes in this revision

Viewing changes to oem-hardware-assign/meta/package.yaml

  • Committer: Michael Vogt
  • Date: 2015-04-20 06:33:27 UTC
  • Revision ID: michael.vogt@ubuntu.com-20150420063327-bymre27wovhbia5d
minimal example for OEMs hardware-assign feature

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
name: oem-hardware-assign
 
2
vendor: snappy-devel@lists.ubuntu.com
 
3
icon: meta/serial.svg
 
4
version: 1.0
 
5
type: oem
 
6
binaries:
 
7
 - name: serial-monitor
 
8
   exec: bin/serial-monitor.sh
 
9
oem:
 
10
 hardware:
 
11
  assign:
 
12
  # note that the app-id can be from a different snap too, e.g.
 
13
  # random-app_some-service
 
14
  - app-id: oem-hardware-assign_serial-monitor
 
15
    rules:
 
16
    - kernel: ttyS0
 
17
    - kernel: ttyUSB0