AsahiLinux / speakersafetyd

Rust speaker safety daemon for Asahi Linux
MIT License
128 stars 9 forks source link

Fix blackbox path in Makefile install target #5

Closed andhe closed 10 months ago

andhe commented 10 months ago

The Makefile has a typo so that it creates the blackbox directory under /var/speakersafetyd/... instead of /var/lib/speakersafetyd/.... The former is not FHS compliant according to lintian (debian lint tool) and is obviously a typo since the speakersafetyd.service file also spells out the full blackbox path and uses the latter.

This MR includes a commit fixing the Makefile and then a bonus commit that adds a tmpfiles.d snippet that (re)creates the blackbox directory when/if needed since it's living under /var.

chadmed commented 10 months ago

please add the added file to the uninstall rule too

andhe commented 10 months ago

please add the added file to the uninstall rule too

fixed.