silitics / rugpi

An open-source platform empowering you to build innovative devices around customized Linux distributions.
https://rugpi.io
Apache License 2.0
35 stars 1 forks source link

`./run_bakery` looking for `recipe.toml` in `.DS_Store` file on MacOS #20

Closed raryanpur closed 6 months ago

raryanpur commented 6 months ago

It looks like ./run_bakery looks for recipe.toml files in each subdirectory within /project/recipes within the build container. This causes the below error when the MacOS .DS_Store/ directory is also mounted into the build container.

Perhaps the bakery could ignore hidden directories in /project/recipes, or .DS_Store/ more specifically?

Status: Image is up to date for ghcr.io/silitics/rugpi-bakery:v0.6
 INFO baking image `pi4`
Error: loading library

Caused by:
    0: error reading recipe info from path `"/project/recipes/.DS_Store/recipe.toml"
    1: Not a directory (os error 20)