From dd83eed9b83bffc31db3af792d1f594d557a3751 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 20 Sep 2022 14:45:00 +0200 Subject: [PATCH] package/gpsd: drop legacy cleanup Since gpsd-3.22, the systemd service files no longer contain hard-coded paths to /usr/local/, but use @SBINDIR@ which is replaced appropriately at build time, and contains the correct path. Drop the legacy fixup now. Signed-off-by: Yann E. MORIN Cc: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit b3b962c93579f02775fbf057f317bcd58772131e) Signed-off-by: Peter Korsgaard --- package/gpsd/gpsd.mk | 8 -------- 1 file changed, 8 deletions(-) diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk index 4388b7e24d..281224dc95 100644 --- a/package/gpsd/gpsd.mk +++ b/package/gpsd/gpsd.mk @@ -225,14 +225,6 @@ define GPSD_INSTALL_INIT_SYSV $(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd endef -# systemd unit files are installed automatically, but need to update the -# /usr/local path references in the provided files to /usr. -define GPSD_INSTALL_INIT_SYSTEMD - $(SED) 's%/usr/local%/usr%' \ - $(TARGET_DIR)/usr/lib/systemd/system/gpsd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/gpsdctl@.service -endef - define GPSD_INSTALL_STAGING_CMDS (cd $(@D); \ $(GPSD_SCONS_ENV) \