Experimental Physics and Industrial Control System
|
On 5/13/24 12:37, Johnson, Andrew N. via Tech-talk wrote:
> IIRC the original build rules for DB_INSTALLS allow the source path to point into a support module or other external directory, whereas the DB rules were designed for generating and copying files from the local application only. Thus you can use DB_INSTALLS += $(ASYN)/db/asynRecord.dbto copy that file from your Asyn module into the IOC's $(TOP)/dbdirectory.
... so that an iocsh script need only read files from "$(TOP)/db".
I see this as an important complement to static linking of IOC executables.
Both act to "isolate" an IOC instance from changes to files elsewhere in
the system. Hopefully avoiding a situation where an unplanned IOC restart
picks up unexpected changes.
It's a design choice, in the end. This isolation is appropriate for the "self-containing" approach, while in our RPM-based deployment system I *want* global files (libraries as well as db files) to be picked up by IOCs, so that after deploying a new version of one of our shared support modules - containing both shared library and the matching db files - we don't have to recompile and repackage all IOCs. (As long as the APIs - the library API and the line in the startup script - are stable.)
Cheers, ~Ralph
- References:
- difference between DB and DB_INSTALLS William Kirstaedter via Tech-talk
- Re: difference between DB and DB_INSTALLS Ralph Lange via Tech-talk
- Re: difference between DB and DB_INSTALLS Johnson, Andrew N. via Tech-talk
- Re: difference between DB and DB_INSTALLS Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
RE: Magna Power TS Abdalla Ahmad via Tech-talk
- Next:
Re: Changing runtime limits with Channel Access Ulrik Pedersen via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
<2024>
- Navigate by Thread:
- Prev:
Re: difference between DB and DB_INSTALLS Michael Davidsaver via Tech-talk
- Next:
Magna Power TS Zumbruch, Peter Dr. via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
<2024>
|
ANJ, 11 Sep 2024 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|