diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-07-07 16:24:33 +0200 |
---|---|---|
committer | Enrico Jorns <ejo@pengutronix.de> | 2016-07-08 07:53:58 +0200 |
commit | 75acf6aff966bc02c225d61e3abc71df47093c63 (patch) | |
tree | f7aa9f13f424241c51925582af9faa2878b0ae96 /recipes-core | |
parent | bc72d937cc1c8d6fd8364fc516422eb02a56a292 (diff) | |
download | meta-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.service | 1 |
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 |