Skip to contentSkip to conversation

package/samba4: fix systemd support

PATCH New Bernd Kuhls 2 participants 3 messages Nov 24, 2018 – Nov 25, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/samba4: fix systemd support

Fixes
http://autobuild.buildroot.net/results/a09/a09a065c523931c1892e81a99c57521fbe095d8b/

---
 package/samba4/samba4.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/samba4/samba4.mk +3 -3
index d95b4edfa4..075c018eb4 100644
@@ -162,11 +162,11 @@ define SAMBA4_INSTALL_INIT_SYSV
 endef
 
 define SAMBA4_INSTALL_INIT_SYSTEMD
-	$(INSTALL) -D -m 644 $(@D)/packaging/systemd/nmb.service \
+	$(INSTALL) -D -m 644 $(@D)/bin/default/packaging/systemd/nmb.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/nmb.service
-	$(INSTALL) -D -m 644 $(@D)/packaging/systemd/smb.service \
+	$(INSTALL) -D -m 644 $(@D)/bin/default/packaging/systemd/smb.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/smb.service
-	$(INSTALL) -D -m 644 $(@D)/packaging/systemd/winbind.service \
+	$(INSTALL) -D -m 644 $(@D)/bin/default/packaging/systemd/winbind.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/winbind.service
 	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
 	ln -sf ../../../../usr/lib/systemd/system/nmb.service \
Signature · 1 line
2.19.1
#2 lore raw

PATCH 1/1 package/samba4: fix systemd support

In reply to Bernd Kuhls

Hello,

Quoted 7 lines · Bernd Kuhls

Fixes
http://autobuild.buildroot.net/results/a09/a09a065c523931c1892e81a99c57521fbe095d8b/

---
 package/samba4/samba4.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Fabrice Fontaine has contributed an improved version of this patch, with a better implementation and commit log, so I've applied Fabrice's
solution: https://patchwork.ozlabs.org/patch/1002712/. Let me now if you see any problem with Fabrice's patch.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com