-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 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,31 @@ | ||
#!/bin/bash | ||
|
||
# ARGUMENTS: | ||
# $1 VERSION to install (must match repo tag) | ||
VERSION=${1} | ||
NAME=snmp | ||
FOLDER=$(dirname $(readlink -f $0)) | ||
|
||
# log output and abort on failure | ||
set -xe | ||
|
||
ibek support apt-install libsnmp-dev | ||
ibek support add-runtime-packages libsnmp40 | ||
|
||
# get the source and fix up the configure/RELEASE files | ||
ibek support git-clone ${NAME} ${VERSION} --org https://github.com/DiamondLightSource/ | ||
ibek support register ${NAME} | ||
|
||
# declare the libs and DBDs that are required in ioc/iocApp/src/Makefile | ||
ibek support add-libs devSnmp | ||
ibek support add-dbds devSnmp.dbd | ||
|
||
# global config settings | ||
${FOLDER}/../_global/install.sh | ||
|
||
# compile the support module | ||
ibek support compile ${NAME} | ||
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container. | ||
ibek support generate-links ${FOLDER} | ||
|
||
|
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,28 @@ | ||
#!/bin/bash | ||
|
||
# ARGUMENTS: | ||
# $1 VERSION to install (must match repo tag) | ||
VERSION=${1} | ||
NAME=terminalserver | ||
FOLDER=$(dirname $(readlink -f $0)) | ||
|
||
# log output and abort on failure | ||
set -xe | ||
|
||
# get the source and fix up the configure/RELEASE files | ||
ibek support git-clone ${NAME} ${VERSION} --org https://github.com/DiamondLightSource/ | ||
ibek support register ${NAME} | ||
|
||
# declare the libs and DBDs that are required in ioc/iocApp/src/Makefile | ||
ibek support add-libs terminalServer | ||
ibek support add-dbds terminalServer.dbd | ||
|
||
# global config settings | ||
${FOLDER}/../_global/install.sh | ||
|
||
# compile the support module | ||
ibek support compile ${NAME} | ||
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container. | ||
ibek support generate-links ${FOLDER} | ||
|
||
|