From: Martin Jansa Date: Wed, 9 Dec 2009 16:40:31 +0000 (+0100) Subject: obexpush: update INITSCRIPT_PARAMS to use only one digit param X-Git-Tag: Release-2010-05/1~1359 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959fa7ec51b89b5bc89d13af3aae76cf0c7ff4fe;p=openembedded.git 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 ] [-s] defaults [NN | sNN kNN]" which is quite misleading as you cannot use 's' or 'k' as prefix. Signed-off-by: Martin Jansa --- diff --git a/recipes/obexpush/obexpush_1.0.0.bb b/recipes/obexpush/obexpush_1.0.0.bb index 13b850875b..4de4cbe98f 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"