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 +=
env
mysql-bin
mysql-admin
mysql_install_db
mysql-instance
mycnf
mysqld-bin
cmf15
......
......@@ -7,7 +7,7 @@ parts =
env
mysql-bin
mysql-admin
mysql_install_db
mysql-instance
mysqld-bin
[ports]
......@@ -34,11 +34,11 @@ recipe = collective.recipe.template
input = ${buildout:directory}/mysql-instance/templates/mysqld.in
output = ${buildout:directory}/bin/mysqld
[mysql_install_db]
[mysql-instance]
recipe = plone.recipe.command
command =
${software_definition:mysql_software}/bin/mysql_install_db --datadir=${mycnf:datadir}
update-command = ${mysql_install_db:command}
update-command = ${:command}
[mycnf]
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