Skip to content
Snippets Groups Projects
Commit ad4c8f83 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed logs permissions and added symlink to config file for buildtree.

parent dabbdd10
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ if [[ -n ${BUILDTREE_BASE} ]]; then
chmod 666 /dev/nst* /dev/st* /dev/sg*
# creating /var/log/cta needed by taped
mkdir -p /var/log/cta
chmod a+rwx /var/log/cta
else
# some yum optimisations for the standard system
SQUID_PROXY=squid.kube-system.svc.cluster.local
......
......@@ -2,6 +2,9 @@
# make symbolic links to all CTA binaries.
echo Creating symlinks for CTA binaries and symlinks.
echo Creating symlinks for CTA binaries.
ln -s -v -t /usr/bin `find ${BUILDTREE_BASE}/${BUILDTREE_SUBDIR} -type f -executable | egrep -v '\.so(\.|$)' | egrep -v '\.sh$' | grep -v RPM/BUILD | grep -v CMake | grep -v CPack`
echo Creating symlinks for CTA libraries.
find ${BUILDTREE_BASE}/${BUILDTREE_SUBDIR} | grep '.so$' | xargs -itoto ln -s -v -t /usr/lib64 toto
echo Creating symlink for frontend configuration file.
ln -s -v -t /etc/cta `perl -e 'while (<>) { if (/cta_SOURCE_DIR:STATIC=(.*)/ ) { print $1."\n"; } }' < ${BUILDTREE_BASE}/${BUILDTREE_SUBDIR}/CMakeCache.txt`/xroot_plugins/cta-frontend-xrootd.conf
......@@ -43,4 +43,3 @@ all.export /ctafrontend nolock r/w
# a substring of '/ctafrontend', so it is not possible to simply export '/'.
all.export /Y3Rh
all.export /L3Vzci9iaW4vY3Rh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment