Strangely this worked for me... but indeed that was something i missed by mistake. Thanks.<br clear="all"><div style="text-align:center"></div><div style="text-align:center"><div align="left" style="font-family:&#39;Times New Roman&#39;;font-size:medium">

<font face="Arial" color="#333333" size="-1"><br><b>ag</b></font></div></div><br>On Tue, Oct 2, 2012 at 7:39 PM, Martin Jansa <span dir="ltr">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt;</span> wrote:<br>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Sep 27, 2012 at 10:52:31PM +0200, Martin Jansa wrote:<br>


&gt; On Fri, Aug 17, 2012 at 05:09:34PM +0000, <a href="mailto:git@git.openembedded.org">git@git.openembedded.org</a> wrote:<br>
&gt; &gt; Module: openembedded-core.git<br>
&gt; &gt; Branch: master<br>
&gt; &gt; Commit: b97e37e1444ef32e7837dcc79e3fad36c4284b65<br>
&gt; &gt; URL:    <a href="http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=b97e37e1444ef32e7837dcc79e3fad36c4284b65" target="_blank">http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=b97e37e1444ef32e7837dcc79e3fad36c4284b65</a><br>


&gt; &gt;<br>
&gt; &gt; Author: Andrei Gherzan &lt;<a href="mailto:andrei@gherzan.ro">andrei@gherzan.ro</a>&gt;<br>
&gt; &gt; Date:   Fri Aug 17 00:15:15 2012 +0300<br>
&gt; &gt;<br>
&gt; &gt; busybox: Package hwclock.sh initscript separately<br>
&gt; &gt;<br>
&gt; &gt; We package this separately to be able to pull this in only if this makes<br>
&gt; &gt; sense for the MACHINE.<br>
&gt; &gt;<br>
&gt; &gt; Signed-off-by: Andrei Gherzan &lt;<a href="mailto:andrei@gherzan.ro">andrei@gherzan.ro</a>&gt;<br>
&gt; &gt; Signed-off-by: Saul Wold &lt;<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; ---<br>
&gt; &gt;<br>
&gt; &gt;  meta/recipes-core/busybox/busybox.inc |    5 +++--<br>
&gt; &gt;  1 files changed, 3 insertions(+), 2 deletions(-)<br>
&gt; &gt;<br>
&gt; &gt; diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc<br>
&gt; &gt; index 78239a2..5a5b383 100644<br>
&gt; &gt; --- a/meta/recipes-core/busybox/busybox.inc<br>
&gt; &gt; +++ b/meta/recipes-core/busybox/busybox.inc<br>
&gt; &gt; @@ -14,15 +14,16 @@ SECTION = &quot;base&quot;<br>
&gt; &gt;  export EXTRA_CFLAGS = &quot;${CFLAGS}&quot;<br>
&gt; &gt;  export EXTRA_LDFLAGS = &quot;${LDFLAGS}&quot;<br>
&gt; &gt;<br>
&gt; &gt; -PACKAGES =+ &quot;${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev&quot;<br>
&gt; &gt; +PACKAGES =+ &quot;${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev ${PN}-hwclock&quot;<br>
&gt; &gt;<br>
&gt; &gt;  FILES_${PN}-httpd = &quot;${sysconfdir}/init.d/busybox-httpd /srv/www&quot;<br>
&gt; &gt;  FILES_${PN}-syslog = &quot;${sysconfdir}/init.d/syslog* ${sysconfdir}/syslog-startup.conf*&quot;<br>
&gt; &gt;  FILES_${PN}-mdev = &quot;${sysconfdir}/init.d/mdev ${sysconfdir}/mdev.conf&quot;<br>
&gt; &gt;  FILES_${PN}-udhcpd = &quot;${sysconfdir}/init.d/busybox-udhcpd&quot;<br>
&gt; &gt;  FILES_${PN}-udhcpc = &quot;${sysconfdir}/udhcpc.d ${datadir}/udhcpc&quot;<br>
&gt; &gt; +FILES_${PN}-hwclock = &quot;${sysconfdir}/init.d/hwclock.sh&quot;<br>
&gt; &gt;<br>
&gt; &gt; -INITSCRIPT_PACKAGES = &quot;${PN}-httpd ${PN}-syslog ${PN}-udhcpd ${PN}-mdev&quot;<br>
&gt; &gt; +INITSCRIPT_PACKAGES = &quot;${PN}-httpd ${PN}-syslog ${PN}-udhcpd ${PN}-mdev ${PN}-hwclock&quot;&quot;<br>
&gt; &gt;<br>
&gt; &gt;  INITSCRIPT_NAME_${PN}-httpd = &quot;busybox-httpd&quot;<br>
&gt; &gt;  INITSCRIPT_NAME_${PN}-syslog = &quot;syslog&quot;<br>
&gt;<br>
&gt; Missing<br>
&gt; INITSCRIPT_NAME_${PN}-hwclock = &quot;hwclock.sh&quot;<br>
&gt; ?<br>
&gt;<br>
&gt; Did you test it?<br>
&gt;<br>
&gt; Here it fails like this:<br>
&gt; Configuring busybox-hwclock.<br>
&gt; usage: update-rc.d [-n] [-f] [-r &lt;root&gt;] &lt;basename&gt; remove<br>
&gt;        update-rc.d [-n] [-r &lt;root&gt;] [-s] &lt;basename&gt; defaults [NN | sNN kNN]<br>
&gt;        update-rc.d [-n] [-r &lt;root&gt;] [-s] &lt;basename&gt; start|stop NN runlvl [runlvl] [...] .<br>
&gt;                 -n: not really<br>
&gt;                 -f: force<br>
&gt;                 -v: verbose<br>
&gt;                 -r: alternate root path (default is /)<br>
&gt;                 -s: invoke start methods if appropriate to current runlevel<br>
&gt; Collected errors:<br>
&gt;  * pkg_run_script: package &quot;busybox-hwclock&quot; postinst script returned status 1.<br>
&gt;  * opkg_configure: busybox-hwclock.postinst returned 1.<br>
&gt;<br>
&gt; And indeed it&#39;s broken:<br>
&gt; SHR root@qemux86-64 ~ $ cat /var/lib/opkg/info/busybox-hwclock.postinst<br>
&gt; #!/bin/sh<br>
&gt; if test &quot;x$D&quot; != &quot;x&quot;; then<br>
&gt;         OPT=&quot;-r $D&quot;<br>
&gt; else<br>
&gt;         OPT=&quot;-s&quot;<br>
&gt; fi<br>
&gt; update-rc.d $OPT ${INITSCRIPT_NAME} defaults<br>
&gt;<br>
&gt; Cheers,<br>
<br>
</div></div>Fixed now in master<br>
Module: openembedded-core.git<br>
Branch: master<br>
Commit: 43b4ffc11874803db37c43b521ce27c51c677c8b<br>
URL:<br>
<a href="http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=43b4ffc11874803db37c43b521ce27c51c677c8b" target="_blank">http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=43b4ffc11874803db37c43b521ce27c51c677c8b</a><br>


<br>
Author: Richard Purdie &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt;<br>
Date:   Tue Oct  2 17:24:08 2012 +0100<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
Martin &#39;JaMa&#39; Jansa     jabber: <a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a><br>
</div></div></blockquote></div><br>