Commit 3d280f30 authored by Jérome Perrin's avatar Jérome Perrin

shared cmmi TODO: randomsleep uses slapos.recipe.build

randomsleep uses slapos.recipe.build, which does not support shared
feature.

It seems we can rewrite it using slapos.recipe.cmmi or other options ?

The work on cmmi share makes me believe slapos.recipe.build is not
necessary and we can use slapos.recipe.cmmi everywhere, but I don't know
the reason that leaded us to have two duplicates recipes in the first
place.
parent a5238d41
......@@ -8,6 +8,9 @@ parts = dcron-output
[dcron]
recipe = slapos.recipe.cmmi
# TODO: this depends on randomsleep which is not using shared cmmi
#shared = true
url = http://www.jimpryor.net/linux/releases/dcron-4.4.tar.gz
md5sum = 02d848ba043a9df5bf2102a9f4bc04bd
configure-command = true
......@@ -15,10 +18,12 @@ patches =
${:_profile_base_location_}/dcron-4.4.noroot.no.globals.patch#d5408ab682b65cc1eda40d588fcd7db8
patch-options = -p1
make-options =
PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
PREFIX=@@LOCATION@@
post-make-hook = ${:_profile_base_location_}/dcron-hooks.py#860e914dff4108b47565965fe5ebc7b5:post_make_hook
environment =
PATH=${patch:location}/bin:%(PATH)s
# XXX randomsleep is implicitly used in stack/monitor/instance-monitor.cfg.jinja2.in
randomsleep_install = ${randomsleep:location}
[dcron-output]
......
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