<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/base-files/files/lib/preinit, 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>merge: base: update base-files and basic config</title>
<updated>2017-12-08T18:41:18+00:00</updated>
<author>
<name>Zoltan HERPAI</name>
<email>wigyori@uid0.hu</email>
</author>
<published>2017-11-07T08:45:50+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6'/>
<id>34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6</id>
<content type='text'>
Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: drop unused preinit_echo function</title>
<updated>2017-08-09T21:23:06+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2017-08-07T06:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1e13c6f77fc02df2bd8ed237ab9208ecdefb2dab'/>
<id>1e13c6f77fc02df2bd8ed237ab9208ecdefb2dab</id>
<content type='text'>
It isn't used for years since the old 99_10_run_init has been dropped.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It isn't used for years since the old 99_10_run_init has been dropped.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: don't setup network in preinit if failsafe is disabled</title>
<updated>2017-08-09T21:18:59+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2017-08-07T09:09:33+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f41dd327223f9d21f23b481c919337b98d2a9f6e'/>
<id>f41dd327223f9d21f23b481c919337b98d2a9f6e</id>
<content type='text'>
With failsafe disabled there is no point in early network setup. We
don't send announcement over UDP and there is no way to ssh to the
device.

A side effect of this is avoiding a possibly incorrect network config
(only with failsafe disabled). This problem is related to possible
changes made by user in /etc/config/network.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With failsafe disabled there is no point in early network setup. We
don't send announcement over UDP and there is no way to ssh to the
device.

A side effect of this is avoiding a possibly incorrect network config
(only with failsafe disabled). This problem is related to possible
changes made by user in /etc/config/network.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: populate boardname and model earlier</title>
<updated>2017-07-15T21:13:34+00:00</updated>
<author>
<name>Mathias Kresin</name>
<email>dev@kresin.me</email>
</author>
<published>2017-04-07T16:09:08+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ac3e05c5d757334944fbf1f14583164cd1d69172'/>
<id>ac3e05c5d757334944fbf1f14583164cd1d69172</id>
<content type='text'>
For targets using the generic board detection and board specific
settings in diag.sh, the board name is still unset at the time the
set_state() provided by diag.sh is called by 10_indicate_preinit.

Change the execution order to ensure the boardname is populated before
required the first time. Do the target specific board detection as
early as possible, directly followed by the generic one to allow a
seamless switch to the generic function for populating /tmp/sysinfo/.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For targets using the generic board detection and board specific
settings in diag.sh, the board name is still unset at the time the
set_state() provided by diag.sh is called by 10_indicate_preinit.

Change the execution order to ensure the boardname is populated before
required the first time. Do the target specific board detection as
early as possible, directly followed by the generic one to allow a
seamless switch to the generic function for populating /tmp/sysinfo/.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: board.json's switch reset means existence, not argument</title>
<updated>2017-06-11T10:50:14+00:00</updated>
<author>
<name>Jonas Gorski</name>
<email>jonas.gorski@gmail.com</email>
</author>
<published>2017-06-11T10:50:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fd952c7a83e5357f5dcab28c0bcaca756e27eaa0'/>
<id>fd952c7a83e5357f5dcab28c0bcaca756e27eaa0</id>
<content type='text'>
Don't pass the value unconditionally to swconfig as a parameter but
instead only call reset if it is 1.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't pass the value unconditionally to swconfig as a parameter but
instead only call reset if it is 1.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: add support for staged sysupgrades from failsafe mode</title>
<updated>2017-05-29T21:50:33+00:00</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2017-04-23T23:31:04+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a5428244d969fda2b32e24b7cda589c2c65cbf7c'/>
<id>a5428244d969fda2b32e24b7cda589c2c65cbf7c</id>
<content type='text'>
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: don't overwrite model name set by target</title>
<updated>2017-01-30T07:55:41+00:00</updated>
<author>
<name>Mathias Kresin</name>
<email>dev@kresin.me</email>
</author>
<published>2017-01-28T15:19:35+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=60fce1258c5aafa8464938f3d237e92df8d6a377'/>
<id>60fce1258c5aafa8464938f3d237e92df8d6a377</id>
<content type='text'>
The condition is always true due to the literal string followed the
-n test parameter. A model name set by target scripts always gets
overwritten this way.

Change the condition to check for an already existing destination file
as it was before 5e85ae9 ("base-files: fix error message during boot").

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The condition is always true due to the literal string followed the
-n test parameter. A model name set by target scripts always gets
overwritten this way.

Change the condition to check for an already existing destination file
as it was before 5e85ae9 ("base-files: fix error message during boot").

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: set pi_ifname in board.d case to fix deconfig</title>
<updated>2016-08-14T21:10:17+00:00</updated>
<author>
<name>Jonas Gorski</name>
<email>jonas.gorski@gmail.com</email>
</author>
<published>2016-08-14T20:59:28+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=30352e72ff070d61bb12a015ffaabb08d38635f3'/>
<id>30352e72ff070d61bb12a015ffaabb08d38635f3</id>
<content type='text'>
Due to an empty pi_ifname in the generic failsafe setup, the deconfig
never removed the failsafe networking interface, causing broken
networking later on.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to an empty pi_ifname in the generic failsafe setup, the deconfig
never removed the failsafe networking interface, causing broken
networking later on.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: configure switch in failsafe</title>
<updated>2016-08-13T13:50:15+00:00</updated>
<author>
<name>Jonas Gorski</name>
<email>jonas.gorski@gmail.com</email>
</author>
<published>2016-07-28T22:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=6c9588ddf58ba1417cb92ee44d91c11bb77a7038'/>
<id>6c9588ddf58ba1417cb92ee44d91c11bb77a7038</id>
<content type='text'>
Also configure the switch based on the failsafe config, and create the
failsafe interface as tagged if necessary.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also configure the switch based on the failsafe config, and create the
failsafe interface as tagged if necessary.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: allow failsafe to configure vlans</title>
<updated>2016-08-13T13:50:06+00:00</updated>
<author>
<name>Jonas Gorski</name>
<email>jonas.gorski@gmail.com</email>
</author>
<published>2016-07-28T22:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=072cf26729aca15b8a0526f18bce2b5e7a27ab12'/>
<id>072cf26729aca15b8a0526f18bce2b5e7a27ab12</id>
<content type='text'>
In preparation of properly setting up vlans and switches, add
support for configuring failsafe on a vlan tagged interface.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation of properly setting up vlans and switches, add
support for configuring failsafe on a vlan tagged interface.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
