Commit 9f83c110 authored by Łukasz Nowak's avatar Łukasz Nowak

- use informative name of part

 - reuse buildout possibility to use local variable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31948 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 49e1d62b
...@@ -6,7 +6,7 @@ parts += ...@@ -6,7 +6,7 @@ parts +=
env env
mysql-bin mysql-bin
mysql-admin mysql-admin
mysql_install_db mysql-instance
mycnf mycnf
mysqld-bin mysqld-bin
cmf15 cmf15
......
...@@ -7,7 +7,7 @@ parts = ...@@ -7,7 +7,7 @@ parts =
env env
mysql-bin mysql-bin
mysql-admin mysql-admin
mysql_install_db mysql-instance
mysqld-bin mysqld-bin
[ports] [ports]
...@@ -34,11 +34,11 @@ recipe = collective.recipe.template ...@@ -34,11 +34,11 @@ recipe = collective.recipe.template
input = ${buildout:directory}/mysql-instance/templates/mysqld.in input = ${buildout:directory}/mysql-instance/templates/mysqld.in
output = ${buildout:directory}/bin/mysqld output = ${buildout:directory}/bin/mysqld
[mysql_install_db] [mysql-instance]
recipe = plone.recipe.command recipe = plone.recipe.command
command = command =
${software_definition:mysql_software}/bin/mysql_install_db --datadir=${mycnf:datadir} ${software_definition:mysql_software}/bin/mysql_install_db --datadir=${mycnf:datadir}
update-command = ${mysql_install_db:command} update-command = ${:command}
[mycnf] [mycnf]
recipe = plone.recipe.command recipe = plone.recipe.command
......
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