Patchwork systemd-compat-units: Use correct run-postinsts script link

login
register
mail settings
Submitter Shakeel, Muhammad
Date Oct. 2, 2013, 10:55 a.m.
Message ID <1380711332-10808-1-git-send-email-muhammad_shakeel@mentor.com>
Download mbox | patch
Permalink /patch/59183/
State Accepted
Commit 0d8cbc38abd313724e1eaad153d58e3fea7726a6
Headers show

Comments

Shakeel, Muhammad - Oct. 2, 2013, 10:55 a.m.
From: Muhammad Shakeel <muhammad_shakeel@mentor.com>

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 <muhammad_shakeel@mentor.com>
---
 .../systemd-compat-units/run-postinsts.service     |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

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 02c1d86..4ebc234 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