summaryrefslogtreecommitdiffstats
path: root/rules/lxc.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-09-06 21:25:27 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-09-06 21:36:40 +0200
commit780005880aea0a1af49df526f4c86dfbfd085c7f (patch)
tree1f97f98c36749ce02b4cff40bc31c42c28167861 /rules/lxc.in
parent9f0147921189b04774fdc95c358bfedbced26068 (diff)
downloadptxdist-780005880aea0a1af49df526f4c86dfbfd085c7f.tar.gz
ptxdist-780005880aea0a1af49df526f4c86dfbfd085c7f.tar.xz
lxc: LXC_SYSTEMD_UNIT should depend on INITMETHOD_SYSTEMD
otherwise it can be enabled for other init systems. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/lxc.in')
-rw-r--r--rules/lxc.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/lxc.in b/rules/lxc.in
index 571a3dff6..88da0f173 100644
--- a/rules/lxc.in
+++ b/rules/lxc.in
@@ -23,7 +23,8 @@ if LXC
config LXC_SYSTEMD_UNIT
bool
prompt "LXC systemd unit"
- default INITMETHOD_SYSTEMD
+ default y
+ depends on INITMETHOD_SYSTEMD
help
Turn on to install systemd unit for lxc