Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
5e7cf49b
Commit
5e7cf49b
authored
Sep 11, 2012
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make symbolic link instead of copy for boinc-app input file
parent
6c7ca2c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
slapos/recipe/boinc/configure.py
slapos/recipe/boinc/configure.py
+2
-2
stack/boinc/instance.cfg
stack/boinc/instance.cfg
+0
-12
No files found.
slapos/recipe/boinc/configure.py
View file @
5e7cf49b
...
...
@@ -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 027
7
0 -R %s %s, %s %s %s"
%
(
upload
,
inc
,
cmd
=
"chmod 027
0
0 -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'
]))
...
...
stack/boinc/instance.cfg
deleted
100644 → 0
View file @
6c7ca2c7
[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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment