From: "'Benedikt Niedermayr' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Subject: [PATCH] debianize: add more types of systemd unit files
Date: Thu, 25 Jul 2024 13:45:50 +0200 [thread overview]
Message-ID: <20240725114550.900883-1-benedikt.niedermayr@siemens.com> (raw)
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.
next reply other threads:[~2024-07-25 11: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 [this message]
2024-07-31 6:45 ` Uladzimir Bely
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=20240725114550.900883-1-benedikt.niedermayr@siemens.com \
--to=isar-users@googlegroups.com \
--cc=benedikt.niedermayr@siemens.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