[oe-commits] Martin Jansa : obexpush: update INITSCRIPT_PARAMS to use only one digit param
git version control
git at git.openembedded.org
Wed Dec 9 16:46:47 UTC 2009
Module: openembedded.git
Branch: shr/merge
Commit: 653532871267ef1bfc208e4be85ad8825f95c8c3
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=653532871267ef1bfc208e4be85ad8825f95c8c3
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Wed Dec 9 17:40:31 2009 +0100
obexpush: update INITSCRIPT_PARAMS to use only one digit param
* update-rc.d_0.7 calls "printf %02d 09" inside and 09 is considered as
octal number and it fails, then stop parameter is used as 00 and "sh:
09: invalid number" is shown in postinst.
* Maybe this should be fixed in update-rc.d as it suggests to use both
digits "update-rc.d [-n] [-r <root>] [-s] <basename> defaults [NN | sNN
kNN]" which is quite misleading as you cannot use 's' or 'k' as
prefix.
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
recipes/obexpush/obexpush_1.0.0.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/recipes/obexpush/obexpush_1.0.0.bb b/recipes/obexpush/obexpush_1.0.0.bb
index 13b8508..4de4cbe 100644
--- a/recipes/obexpush/obexpush_1.0.0.bb
+++ b/recipes/obexpush/obexpush_1.0.0.bb
@@ -14,7 +14,7 @@ S = "${WORKDIR}/obexpush"
inherit update-rc.d
INITSCRIPT_NAME = "opd"
-INITSCRIPT_PARAMS = "defaults 33 09"
+INITSCRIPT_PARAMS = "defaults 33 9"
export GLIBINC = "-I${STAGING_INCDIR}/glib-2.0"
export GLIBLIB = "-I${STAGING_LIBDIR} -lglib-2.0"
More information about the Openembedded-commits
mailing list