<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/system/procd/files, branch reboot</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>procd: fix respawn related warning</title>
<updated>2016-03-10T20:15:59+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-03-10T20:15:59+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b756788cc40aa544a1389dc6a8aa661d536cd4e7'/>
<id>b756788cc40aa544a1389dc6a8aa661d536cd4e7</id>
<content type='text'>
WARNING: Variable 'respawn' does not exist or is not an array/object

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 48996
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WARNING: Variable 'respawn' does not exist or is not an array/object

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 48996
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: support pidfile writing.</title>
<updated>2016-03-10T19:11:17+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-03-10T19:11:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=48e6ccc4e183ce6d64bf374dec8dffbd7a7d6748'/>
<id>48e6ccc4e183ce6d64bf374dec8dffbd7a7d6748</id>
<content type='text'>
procd from revision b12bb150ed38a4409bef5127c77b060ee616b860 supports
writing a pidfile.  This adds support for setting that parameter with
standard init script hooks:

   procd_set_param pidfile /var/run/someprocess.pid

Signed-off-by: Karl Palsson &lt;karlp@etactica.com&gt;

SVN-Revision: 48984
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
procd from revision b12bb150ed38a4409bef5127c77b060ee616b860 supports
writing a pidfile.  This adds support for setting that parameter with
standard init script hooks:

   procd_set_param pidfile /var/run/someprocess.pid

Signed-off-by: Karl Palsson &lt;karlp@etactica.com&gt;

SVN-Revision: 48984
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: Allow to configure default respawn retry count</title>
<updated>2016-03-04T08:33:36+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-03-04T08:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d98870fedaab28ce73d7dc4cbf27fcb301d378c7'/>
<id>d98870fedaab28ce73d7dc4cbf27fcb301d378c7</id>
<content type='text'>
Extend /etc/config/system with a parameter to set the
default respawn retry for procd launched services that
have respawn enabled.

	config service
        	option respawn_retry -1

All services that don't specify specific respawn parameters
will get their defaults added by procd.sh. If respawn_retry
is specified in /etc/config/system the default retry limit
will be set to this value by procd.

Signed-off-by: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;

SVN-Revision: 48915
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend /etc/config/system with a parameter to set the
default respawn retry for procd launched services that
have respawn enabled.

	config service
        	option respawn_retry -1

All services that don't specify specific respawn parameters
will get their defaults added by procd.sh. If respawn_retry
is specified in /etc/config/system the default retry limit
will be set to this value by procd.

Signed-off-by: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;

SVN-Revision: 48915
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: hotplug.json: allow passing hotplug events from all subsystems</title>
<updated>2016-02-26T08:35:43+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-02-26T08:35:43+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4f3c1e779364394a7e8f9f45ee824e0dff556cec'/>
<id>4f3c1e779364394a7e8f9f45ee824e0dff556cec</id>
<content type='text'>
There are time that programs need to be notified of events from
subsystems that are not enumerated in the .json definition, e.g. QEMU
guest agent by default requires /dev/virtio-ports/org.qemu.guest_agent.0
which is a symlink to /dev/vportMpN from virtio-ports subsystem.

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;

SVN-Revision: 48799
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are time that programs need to be notified of events from
subsystems that are not enumerated in the .json definition, e.g. QEMU
guest agent by default requires /dev/virtio-ports/org.qemu.guest_agent.0
which is a symlink to /dev/vportMpN from virtio-ports subsystem.

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;

SVN-Revision: 48799
</pre>
</div>
</content>
</entry>
<entry>
<title>hotplug-preinit: remove superfluous `and`</title>
<updated>2016-02-26T08:35:32+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-02-26T08:35:32+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=82a8f5fdaab4a3290d9a9d3c9f5dce0db598e63e'/>
<id>82a8f5fdaab4a3290d9a9d3c9f5dce0db598e63e</id>
<content type='text'>
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;

SVN-Revision: 48795
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;

SVN-Revision: 48795
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: emit events for sound subsystem</title>
<updated>2016-01-19T15:31:35+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-01-19T15:31:35+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ff7f5eb13d59032979b7144582725ce43d6d1fad'/>
<id>ff7f5eb13d59032979b7144582725ce43d6d1fad</id>
<content type='text'>
Useful e.g. for plugable USB-soundcards.
With this change an event/hotplug-call looks like:

