Skip to content

Commit

Permalink
fix(coap): use expanded path for peers.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Feb 27, 2025
1 parent 9f510e4 commit 379fd4f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions laze-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -868,9 +868,12 @@ modules:
global:
FEATURES:
- ariel-os/coap-server-config-storage
PEERS_YML: ${appdir}/peers.yml
# Path is relative to the appdir from which CARGO_ENV will be interpreted
PEERS_YML: peers.yml
CARGO_ENV:
- PEERS_YML=${PEERS_YML}
# By the time a build script sees this, Cargo has chdir'd into *its*
# source, so we better pass an absolute path.
- PEERS_YML=$$(realpath ${PEERS_YML})

- name: coap-server-config-unprotected
help: Configure the CoAP server to accept any request without authorization checks.
Expand Down

0 comments on commit 379fd4f

Please sign in to comment.