Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2783 | minor | always | 07-11-08 13:34 | 07-14-08 09:15 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.6 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.2.0 | ||
|
|||||
Summary: | 0002783: environment variables in resin.conf | ||||
Description: |
(rep by Robert Heerdink) We need to make use of an environmental variable inside of the resin.conf of Resin 3.0.x on Linux. We have tried several variations but it is obvious that the variable is not being used. Here is what we added to the /etc/init.d/resin : ARCH=`uname -i` export ARCH Here is what we tried in the resin/conf/resin.conf: <tree-loader path="${resin.home}/lib-${ARCH}"/> <tree-loader path="${resin.home}/lib-$ARCH"/> It works if we hard code the path in resin/conf/resin.conf: <tree-loader path="${resin.home}/lib-i386"/> Can we use shell/OS environmental variables in resin.conf? Anything in the EL functions/variables which would allow us to detect the OS architecture inside the resin.conf? |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|