From: Muhammad Shakeel Date: Wed, 2 Oct 2013 10:55:32 +0000 (+0000) Subject: systemd-compat-units: Use correct run-postinsts script link X-Git-Tag: yocto-4.0~31380 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe039170236080291c0220476a5809774f82ee5c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Muhammad Shakeel Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- 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 02c1d868214..4ebc2344cfe 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 @@ [Unit] Description=Run pending postinsts DefaultDependencies=no -ConditionPathExists=|/etc/rcS.d/S98run-postinsts +ConditionPathExists=|/etc/rcS.d/S99run-postinsts After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount Before=sysinit.target [Service] -ExecStart=/etc/rcS.d/S98run-postinsts +ExecStart=/etc/rcS.d/S99run-postinsts RemainAfterExit=No Type=oneshot StandardOutput=syslog