Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Titouan Soulard
slapos
Commits
e6b837aa
Commit
e6b837aa
authored
Jan 13, 2012
by
Mayoro Diagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using configure script to remove installation files and change mode of config.php
parent
0ab77ab7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
software/zikula/instance.cfg
software/zikula/instance.cfg
+4
-0
software/zikula/software.cfg
software/zikula/software.cfg
+17
-2
No files found.
software/zikula/instance.cfg
View file @
e6b837aa
...
@@ -15,3 +15,7 @@ mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
...
@@ -15,3 +15,7 @@ mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysqld_binary = ${mariadb:location}/libexec/mysqld
mysqld_binary = ${mariadb:location}/libexec/mysqld
table_name = themes
constraint = `pn_id`>0
script = ${configure-script:location}/${configure-script:filename}
software/zikula/software.cfg
View file @
e6b837aa
...
@@ -8,6 +8,7 @@ parts =
...
@@ -8,6 +8,7 @@ parts =
eggs
eggs
instance-recipe-egg
instance-recipe-egg
downloadcache-workaround
downloadcache-workaround
configure-script
extends =
extends =
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
...
@@ -23,6 +24,16 @@ script =
...
@@ -23,6 +24,16 @@ script =
workdir = guessworkdir(extract_dir)
workdir = guessworkdir(extract_dir)
self.copyTree(workdir , "${buildout:parts-directory}/${:_buildout_section_name_}")
self.copyTree(workdir , "${buildout:parts-directory}/${:_buildout_section_name_}")
[configure-script]
recipe = slapos.recipe.download
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = https://gitorious.org/~mayoro/slapos/yoro-slapos/blobs/raw/master/software/zikula/configure-zikula.py
md5sum = c4d5f87d8f02cad3f20e679160195f48
filename = configure-zikula.py
download-only = True
mode = 0744
[instance-recipe]
[instance-recipe]
egg = slapos.cookbook
egg = slapos.cookbook
module = lamp.simple
module = lamp.simple
...
@@ -31,7 +42,6 @@ module = lamp.simple
...
@@ -31,7 +42,6 @@ module = lamp.simple
# Default template for the instance.
# Default template for the instance.
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/instance.cfg
#${:_profile_base_location_}/instance.cfg
#md5sum = Student shall put md5 of instance.cfg here
#md5sum = Student shall put md5 of instance.cfg here
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
mode = 0644
...
@@ -47,7 +57,7 @@ eggs =
...
@@ -47,7 +57,7 @@ eggs =
[versions]
[versions]
# Use SlapOS patched zc.buildout
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-010
zc.buildout = 1.5.3-dev-SlapOS-010
slapos.cookbook = 0.3
2
slapos.cookbook = 0.3
4
[downloadcache-workaround]
[downloadcache-workaround]
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
...
@@ -60,3 +70,8 @@ download-cache = ${buildout:directory}/downloads
...
@@ -60,3 +70,8 @@ download-cache = ${buildout:directory}/downloads
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
update-command = ${:command}
update-command = ${:command}
stop-on-error = True
stop-on-error = True
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