systemd-compat-units: Use correct run-postinsts script link
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>
Wed, 2 Oct 2013 10:55:32 +0000 (10:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Oct 2013 08:37:31 +0000 (09:37 +0100)
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.

(From OE-Core rev: fe039170236080291c0220476a5809774f82ee5c)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service

index 02c1d86..4ebc234 100644 (file)
@@ -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