pothosware / SoapyRemote

Use any Soapy SDR remotely
https://github.com/pothosware/SoapyRemote/wiki
Boost Software License 1.0
114 stars 22 forks source link

Fix install path for systemd file #83

Closed kerel-fs closed 3 years ago

kerel-fs commented 3 years ago

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

guruofquality commented 3 years ago

I agree, but I wanted to simplify this a bit: https://github.com/pothosware/SoapyRemote/pull/85

guruofquality commented 3 years ago

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