-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from hnez/scarthgap-grpc
scarthgap: update labgrid master version and add support for gRPC
- Loading branch information
Showing
4 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
DESCRIPTION = "Google gRPC channelz" | ||
HOMEPAGE = "http://www.grpc.io/" | ||
SECTION = "devel/python" | ||
|
||
LICENSE = "Apache-2.0" | ||
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" | ||
|
||
inherit pypi setuptools3 | ||
|
||
DEPENDS += "python3-grpcio" | ||
|
||
SRC_URI[sha256sum] = "6e4ac2c43d76b245c5f66d98f523db08786b186128a655ee6f20a30a7e68e4f9" | ||
|
||
RDEPENDS:${PN} = "python3-grpcio" | ||
|
||
BBCLASSEXTEND = "native nativesdk" |
16 changes: 16 additions & 0 deletions
16
recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
DESCRIPTION = "Google gRPC reflection" | ||
HOMEPAGE = "http://www.grpc.io/" | ||
SECTION = "devel/python" | ||
|
||
LICENSE = "Apache-2.0" | ||
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" | ||
|
||
inherit pypi setuptools3 | ||
|
||
DEPENDS += "python3-grpcio" | ||
|
||
SRC_URI[sha256sum] = "2dd44806d68d0006636529bda573012b19a42281478c2d051cdaaebb91e2516c" | ||
|
||
RDEPENDS:${PN} = "python3-grpcio" | ||
|
||
BBCLASSEXTEND = "native nativesdk" |
15 changes: 15 additions & 0 deletions
15
recipes-devtools/python/python3-labgrid-24.0+git/labgrid-exporter.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Unit] | ||
Description=Labgrid Exporter | ||
After=network-online.target | ||
Wants=network-online.target | ||
|
||
[Service] | ||
Environment="PYTHONUNBUFFERED=1" | ||
EnvironmentFile=/etc/labgrid/environment | ||
ExecStart=/usr/bin/labgrid-exporter --coordinator ${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT} /etc/labgrid/configuration.yaml | ||
Restart=on-failure | ||
RestartForceExitStatus=100 | ||
RestartSec=30 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters