[Buildroot] [PATCH 37/38] samba4: install systemd files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 5 14:11:34 UTC 2015


Dear Alex Suykov,

On Sat, 23 May 2015 13:14:42 +0300, Alex Suykov wrote:

> +define SAMBA4_INSTALL_INIT_SYSTEMD
> +	$(INSTALL) -D -m 644 $(@D)/packaging/systemd/nmb.service \
> +		$(TARGET_DIR)/usr/lib/systemd/system/nmb.service
> +	$(INSTALL) -D -m 644 $(@D)/packaging/systemd/smb.service \
> +		$(TARGET_DIR)/usr/lib/systemd/system/smb.service
> +	$(INSTALL) -D -m 644 $(@D)/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 \
> +		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/nmb.service
> +	ln -sf /usr/lib/systemd/system/smb.service \
> +		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/smb.service
> +	ln -sf /usr/lib/systemd/system/winbind.service \
> +		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/winbind.service
> +endef

I've changed to use relative paths for the symbolic links, and applied.
Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list