Skip to content

Commit

Permalink
debian: add wrapper scripts
Browse files Browse the repository at this point in the history
These scripts are useful to call the tools "exported" from the
virtualenv without adding /opt/venvs/labgrid/bin/ to the PATH.

Signed-off-by: Jan Luebbe <[email protected]>
  • Loading branch information
jluebbe committed May 14, 2019
1 parent be2071c commit e342831
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/labgrid-client
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

cmd="labgrid-client -c /etc/labgrid.yaml"

exec /opt/venvs/labgrid/bin/$cmd "$@"
5 changes: 5 additions & 0 deletions debian/labgrid-exporter
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

cmd="labgrid-exporter"

exec /opt/venvs/labgrid/bin/$cmd "$@"
5 changes: 5 additions & 0 deletions debian/labgrid-pytest
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

cmd="pytest"

exec /opt/venvs/labgrid/bin/$cmd "$@"
4 changes: 4 additions & 0 deletions debian/labgrid.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
debian/labgrid.yaml /etc
debian/labgrid-client /usr/bin
debian/labgrid-exporter /usr/bin
debian/labgrid-pytest /usr/bin
3 changes: 3 additions & 0 deletions debian/labgrid.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tools:
fastboot: /usr/bin/fastboot
imx-usb-loader: /usr/bin/imx-usb-loader

0 comments on commit e342831

Please sign in to comment.