From e58b2350e8367bea25defcf22fcfd1787003281f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com> Date: Fri, 3 Jun 2011 16:25:37 +0200 Subject: [PATCH] Mysql software release : Add eggs part, hopefully right order --- software/mysql/software.cfg | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/software/mysql/software.cfg b/software/mysql/software.cfg index e5cd7660c8..4fc573863b 100644 --- a/software/mysql/software.cfg +++ b/software/mysql/software.cfg @@ -7,7 +7,6 @@ extensions = slapos.tool.networkcache slapos.zcbworkarounds slapos.rebootstrap - mr.developer find-links = http://www.nexedi.org/static/packages/source/slapos.buildout/ @@ -26,6 +25,7 @@ versions = versions parts += # Create instance template template + eggs instance-recipe-egg # XXX: Workaround of SlapOS limitation @@ -47,6 +47,15 @@ stop-on-error = true command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1; update-command = cd ${:location} && ${git:location}/bin/git pull --quiet +[eggs] +# Just so buildout executes [slaposcookbook] before [eggs], as +# - [eggs] references [slaposcookbook] +# - [instance-recipe] needs [slaposcookbook] to be finished +# - we cannot rely on anything else being executed before [instance-recipe] +slaposcookbook_dummy = ${slaposcookbook:location} +extra-paths += + ${products-erp5:location} + [instance-recipe] egg = slapos.cookbook module = mysql -- 2.30.9