* [PATCH] debianize: add more types of systemd unit files
@ 2024-07-25 11:45 'Benedikt Niedermayr' via isar-users
2024-07-31 6:45 ` Uladzimir Bely
0 siblings, 1 reply; 2+ messages in thread
From: 'Benedikt Niedermayr' via isar-users @ 2024-07-25 11:45 UTC (permalink / raw)
To: isar-users
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
--
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/20240725114550.900883-1-benedikt.niedermayr%40siemens.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] debianize: add more types of systemd unit files
2024-07-25 11:45 [PATCH] debianize: add more types of systemd unit files 'Benedikt Niedermayr' via isar-users
@ 2024-07-31 6:45 ` Uladzimir Bely
0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2024-07-31 6:45 UTC (permalink / raw)
To: Benedikt Niedermayr, isar-users
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-31 6:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-25 11:45 [PATCH] debianize: add more types of systemd unit files 'Benedikt Niedermayr' via isar-users
2024-07-31 6:45 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox