<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/adm8668/base-files/lib, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC</title>
<updated>2014-06-02T12:43:22+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2014-06-02T12:43:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f933a741a9c44cea58b2b3837dca99fc55d0b957'/>
<id>f933a741a9c44cea58b2b3837dca99fc55d0b957</id>
<content type='text'>
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] &amp;&amp; . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] &amp;&amp; . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf &lt;bittorf@bluebottle.com&gt;

SVN-Revision: 40915
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] &amp;&amp; . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] &amp;&amp; . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf &lt;bittorf@bluebottle.com&gt;

SVN-Revision: 40915
</pre>
</div>
</content>
</entry>
<entry>
<title>preinit: move cmdline failsafe= handling ot the generic code</title>
<updated>2013-04-25T19:02:37+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2013-04-25T19:02:37+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=831c7ea04faf74a1f30c3b03a11b3ac48bbfae48'/>
<id>831c7ea04faf74a1f30c3b03a11b3ac48bbfae48</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 36430
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 36430
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'adm8668'</title>
<updated>2010-11-06T18:54:20+00:00</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2010-11-06T18:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d9a42c5436a0bdc49696edaf80958cfa9a3f26cc'/>
<id>d9a42c5436a0bdc49696edaf80958cfa9a3f26cc</id>
<content type='text'>
SVN-Revision: 23900
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 23900
</pre>
</div>
</content>
</entry>
</feed>
