diff --git a/ansible/roles/gitea-actions/templates/Containerfile.platformio.j2 b/ansible/roles/gitea-actions/templates/Containerfile.platformio.j2 index acbd763..da21e24 100644 --- a/ansible/roles/gitea-actions/templates/Containerfile.platformio.j2 +++ b/ansible/roles/gitea-actions/templates/Containerfile.platformio.j2 @@ -23,7 +23,8 @@ RUN pip install --no-cache-dir platformio=={{ platformio_core_version }} # Seed project mirroring the real projects' platformio.ini so `pio pkg install` # pulls the platform + toolchain + framework packages into the core dir. RUN mkdir -p /tmp/seed/src \ - && printf '[env:seed]\nplatform = espressif32@{{ pio_espressif32_version }}\nframework = arduino\nboard = esp32dev\nboard_build.filesystem = spiffs\n' > /tmp/seed/platformio.ini \ + && printf '[env:seed]\nplatform = espressif32@{{ pio_espressif32_version }}\nframework = arduino\nboard = esp32dev\nboard_build.filesystem = spiffs\nplatform_packages = platformio/tool-esptoolpy\n' > /tmp/seed/platformio.ini \ && pio pkg install -d /tmp/seed \ + && pio pkg install -d /tmp/seed --tool platformio/tool-mkspiffs \ && rm -rf /tmp/seed \ && chmod -R a+rX ${PLATFORMIO_CORE_DIR}