* [ptxdist] [PATCH] systemd: allow to install default user target units
@ 2018-03-23 14:28 Michael Tretter
0 siblings, 0 replies; only message in thread
From: Michael Tretter @ 2018-03-23 14:28 UTC (permalink / raw)
To: ptxdist; +Cc: Michael Tretter
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-23 14:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-23 14:28 [ptxdist] [PATCH] systemd: allow to install default user target units Michael Tretter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox