From 3b462b68cef0538210bb548eccee753a42b4ac06 Mon Sep 17 00:00:00 2001 From: Gustavo de Souza dos Reis Date: Mon, 26 Aug 2024 16:16:45 -0300 Subject: [PATCH] base: update ipmiComm patch to install general templates. --- CHANGES.md | 5 +++++ base/Dockerfile | 2 +- ...ipmicomm.patch => backport-ipmicomm.patch} | 19 +++++++++++++++++++ base/install_modules.sh | 2 +- base/musl/Dockerfile | 2 +- 5 files changed, 27 insertions(+), 3 deletions(-) rename base/{ipmicomm.patch => backport-ipmicomm.patch} (91%) diff --git a/CHANGES.md b/CHANGES.md index 0f98a69..a35fd5f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,11 @@ ## Unreleased +### New features + +* base: update ipmiComm patch to install general templates. by +@gustavosr8 in https://github.com/cnpem/epics-in-docker/pull/73. + ## v0.9.0 Users willing to use `iocStats`, `ipmiComm`, `pyDevSup`, `SNMP`, `motorPIGCS2`, diff --git a/base/Dockerfile b/base/Dockerfile index 96e08e8..be18cd6 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -65,7 +65,7 @@ ARG SNMP_VERSION ARG SCALER_VERSION ARG MCA_VERSION -COPY ipmicomm.patch . +COPY backport-ipmicomm.patch . COPY caputlog-waveform-fix.patch . COPY install_modules.sh . RUN ./install_modules.sh diff --git a/base/ipmicomm.patch b/base/backport-ipmicomm.patch similarity index 91% rename from base/ipmicomm.patch rename to base/backport-ipmicomm.patch index 26cf349..9a142b0 100644 --- a/base/ipmicomm.patch +++ b/base/backport-ipmicomm.patch @@ -1,5 +1,24 @@ From: https://github.com/slac-epics-modules/ipmiComm/pull/26/ From: https://github.com/slac-epics-modules/ipmiComm/pull/28/ +From: https://github.com/slac-epics-modules/ipmiComm/pull/29/ +diff --git a/Db/Makefile b/Db/Makefile +index 207577c..3ac6be8 100644 +--- a/Db/Makefile ++++ b/Db/Makefile +@@ -22,6 +22,13 @@ include $(TOP)/configure/CONFIG + # Optimization of db files using dbst (DEFAULT: NO) + #DB_OPT = YES. + ++# General modules ++DB += fru_common.db ++DB += fru_cu_common.db ++DB += sensor_ai.db ++DB += system_chassis_status.db ++DB += system_common.db ++ + # Files that make up our high-level templates + DB += fru_basic.db + DB += fru_extended.db diff --git a/iocs/ipmicomm-test-IOC/configure/RELEASE b/iocs/ipmicomm-test-IOC/configure/RELEASE index 2822ab1..0ab1707 100644 --- a/iocs/ipmicomm-test-IOC/configure/RELEASE diff --git a/base/install_modules.sh b/base/install_modules.sh index 9372c74..999d168 100755 --- a/base/install_modules.sh +++ b/base/install_modules.sh @@ -70,7 +70,7 @@ EPICS_BASE " download_from_github slac-epics-modules ipmiComm $IPMICOMM_VERSION -patch -d ipmiComm -Np1 < ipmicomm.patch +patch -d ipmiComm -Np1 < backport-ipmicomm.patch JOBS=1 install_module ipmiComm IPMICOMM " EPICS_BASE ASYN diff --git a/base/musl/Dockerfile b/base/musl/Dockerfile index e47ecea..826bf81 100644 --- a/base/musl/Dockerfile +++ b/base/musl/Dockerfile @@ -66,7 +66,7 @@ ARG SCALER_VERSION ARG MCA_VERSION WORKDIR ${EPICS_MODULES_PATH} -COPY ipmicomm.patch . +COPY backport-ipmicomm.patch . COPY caputlog-waveform-fix.patch . COPY install_modules.sh . RUN NEEDS_TIRPC=YES ./install_modules.sh