Skip to content

Commit d7f5826

Browse files
committed
base: update epics-base to 7.0.8.1.
This also made it necessary to update the OPCUA module, so we could keep using the prebuilt version. Since the OPCUA installation scheme was improved, manually adding the libopcua symlink is no longer necessary. Furthermore, in order to keep the image compatible with the OPCUA IOC image build, and with st.cmd files from users of the image, the IOC was installed to 'opcua', and the library to 'opcua-module'; this is transparent to users, thanks to the RELEASE file.
1 parent f72ee54 commit d7f5826

File tree

8 files changed

+18
-52
lines changed

8 files changed

+18
-52
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Unreleased
44

5+
### New features
6+
7+
* base: update to EPICS 7.0.8.1 and OPCUA 0.10.0. by @ericonr in
8+
https://github.com/cnpem/epics-in-docker/pull/85
9+
510
## v0.12.0
611

712
### New features

base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ENV EPICS_RELEASE_FILE $EPICS_IN_DOCKER/RELEASE
4646

4747
WORKDIR /opt/epics
4848

49-
COPY backport-epics-base-musl.patch epics-base-static-linking.patch $EPICS_IN_DOCKER
49+
COPY epics-base-static-linking.patch $EPICS_IN_DOCKER
5050
COPY epics_versions.sh install_epics.sh $EPICS_IN_DOCKER
5151
RUN $EPICS_IN_DOCKER/install_epics.sh
5252

base/backport-epics-base-musl.patch

Lines changed: 0 additions & 42 deletions
This file was deleted.

base/epics_versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
EPICS_BASE_VERSION=7.0.7
1+
EPICS_BASE_VERSION=7.0.8.1

base/install_epics.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ set -ex
88
lnls-get-n-unpack -l https://epics-controls.org/download/base/base-${EPICS_BASE_VERSION}.tar.gz
99
mv base-${EPICS_BASE_VERSION} ${EPICS_BASE_PATH}
1010

11-
patch -d ${EPICS_BASE_PATH} -Np1 < $EPICS_IN_DOCKER/backport-epics-base-musl.patch
1211
patch -d ${EPICS_BASE_PATH} -Np1 < $EPICS_IN_DOCKER/epics-base-static-linking.patch
1312

1413
if [ -n "$COMMANDLINE_LIBRARY" ]; then

base/install_opcua.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ set -ex
77
. $EPICS_IN_DOCKER/opcua_versions.sh
88

99
opcua_release_url=https://github.com/epics-modules/opcua/releases/download/v${OPCUA_VERSION}
10-
opcua_release_file=IOC_opcua-${OPCUA_VERSION}_Base-${EPICS_BASE_VERSION}_debian${DEBIAN_VERSION%.*}.tar.gz
10+
opcua_release_file=BDIST_opcua-${OPCUA_VERSION}_Base-${EPICS_BASE_VERSION}_debian${DEBIAN_VERSION%.*}.tar.gz
1111
lnls-get-n-unpack -l $opcua_release_url/$opcua_release_file
12+
rm HOW_TO.md
1213

13-
mv binaryOpcuaIoc opcua
14-
install_module -i opcua OPCUA "
14+
mv opcuaBinaryDist opcua-module
15+
install_module opcua-module OPCUA "
1516
EPICS_BASE
1617
"
1718

18-
EPICS_HOST_ARCH=`perl ${EPICS_BASE_PATH}/lib/perl/EpicsHostArch.pl`
19-
ln -s ${EPICS_MODULES_PATH}/opcua/{opcuaIocApp/libopcua.so.0.9,lib/${EPICS_HOST_ARCH}/libopcua.so}
19+
mv opcuaExampleIoc opcua
20+
install_module -i opcua OPCUA_IOC "
21+
EPICS_BASE
22+
OPCUA
23+
"

base/musl/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ENV EPICS_RELEASE_FILE $EPICS_IN_DOCKER/RELEASE
4747

4848
WORKDIR /opt/epics
4949

50-
COPY backport-epics-base-musl.patch epics-base-static-linking.patch $EPICS_IN_DOCKER
50+
COPY epics-base-static-linking.patch $EPICS_IN_DOCKER
5151
COPY epics_versions.sh install_epics.sh $EPICS_IN_DOCKER
5252
RUN COMMANDLINE_LIBRARY=READLINE_NCURSES $EPICS_IN_DOCKER/install_epics.sh
5353

base/opcua_versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
OPCUA_VERSION=0.9.4
1+
OPCUA_VERSION=0.10.0

0 commit comments

Comments
 (0)