diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-10-16 13:27:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-12 17:00:07 +0000 |
commit | 52bc1c3dd72916dccf82c7ff1eb8fda9d2d12fc3 (patch) | |
tree | 0ade3f50fe23c2cba4c200b920aa9fdc2c4fa0eb /meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service | |
parent | 9f52614bd699ae6d51c6460f604b84dd16c77567 (diff) | |
download | poky-52bc1c3dd72916dccf82c7ff1eb8fda9d2d12fc3.tar.gz |
systemd-compat-units: run-postinsts fix script link
in
commit fe039170236080291c0220476a5809774f82ee5c
Author: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Date: Wed Oct 2 10:55:32 2013 +0000
systemd-compat-units: Use correct run-postinsts script link
OE-Core commit 75a14923da1ba91eddde47f0907345c19c82d6f0 has moved
run-postinsts script execution from S98 to S99 in rcS.d. run-postinsts.service
should check for this script and run it on first boot rather than
S98run-postinsts, which is for opkg/dpkg.
the link was corrected but the mentioned commit is not available. Instead of
reverting, we use the same variable as opkg for init script ordering and drop
a note in case somebody wants to change default.
(From OE-Core master rev: 7aabc9408fb382f0ae39f9932b6d9ac391528b76)
(From OE-Core rev: 91a51e10392c0f802d6c329ad2b11ae82c55f171)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service')
-rw-r--r-- | meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service b/meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service index 4ebc2344cf..35cf3d32de 100644 --- a/meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service +++ b/meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service | |||
@@ -1,12 +1,12 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Run pending postinsts | 2 | Description=Run pending postinsts |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | ConditionPathExists=|/etc/rcS.d/S99run-postinsts | 4 | ConditionPathExists=|/etc/rcS.d/S@POSTINSTALL_INITPOSITION@run-postinsts |
5 | After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount | 5 | After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount |
6 | Before=sysinit.target | 6 | Before=sysinit.target |
7 | 7 | ||
8 | [Service] | 8 | [Service] |
9 | ExecStart=/etc/rcS.d/S99run-postinsts | 9 | ExecStart=/etc/rcS.d/S@POSTINSTALL_INITPOSITION@run-postinsts |
10 | RemainAfterExit=No | 10 | RemainAfterExit=No |
11 | Type=oneshot | 11 | Type=oneshot |
12 | StandardOutput=syslog | 12 | StandardOutput=syslog |