runfalk / synology-wireguard

WireGuard support for some Synology NAS drives
MIT License
919 stars 131 forks source link

Fixes issue with building Wireguard package withdocker on DSM 7.0 #88 #127

Open bb-Ricardo opened 2 years ago

bb-Ricardo commented 2 years ago

The build env extracts an own set of "/dev" inside the chroot and somehow the container is not able to write to /dev/null or read from other devices. This patch adds a bind mount to mount the container "/dev" directory into the chroot environment. Then the build works as expected.

OrpheeGT commented 10 months ago

Just tested it and confirm it works ! It also does not break anything on standard Linux (Ubuntu) system.