Commit 5e7cf49b authored by Alain Takoudjou's avatar Alain Takoudjou

Make symbolic link instead of copy for boinc-app input file

parent 6c7ca2c7
......@@ -94,7 +94,7 @@ def services(args):
user_profile = os.path.join(args['installroot'], 'html/user_profile')
forum_file = os.path.join(args['installroot'], 'html/ops/create_forums.php')
project_inc = os.path.join(args['installroot'], 'html/project/project.inc')
cmd = "chmod 02770 -R %s %s, %s %s %s" % (upload, inc,
cmd = "chmod 02700 -R %s %s, %s %s %s" % (upload, inc,
languages, compiled, user_profile)
os.system("chmod g+w -R " + args['installroot'])
os.system(cmd)
......@@ -157,7 +157,7 @@ def deployApp(args):
args['appname']+'_result'))
shutil.copy(args['t_wu'], os.path.join(args['templates'],
args['appname']+'_wu'))
shutil.copy(args['t_input'], args['inputfile'])
os.symlink(args['t_input'], args['inputfile'])
shutil.copy(args['binary'], os.path.join(args['application'],
args['binary_name']))
......
[buildout]
parts =
switch_softwaretype
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[switch_softwaretype]
recipe = slapos.cookbook:softwaretype
default = ${template-boinc:output}
mariadb = ${template-mariadb:output}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment