From 4f4354c326e12fb85d3fdec1b82a371df430ac0f Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Tue, 22 Apr 2014 17:05:20 +0200 Subject: [PATCH] erp5.mariadb: Add convenience symlink to mysqlbinlog. --- stack/erp5/buildout.cfg | 2 +- stack/erp5/instance-mariadb.cfg.in | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stack/erp5/buildout.cfg b/stack/erp5/buildout.cfg index 996210624..bb678527a 100644 --- a/stack/erp5/buildout.cfg +++ b/stack/erp5/buildout.cfg @@ -177,7 +177,7 @@ context = [template-mariadb] < = download-base filename = instance-mariadb.cfg.in -md5sum = 4d88686ec012f3eb068b9777e08e55ba +md5sum = 087e92559489e1c77a3a1ace613a6bf5 link-binary = ${coreutils:location}/bin/basename ${coreutils:location}/bin/cat diff --git a/stack/erp5/instance-mariadb.cfg.in b/stack/erp5/instance-mariadb.cfg.in index 833c6a811..bd7733b9f 100644 --- a/stack/erp5/instance-mariadb.cfg.in +++ b/stack/erp5/instance-mariadb.cfg.in @@ -163,6 +163,10 @@ recipe = slapos.cookbook:symbolic.link target-directory = ${directory:bin} link-binary = {{ dumps(parameter_dict['link-binary']) }} +[{{ section("binary-link-mysqlbinlog") }}] +< = binary-link +link-binary = {{ parameter_dict['mariadb-location'] }}/bin/mysqlbinlog + [binary-wrap-base] recipe = slapos.cookbook:wrapper # Note: --defaults-file must be the first argument, otherwise wrapped binary -- 2.30.9