public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>,
	isar-users@googlegroups.com
Subject: Re: [PATCH] debianize: add more types of systemd unit files
Date: Wed, 31 Jul 2024 09:45:52 +0300	[thread overview]
Message-ID: <32e20341dd8b25871583da9392f59f959a3ce650.camel@ilbers.de> (raw)
In-Reply-To: <20240725114550.900883-1-benedikt.niedermayr@siemens.com>

On Thu, 2024-07-25 at 13:45 +0200, 'Benedikt Niedermayr' via isar-users
wrote:
> This adds support for deplyoing more types of systemd unit files into
> the debian folder which are then processed by different dh_*
> debhelper
> scripts.
> 
> The file naming syntax is specified in following man pages:
> 
> - dh_installsystemd
> - dh_installsystemduser
> 
> Signed-off-by: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>
> ---
>  meta/classes/debianize.bbclass | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/classes/debianize.bbclass
> b/meta/classes/debianize.bbclass
> index adb6cf2b7af1..1d5fd83c54d2 100644
> --- a/meta/classes/debianize.bbclass
> +++ b/meta/classes/debianize.bbclass
> @@ -140,8 +140,9 @@ deb_debianize() {
>  		done
>  	done
>  
> -	# handle PN.service and PN.triggers files for use with
> debhelper
> -	for f in service triggers
> +	# handle system unit files and triggers for use with
> debhelper
> +	for f in path service socket target timer triggers \
> +        user.path user.service user.socket user.target user.timer
>  	do
>  		if [ -f ${WORKDIR}/${PN}.${f} ]; then
>  			install -v -m 644 ${WORKDIR}/${PN}.${f}
> ${S}/debian/
> -- 
> 2.34.1
> 

Applied to next, thanks.

-- 
Best regards,
Uladzimir.



-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/32e20341dd8b25871583da9392f59f959a3ce650.camel%40ilbers.de.

      reply	other threads:[~2024-07-31  6:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25 11:45 'Benedikt Niedermayr' via isar-users
2024-07-31  6:45 ` Uladzimir Bely [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32e20341dd8b25871583da9392f59f959a3ce650.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=benedikt.niedermayr@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox