Commit graph

4 commits

Author SHA1 Message Date
Andreas Henriksson
d77bdd7bc2 Install tmpfiles.d snippet to create blackbox
Create the variable content as needed instead of simply relying on
statically shipping it at initial install.
This is better aligned with the concepts of stateless systems, factory
reset, ostree, etc.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
2023-12-12 21:19:55 +10:00
Andreas Henriksson
71b9c84f99 Fix blackbox install path
The service file already uses the correct path,
so lets create the directory at the right path as well.

Fixes: #3
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
2023-12-12 21:19:55 +10:00
Andreas Henriksson
f069160e33 build: split install and install-data targets
This allows only installing the data files in case the build is done
separately (like for example when using debcargo/dh-cargo which uses
rustc --target option and thus the speakersafetyd ends up in a different
path which includes the target).

While at it also mark all targets as PHONY, since none of them are
backed by an actual file with the same name.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
2023-12-11 21:57:40 +10:00
Hector Martin
a769d555e5 Add Makefile
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-10-30 18:59:01 +09:00