diff options
author | 2011-06-10 10:49:23 +0200 | |
---|---|---|
committer | 2011-06-10 15:46:21 +0200 | |
commit | ea3ad6818eee8d43556bf69c337a5484eb0630e6 (patch) | |
tree | e732e03b27b20e9cbae46f15cbb80473f1eb41c9 /meta-oe/recipes-core/systemd/systemd-compat-units | |
parent | bc39328f21f06c23187d79132f6c8109ea28f15f (diff) | |
download | meta-openembedded-contrib-ea3ad6818eee8d43556bf69c337a5484eb0630e6.tar.gz |
systemd-compat-units: make opkg unit block startup
Without Type=oneshot it would configure things in the background and bootup would go as normal. Now it will block sysinit.target till it's done.
Sadly no full feedback on the console yet.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-core/systemd/systemd-compat-units')
-rw-r--r-- | meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service b/meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service index c346e57c35..43da75cfe6 100644 --- a/meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service +++ b/meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service @@ -1,10 +1,16 @@ [Unit] Description=Opkg first boot configure +DefaultDependencies=no ConditionPathExists=|/etc/rcS.d/S98configure +Before=sysinit.target systemd-tmpfiles.service [Service] ExecStart=/etc/rcS.d/S98configure -RemainAfterExit=no +RemainAfterExit=No +Type=oneshot +StandardOutput=syslog +TimeoutSec=0 [Install] WantedBy=basic.target +WantedBy=sysinit.target |