[Buildroot] [PATCH next 1/3] package/inadyn: replace local systemd unit file with upstream

Joachim Wiberg troglobit at gmail.com
Sun Dec 5 10:32:30 UTC 2021


Hi,

please ignore this specific patch repost.  I see now it actually made it
into next already.

Sorry for the noise!

Best regards
 /Joachim

On 12/5/21 11:29 AM, Joachim Wiberg wrote:
> If systemd is available at configure time, the inadyn configure script
> detects it and generates the unit file.
> 
> Also, the local unit file had the wrong absolute path to the binary.
> 
> Signed-off-by: Joachim Wiberg <troglobit at gmail.com>
> ---
>  package/inadyn/inadyn.mk      |  2 +-
>  package/inadyn/inadyn.service | 10 ----------
>  2 files changed, 1 insertion(+), 11 deletions(-)
>  delete mode 100644 package/inadyn/inadyn.service
> 
> diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk
> index fc04fd5f25..9ccb16ddfe 100644
> --- a/package/inadyn/inadyn.mk
> +++ b/package/inadyn/inadyn.mk
> @@ -31,7 +31,7 @@ define INADYN_INSTALL_INIT_SYSV
>  endef
>  
>  define INADYN_INSTALL_INIT_SYSTEMD
> -	$(INSTALL) -D -m 644 package/inadyn/inadyn.service \
> +	$(INSTALL) -D -m 644 $(@D)/inadyn.service \
>  		$(TARGET_DIR)/usr/lib/systemd/system/inadyn.service
>  endef
>  
> diff --git a/package/inadyn/inadyn.service b/package/inadyn/inadyn.service
> deleted file mode 100644
> index abc0a1e401..0000000000
> --- a/package/inadyn/inadyn.service
> +++ /dev/null
> @@ -1,10 +0,0 @@
> -[Unit]
> -Description=DDNS client
> -After=syslog.target network.target
> -
> -[Service]
> -ExecStart=/usr/bin/inadyn
> -Restart=always
> -
> -[Install]
> -WantedBy=multi-user.target
> 




More information about the buildroot mailing list