ACTION: add DEVNAME: snd/timer DEVPATH: /devices/virtual/sound/timer SUBSYSTEM: sound
ACTION: add DEVNAME:  DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0 SUBSYSTEM: sound
ACTION: add DEVNAME: snd/controlC0 DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/controlC0 SUBSYSTEM: sound
ACTION: add DEVNAME: snd/pcmC0D0p DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/pcmC0D0p SUBSYSTEM: sound
ACTION: add DEVNAME: snd/pcmC0D0c DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/pcmC0D0c SUBSYSTEM: sound
ACTION: add DEVNAME: dsp DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/dsp SUBSYSTEM: sound
ACTION: add DEVNAME: audio DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/audio SUBSYSTEM: sound
ACTION: add DEVNAME: mixer DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/mixer SUBSYSTEM: sound

This fixes #21466.

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

SVN-Revision: 48366
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Useful e.g. for plugable USB-soundcards.
With this change an event/hotplug-call looks like:

ACTION: add DEVNAME: snd/timer DEVPATH: /devices/virtual/sound/timer SUBSYSTEM: sound
ACTION: add DEVNAME:  DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0 SUBSYSTEM: sound
ACTION: add DEVNAME: snd/controlC0 DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/controlC0 SUBSYSTEM: sound
ACTION: add DEVNAME: snd/pcmC0D0p DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/pcmC0D0p SUBSYSTEM: sound
ACTION: add DEVNAME: snd/pcmC0D0c DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/pcmC0D0c SUBSYSTEM: sound
ACTION: add DEVNAME: dsp DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/dsp SUBSYSTEM: sound
ACTION: add DEVNAME: audio DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/audio SUBSYSTEM: sound
ACTION: add DEVNAME: mixer DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/mixer SUBSYSTEM: sound

This fixes #21466.

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

SVN-Revision: 48366
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: add 'platform_nand_pre_upgrade'</title>
<updated>2015-12-12T07:37:45+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-12-12T07:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f99c61a94ad11d401690a64ef83e152a098c850f'/>
<id>f99c61a94ad11d401690a64ef83e152a098c850f</id>
<content type='text'>
Add 'platform_nand_pre_upgrade' callback to allow platform specific
preparation right before flashinng, when already in ramdisk.

Example uses might be setting correct values for CI_{KERNPART,UBIPART}.

Signed-off-by: Nikolay Martynov &lt;mar.kolya@gmail.com&gt;

SVN-Revision: 47879
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add 'platform_nand_pre_upgrade' callback to allow platform specific
preparation right before flashinng, when already in ramdisk.

Example uses might be setting correct values for CI_{KERNPART,UBIPART}.

Signed-off-by: Nikolay Martynov &lt;mar.kolya@gmail.com&gt;

SVN-Revision: 47879
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: update procd.sh to support new ujail options</title>
<updated>2015-12-11T15:08:19+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-12-11T15:08:19+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=32b37600b921608e5d534b971dd62732ffc6325e'/>
<id>32b37600b921608e5d534b971dd62732ffc6325e</id>
<content type='text'>
Signed-off-by: Etienne CHAMPETIER &lt;champetier.etienne@gmail.com&gt;

SVN-Revision: 47862
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Etienne CHAMPETIER &lt;champetier.etienne@gmail.com&gt;

SVN-Revision: 47862
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: drop nand_upgrade_stage1 from sysupgrade_pre_upgrade hooks</title>
<updated>2015-11-17T07:26:12+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2015-11-17T07:26:12+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0d5915d2fed75784d4a0ff315d3afe4d4d1a7904'/>
<id>0d5915d2fed75784d4a0ff315d3afe4d4d1a7904</id>
<content type='text'>
Now we have all targets using platform_pre_upgrade (and calling
nand_do_upgrade directly) we don't need nand_upgrade_stage1 to be in
sysupgrade_pre_upgrade hooks anymore.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47489
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we have all targets using platform_pre_upgrade (and calling
nand_do_upgrade directly) we don't need nand_upgrade_stage1 to be in
sysupgrade_pre_upgrade hooks anymore.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47489
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: make nand_do_platform_check check image only</title>
<updated>2015-10-02T06:03:13+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2015-10-02T06:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b'/>
<id>a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b</id>
<content type='text'>
Recently all targets have been updated to call nand_do_upgrade directly.
It's not needed anymore to leave a magic /tmp/sysupgrade-nand-path mark
during image check.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
Acked-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 47079
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recently all targets have been updated to call nand_do_upgrade directly.
It's not needed anymore to leave a magic /tmp/sysupgrade-nand-path mark
during image check.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
Acked-by: John Crispin &lt;blogic@openwrt.org&gt;

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