summaryrefslogtreecommitdiffstats
path: root/rules/gpsd.make
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2020-08-19 12:59:09 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-08-21 22:06:43 +0200
commit537dbdecfde24dfdba056d263025b411b8a0db05 (patch)
tree9b5b7b59fdff541e2650907d9c76c9b6f61ee88f /rules/gpsd.make
parent455015358553bade699536203a16da6a87a67fdf (diff)
downloadptxdist-537dbdecfde24dfdba056d263025b411b8a0db05.tar.gz
ptxdist-537dbdecfde24dfdba056d263025b411b8a0db05.tar.xz
rules: explicitly specify sticky/setuid/setgid bits for install_* macros
Until now the bits were implied to be 0, but we should be specific here. All other packages already use the four-digit variant. These instances were found by using: git grep -e 'call install_\(alternative\|copy\|lib\), [^,]\+, [^,]\+, [^,]\+, [0-9][0-9][0-9][^0-9]' Signed-off-by: Roland Hieber <rhi@pengutronix.de> Message-Id: <20200819105909.21441-2-rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gpsd.make')
-rw-r--r--rules/gpsd.make6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/gpsd.make b/rules/gpsd.make
index 8d14dee80..0bda35d91 100644
--- a/rules/gpsd.make
+++ b/rules/gpsd.make
@@ -164,19 +164,19 @@ ifdef PTXCONF_GPSD_GPSDCTL
@$(call install_copy, gpsd, 0, 0, 0755, -, /usr/sbin/gpsdctl)
endif
ifdef PTXCONF_GPSD_SYSTEMD_UNIT
- @$(call install_alternative, gpsd, 0, 0, 644, \
+ @$(call install_alternative, gpsd, 0, 0, 0644, \
/usr/lib/systemd/system/gpsd.service)
@$(call install_replace, gpsd, \
/usr/lib/systemd/system/gpsd.service, \
@ARGS@, $(PTXCONF_GPSD_GPSD_ARGS))
@$(call install_link, gpsd, ../gpsd.service, \
/usr/lib/systemd/system/multi-user.target.wants/gpsd.service)
- @$(call install_alternative, gpsd, 0, 0, 644, \
+ @$(call install_alternative, gpsd, 0, 0, 0644, \
/usr/lib/systemd/system/gpsd.socket)
@$(call install_link, gpsd, ../gpsd.socket, \
/usr/lib/systemd/system/sockets.target.wants/gpsd.socket)
ifdef PTXCONF_GPSD_GPSDCTL
- @$(call install_alternative, gpsd, 0, 0, 644, \
+ @$(call install_alternative, gpsd, 0, 0, 0644, \
/usr/lib/systemd/system/gpsdctl@.service)
endif
endif