mocaccinoOS / mocaccino

:musical_score: where magic happens
72 stars 7 forks source link

Fail build for "unit-srv/dockerd" from os-commons #45

Closed welele08 closed 3 years ago

welele08 commented 3 years ago

Luet version: luet-0.20.4-g5e8a9c75dc16eedc0cf359f03e068ecaaac8d211

CPU architecture, OS, and Version: x86_64, debian

Describe the bug I failed building locally unit-srv/dockerd from os-commons. There is a missing/bad defined template.

luet build failed with a Error templating file build.yaml from /home/welele/capes/capesos/upstream-repos/os-commons/packages/runit/srv-dockerd: while rendering template: template: templates:15:12: executing "templates" at <{{template "runit_service" $opts}}>: template "runit_service" not defined

To Reproduce

  1. git clone https://github.com/mocaccinoOS/os-commons.git
  2. cd os-commons
  3. luet build runit-srv/dockerd
mudler commented 3 years ago

You need to specify the tree path with luet build --tree <path>. Can you confirm that fixes your issue?

welele08 commented 3 years ago

ok luet build --tree package unit-srv/dockerd works.