From: Zhihang Wei <wzh@ilbers.de>
To: alexander.heinisch@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH] debianize: add support for systemd unit files
Date: Fri, 28 Nov 2025 17:07:51 +0100 [thread overview]
Message-ID: <ee266134-74c9-41ef-afa3-2b1932ebd65d@ilbers.de> (raw)
In-Reply-To: <20251126131832.179765-1-alexander.heinisch@siemens.com>
Applied to next, thanks.
Zhihang
On 11/26/25 14:18, alexander.heinisch via isar-users wrote:
> From: Alexander Heinisch <alexander.heinisch@siemens.com>
>
> Extended support for:
> - dh_installsystemd
> - dh_installsystemduser
> - dh_installtmpfiles
>
> handled files.
>
> Signed-off-by: Alexander Heinisch <alexander.heinisch@siemens.com>
> ---
> meta/classes/debianize.bbclass | 30 +++++++++++++++++++++++++-----
> 1 file changed, 25 insertions(+), 5 deletions(-)
>
> diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass
> index e29bfb1e..a629feba 100644
> --- a/meta/classes/debianize.bbclass
> +++ b/meta/classes/debianize.bbclass
> @@ -174,12 +174,32 @@ deb_debianize() {
> done
> done
>
> - # 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
> + # handle system unit files, tmpfiles and triggers for use with debhelper
> + dh_installdeb_handled=" \
> + .triggers
> + "
> +
> + dh_installsystemd_handled=" \
> + .mount .path .service .socket .target .timer \
> + @.path @.service @.socket @.target @.timer \
> + "
> +
> + dh_installsystemduser_handled=" \
> + .user.path .user.service .user.socket .user.target .user.timer \
> + @.user.path @.user.service @.user.socket @.user.target @.user.timer \
> + "
> +
> + dh_installtmpfiles_handled=" \
> + .tmpfiles
> + "
> +
> + for f in ${dh_installdeb_handled} \
> + ${dh_installsystemd_handled} \
> + ${dh_installsystemduser_handled} \
> + ${dh_installtmpfiles_handled}
> do
> - if [ -f ${WORKDIR}/${PN}.${f} ]; then
> - install -v -m 644 ${WORKDIR}/${PN}.${f} ${S}/debian/
> + if [ -f ${WORKDIR}/${PN}${f} ]; then
> + install -v -m 644 ${WORKDIR}/${PN}${f} ${S}/debian/
> fi
> done
> }
--
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 visit https://groups.google.com/d/msgid/isar-users/ee266134-74c9-41ef-afa3-2b1932ebd65d%40ilbers.de.
prev parent reply other threads:[~2025-11-28 16:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 13:18 alexander.heinisch via isar-users
2025-11-28 16:07 ` Zhihang Wei [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=ee266134-74c9-41ef-afa3-2b1932ebd65d@ilbers.de \
--to=wzh@ilbers.de \
--cc=alexander.heinisch@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