Closed kerel-fs closed 3 years ago
I agree, but I wanted to simplify this a bit: https://github.com/pothosware/SoapyRemote/pull/85
odly enough debian seems to do the /lib path https://unix.stackexchange.com/questions/206315/whats-the-difference-between-usr-lib-systemd-system-and-etc-systemd-system
According to the Filesystem Hierarchy Standard (see 1) /lib is reserved for "essential shared libraries and kernel modules", which doesn't include systemd unit files.
Instead our SoapySDRServer systemd unit should rather be installed at /usr/lib/..., respecting the install prefix set by "CMAKE_INSTALL_PREFIX=/usr".
Fixes installation issues on Archlinux (see 2).
Signed-off-by: Fabian P. Schmidt kerel@mailbox.org