Patchwork oprofileui-server: use two digit initscript sequene

login
register
mail settings
Submitter Ross Burton
Date Sept. 19, 2013, 2:13 p.m.
Message ID <1379600000-31415-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/58381/
State Accepted
Commit 8f650f2e2c8e02cc8058a29610d0d77ac1e5c64e
Headers show

Comments

Ross Burton - Sept. 19, 2013, 2:13 p.m.
initscript sequence numbers are 00-99, so using 999 resulted in systemd warning
that it couldn't find "9oprofileui-server".

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-kernel/oprofile/oprofileui-server_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
index 70a1fbf..dbb5599 100644
--- a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
@@ -26,7 +26,7 @@  do_install_append() {
 inherit update-rc.d systemd
 
 INITSCRIPT_NAME = "oprofileui-server"
-INITSCRIPT_PARAMS = "start 999 5 2 . stop 20 0 1 6 ."
+INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
 
 SYSTEMD_SERVICE_${PN} = "oprofileui-server.service"
 SYSTEMD_AUTO_ENABLE = "disable"