[med-svn] [vista] 04/04: Build upon vista-foia base install.
Luis Ibanez
luisibanez-guest at moszumanska.debian.org
Thu Jan 16 02:25:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
luisibanez-guest pushed a commit to branch master
in repository vista.
commit bc19c3fe4c6eddf07bd7ce5bb8e08fb30dc24b13
Author: Luis Ibanez <luis.ibanez at kitware.com>
Date: Wed Jan 15 21:17:52 2014 -0500
Build upon vista-foia base install.
The deployments will point to the VistA routines, and take advantage
of the gtmroutines environment variable to provide a path that search
for the routines in proper order (first the deployment and then the
base installation).
The database (globals) are simply copied from the base installation
into the deployment.
---
debian/deploy/createVistaInstance.sh | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/deploy/createVistaInstance.sh b/debian/deploy/createVistaInstance.sh
index 42afa05..893c7ad 100755
--- a/debian/deploy/createVistaInstance.sh
+++ b/debian/deploy/createVistaInstance.sh
@@ -74,6 +74,9 @@ else
gtm_arch="x86"
fi
+# VistA base installation
+vista_dir=/usr/share/vista-foia
+
# Find GT.M:
gtm_ver=6.0-003
gtm_dist=/usr/lib/fis-gtm/{gtm_ver}_{gtm_arch}
@@ -110,6 +113,10 @@ echo ${instance}prog:prog | chpasswd
# Make instance Directories
su $instance -c "mkdir -p $basedir/{p,p/$gtmver,s,s/$gtmver,r,r/$gtmver,g,j,etc,etc/xinetd.d,log,tmp,bin,lib,www,backup}"
+# Copy pristine database from installation
+su $instance -c "cp -R $vista_dir/g/database.gld $basedir/g/${instance}.gld"
+su $instance -c "cp -R $vista_dir/g/database.dat $basedir/g/${instance}.dat"
+
# Copy standard etc and bin items from repo
su $instance -c "cp -R instance/etc $basedir"
su $instance -c "cp -R instance/bin $basedir"
@@ -147,7 +154,7 @@ chown $instance:$instance $basedir/etc/env
echo "source $basedir/etc/env" >> $basedir/.bashrc
# Setup base gtmroutines
-gtmroutines="\$basedir/r/\$gtmver(\$basedir/r)"
+gtmroutines="$basedir/r/$gtmver($basedir/r) $vista_dir/o($vista_dir/r)"
# 64bit GT.M can use a shared library instead of $gtm_dist
# TODO: libgtmutil.so isn't being generated by gtminstall, need to figure out what is going on
--
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/vista.git
More information about the debian-med-commit
mailing list