Commit 3df8c8bc authored by Lu Xu's avatar Lu Xu 👀

WIP

parent e3f3552e
...@@ -92,10 +92,17 @@ url = ${:_profile_base_location_}/${:_buildout_section_name_} ...@@ -92,10 +92,17 @@ url = ${:_profile_base_location_}/${:_buildout_section_name_}
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/config/${:_buildout_section_name_} url = ${:_profile_base_location_}/config/${:_buildout_section_name_}
[gadget-directory]
recipe = slapos.recipe.build
location = ${buildout:directory}/gadget
install =
import os
os.mkdir(location)
[copy-gadget-to-software] [copy-gadget-to-software]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/gadget/${:_buildout_section_name_} url = ${:_profile_base_location_}/gadget/${:_buildout_section_name_}
destination = ${buildout:directory}/gadget/${:_buildout_section_name_} destination = ${gadget-directory:location}/${:_buildout_section_name_}
[enb.jinja2.cfg] [enb.jinja2.cfg]
<= copy-config-to-instance <= copy-config-to-instance
......
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