firmware
firmware copied to clipboard
[Bug]: Dockerfile: --hwid: (PROGRAM ERROR) Option should have been recognized!?
Category
Other
Hardware
Not Applicable
Firmware Version
n/a
Description
If you follow Usage with Docker and execute:
docker run --rm -p 4403:4403 meshtastic/device
You get:
meshtasticd: --hwid: (PROGRAM ERROR) Option should have been recognized!?
Because of this in the Dockerfile:
--hwid=${HWID:-$RANDOM}
But neither of these variables are set and I'm not sure how this is supposed to work. I assume HWID
should be a build argument but what about RANDOM
?
Relevant log output
No response
Ran into the same issue. How do I go about fixing this?
@ymilord remove --hwid=${HWID:-$RANDOM}
from the Dockerfile and build the image again
Thanks