diff --git a/software/jupyter/buildout.hash.cfg b/software/jupyter/buildout.hash.cfg index e17f38ef37f137f6c8898c89817db85c61b648b0..d978f93ec2d4312ef2fae597484b439e52f64e0b 100644 --- a/software/jupyter/buildout.hash.cfg +++ b/software/jupyter/buildout.hash.cfg @@ -16,7 +16,7 @@ [instance-jupyter-notebook] filename = instance.cfg.in -md5sum = f03d67d3e50a6b5d4572a167dc784bc1 +md5sum = 27bb1bcf71a2f637f539af697ed73445 [jupyter-notebook-config] filename = jupyter_notebook_config.py.jinja @@ -35,5 +35,5 @@ filename = kernel.json.jinja md5sum = 33547be93a67530165e079dc3ecfdac3 [custom-js] -filename = custom.js.jinja +filename = custom.js md5sum = 0bf9e2eb1718b14307265fe05a167018 diff --git a/software/jupyter/custom.js.jinja b/software/jupyter/custom.js similarity index 100% rename from software/jupyter/custom.js.jinja rename to software/jupyter/custom.js diff --git a/software/jupyter/instance.cfg.in b/software/jupyter/instance.cfg.in index 0493fe6eda1d6e1117d47c9297d6cda8a35dad9e..1ce22a0ae99363539b696a38bb94d07d57d07b5a 100644 --- a/software/jupyter/instance.cfg.in +++ b/software/jupyter/instance.cfg.in @@ -146,8 +146,7 @@ context = raw language_name python [custom-js] -<= dynamic-jinja2-template-base -template = {{ custom_js_location }}/{{ custom_js_filename }} -rendered = ${directory:jupyter_custom_dir}/custom.js -mode = 0744 +recipe = slapos.cookbook:symbolic.link +target-directory = ${directory:jupyter_custom_dir} +link-binary = {{ custom_js_location }}/custom.js