summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-07-07 16:24:33 +0200
committerEnrico Jorns <ejo@pengutronix.de>2016-07-08 07:53:58 +0200
commit75acf6aff966bc02c225d61e3abc71df47093c63 (patch)
treef7aa9f13f424241c51925582af9faa2878b0ae96 /recipes-core
parentbc72d937cc1c8d6fd8364fc516422eb02a56a292 (diff)
downloadmeta-ptx-75acf6aff966bc02c225d61e3abc71df47093c63.tar.gz
meta-ptx-75acf6aff966bc02c225d61e3abc71df47093c63.tar.xz
rc-once: set IgnoreOnIsolate=true for rc-once.service
rc-once calls 'systemctl default' which is basically 'systemctl isolate default.target'. Without IgnoreOnIsolate=true this will stop rc-once.service because it is not part of the new default target. This was never noticed because 'systemctl default' is the last command. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> [port of b67eeaef8950 from PTXdist] Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/systemd/systemd-rc-once/rc-once.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/systemd/systemd-rc-once/rc-once.service b/recipes-core/systemd/systemd-rc-once/rc-once.service
index d3377b3..550a018 100644
--- a/recipes-core/systemd/systemd-rc-once/rc-once.service
+++ b/recipes-core/systemd/systemd-rc-once/rc-once.service
@@ -1,6 +1,7 @@
[Unit]
Description=First boot services
DefaultDependencies=no
+IgnoreOnIsolate=true
After=local-fs.target
Requires=local-fs.target
After=system-update.target