Skip to content

Commit

Permalink
add terminalserer and snmp
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Oct 2, 2024
1 parent c464e40 commit a5248e1
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
31 changes: 31 additions & 0 deletions snmp/install.sh
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}


28 changes: 28 additions & 0 deletions terminalserver/install.sh
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}


0 comments on commit a5248e1

Please sign in to comment.