<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/x86/base-files/lib, branch mtk-20170518</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 : drop many arch</title>
<updated>2018-09-14T20:25:09+00:00</updated>
<author>
<name>Ludovic Pouzenc</name>
<email>ludovic@pouzenc.fr</email>
</author>
<published>2018-09-14T20:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3362d9fb3a94d0909b79c290abc8db6abe4cca21'/>
<id>3362d9fb3a94d0909b79c290abc8db6abe4cca21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>x86: fix sysupgrade</title>
<updated>2014-03-21T15:55:07+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2014-03-21T15:55:07+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a14437024cf31264a4e767dad4be5f37f6211a38'/>
<id>a14437024cf31264a4e767dad4be5f37f6211a38</id>
<content type='text'>
Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.

This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.

This patch solves ticket #15042 and #14088.

Signed-off-by: Jiri Slachta &lt;slachta@cesnet.cz&gt;

SVN-Revision: 39996
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.

This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.

This patch solves ticket #15042 and #14088.

Signed-off-by: Jiri Slachta &lt;slachta@cesnet.cz&gt;

SVN-Revision: 39996
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere</title>
<updated>2013-07-14T12:56:58+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2013-07-14T12:56:58+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b95bdc8ab56e6aa53ed62d8766610f5975f05acd'/>
<id>b95bdc8ab56e6aa53ed62d8766610f5975f05acd</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 37282
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 37282
</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>Do not overload mount-call - trying to reduce confusion</title>
<updated>2012-12-19T16:07:46+00:00</updated>
<author>
<name>Mirko Vogt</name>
<email>mirko@openwrt.org</email>
</author>
<published>2012-12-19T16:07:46+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=439a869090282f229cf0edb41cc2d6e94f02b5c2'/>
<id>439a869090282f229cf0edb41cc2d6e94f02b5c2</id>
<content type='text'>
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

SVN-Revision: 34792
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

SVN-Revision: 34792
</pre>
</div>
</content>
</entry>
<entry>
<title>x86: allow both old and new grub signatures in sysupgrade</title>
<updated>2012-10-23T16:34:00+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jow@openwrt.org</email>
</author>
<published>2012-10-23T16:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f600ec5b3b916517adf9a95c768964e8759e7e04'/>
<id>f600ec5b3b916517adf9a95c768964e8759e7e04</id>
<content type='text'>
SVN-Revision: 33898
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 33898
</pre>
</div>
</content>
</entry>
<entry>
<title>x86: correct image magic for grub2 images</title>
<updated>2012-10-22T16:06:29+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2012-10-22T16:06:29+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=95e642632aec8975b2a146a13fed82bac9b67817'/>
<id>95e642632aec8975b2a146a13fed82bac9b67817</id>
<content type='text'>
Sysupgrade broke on x86 when grub2 superceded grub.  This patch
corrects tha magic_word to be expected in grub2 combined images.

Signed-off-by: Russell Senior &lt;russell@personaltelco.net&gt;

SVN-Revision: 33890
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sysupgrade broke on x86 when grub2 superceded grub.  This patch
corrects tha magic_word to be expected in grub2 combined images.

Signed-off-by: Russell Senior &lt;russell@personaltelco.net&gt;

SVN-Revision: 33890
</pre>
</div>
</content>
</entry>
<entry>
<title>x86: add grub2 iso support</title>
<updated>2012-10-07T23:01:52+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2012-10-07T23:01:52+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a1bcd25082fd6780d6eb9184acb1813bf723841f'/>
<id>a1bcd25082fd6780d6eb9184acb1813bf723841f</id>
<content type='text'>
SVN-Revision: 33639
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 33639
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix sysupgrade for squashfs, jffs2 and ext4 images</title>
<updated>2012-06-19T22:36:53+00:00</updated>
<author>
<name>Vasilis Tsiligiannis</name>
<email>acinonyx@openwrt.gr</email>
</author>
<published>2012-06-19T22:36:53+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1978c07539ef5a4933ea0a497c934ead9804309a'/>
<id>1978c07539ef5a4933ea0a497c934ead9804309a</id>
<content type='text'>
	* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
</pre>
</div>
</content>
</entry>
</feed>
