From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH] systemd: allow to install default user target units
Date: Fri, 23 Mar 2018 15:28:05 +0100 [thread overview]
Message-ID: <20180323142805.27219-1-m.tretter@pengutronix.de> (raw)
The default user target units are necessary to start user sessions.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
rules/systemd.in | 4 ++++
rules/systemd.make | 3 +++
2 files changed, 7 insertions(+)
diff --git a/rules/systemd.in b/rules/systemd.in
index 266c83fc8..29d7bf2b9 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -77,6 +77,10 @@ config SYSTEMD_LOGIND
select SYSTEMD_DBUS
prompt "login daemon"
+config SYSTEMD_UNITS_USER
+ bool
+ prompt "install default user target units"
+
config SYSTEMD_NETWORK
bool
prompt "network configuration with systemd"
diff --git a/rules/systemd.make b/rules/systemd.make
index a045a9818..82fb72ada 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -379,6 +379,9 @@ endif
# # units
@$(call install_tree, systemd, 0, 0, -, /usr/lib/systemd/system/)
+ifdef PTXCONF_SYSTEMD_UNITS_USER
+ @$(call install_tree, systemd, 0, 0, -, /usr/lib/systemd/user/)
+endif
ifdef PTXCONF_SYSTEMD_VCONSOLE
@$(call install_alternative, systemd, 0, 0, 0644, /etc/vconsole.conf)
--
2.16.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2018-03-23 14:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20180323142805.27219-1-m.tretter@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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