[Buildroot] [git commit] package/gpsd: Fix systemd service installation and paths

Peter Korsgaard peter at korsgaard.com
Thu Oct 31 14:33:24 UTC 2019


>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=690222d239c951c14844c9de4f8ce485af287f9f
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > Fix several issues with systemd service file installation for gpsd:

 > - systemd support in the gpsd build was defaulting to enabled or not
 > based on whether the host system had systemd directories present. Set
 > this explicitly based on whether BR2_INIT_SYSTEMD is set.

 > - The installed systemd service files referenced paths in /usr/local when
 > the actual binaries are installed in /usr. Replace /usr/local with /usr
 > in the installed service files.

 > - When BR2_PACKAGE_HAS_UDEV was enabled, all of the binaries were
 > re-installed again, along with the udev rules, as part of the
 > post-install hooks. This overwrites the service files that were just
 > fixed up. Since udev-install implies install, we can just call
 > udev-install.

 > Signed-off-by: Robert Hancock <hancock at sedsystems.ca>
 > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

Committed to 2019.08.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list