From: Patrick Wicki <[email protected]>

install defaults to mode 0755, which makes systemd complain:

  Configuration file /usr/lib/systemd/system/squid.service is marked
  executable. Please remove executable permission bits. Proceeding anyway.

Signed-off-by: Patrick Wicki <[email protected]>
---
 meta-networking/recipes-daemons/squid/squid_7.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-daemons/squid/squid_7.7.bb 
b/meta-networking/recipes-daemons/squid/squid_7.7.bb
index b657197fd7..bda8f124cb 100644
--- a/meta-networking/recipes-daemons/squid/squid_7.7.bb
+++ b/meta-networking/recipes-daemons/squid/squid_7.7.bb
@@ -117,7 +117,7 @@ do_install:append() {
     if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
d)}; then
         # Install service unit file
         install -d ${D}/${systemd_unitdir}/system
-        install ${S}/tools/systemd/squid.service ${D}/${systemd_unitdir}/system
+        install -m 0644 ${S}/tools/systemd/squid.service 
${D}/${systemd_unitdir}/system
         sed -i 's:/var/run/:/run/:g' 
${D}/${systemd_unitdir}/system/squid.service
 
         # Configure tmpfiles.d
-- 
2.56.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#248687): 
https://lists.openembedded.org/g/openembedded-core/message/248687
Mute This Topic: https://lists.openembedded.org/mt/121946510/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to