John Crispin
9b714b6e7b
procd: fix nand.sh kernel_length typo
...
sysupgrade otherwise skips kernel part on devices which got
kernel in ubi due to kern_length being undefined, kernel_length
is being used instead.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41327
11 years ago
John Crispin
bce52219fa
procd: update to latest git head
...
this fixes the upgraded linking issue on arm.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41279
11 years ago
John Crispin
54faeadb07
procd: various improvements to nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41278
11 years ago
John Crispin
42f450b722
procd: forgot to update the git id in the last commit
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41239
11 years ago
John Crispin
0cf34cee5e
procd: make upgarded depend on mips, the static linking on arm fails
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41238
11 years ago
John Crispin
1a3ebd51ad
procd: some cleanup for SysupgradeNAND
...
Removed unused ubi file file from template as ubinized images are
passed directly and not inside the tarball.
Also removed left-over white-space.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41237
11 years ago
John Crispin
3dca5a158d
procd: various cleanups to /lib/upgrade/nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41222
11 years ago
John Crispin
21eac7a7db
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41221
11 years ago
John Crispin
91d82d7b36
procd: rename procd_add_network_trigger
...
i got complaints about the bad naming of the api. lets rename it while there are no users yet.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41220
11 years ago
Felix Fietkau
b30b59773b
procd: update to the latest version, fixes static linking of upgraded
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41148
11 years ago
Felix Fietkau
79bbc4fbfb
procd: allow passing multiple config files to procd_add_reload_trigger
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41146
11 years ago
Steven Barth
12cdfef54c
procd: fix overflow in hotplug socket on certain targets
...
SVN-Revision: 41142
11 years ago
John Crispin
1e876b4191
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41129
11 years ago
Felix Fietkau
71cda6a1e0
procd: Fix USB cellular modems hotplug events
...
Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or remove a USB-serial cellular modem.
(see Ticket #14117 )
Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
SVN-Revision: 41039
11 years ago
John Crispin
bd179b2610
procd: service instances can now report an error of why they failed to start.
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41031
11 years ago
Felix Fietkau
e4cc5c1edf
procd: update to the latest version, fixes a crash on early boot
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41020
11 years ago
John Crispin
e1e5f21b2f
procd: add wrapper calls for interface triggers
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41008
11 years ago
John Crispin
ad3c2701b6
procd: update to latest git head
...
adds support for ubus event based triggers
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41007
11 years ago
John Crispin
59c8b70839
procd: rename local variable in uci_validate_section
...
Allow to use "package", "type", "name", "error" and "result"
as config option names:
package some_service
config section 'foo'
option name 'bar'
option type 'unknown'
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 41006
11 years ago
Felix Fietkau
0c383776df
procd: update, fixes a bunch of memleaks
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40856
11 years ago
Felix Fietkau
039dca04b8
procd: update to the latest version, fixes some musl compatibility issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40854
11 years ago
Felix Fietkau
93d8170084
procd: add explicit libubox dependency to force rebuild on ABI changes ( #16300 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40740
11 years ago
Felix Fietkau
84c3487e5a
procd: add a PROCD_DEBUG variable that will dump the ubus calls from init scripts to stderr
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39983
11 years ago
Felix Fietkau
0060005bd8
procd: update to latest version, fixes a format string bug in processing init script output ( #15169 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39945
11 years ago
Felix Fietkau
a42b421c79
procd: depend on libubox directly to rebuild on ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39724
11 years ago
John Crispin
97ee2bc616
procd: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39613
11 years ago
John Crispin
b71eb4b5df
procd: the helper script did not export all functions properly
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39612
11 years ago
John Crispin
5dcb4cc7d1
libubox: ubox: procd: ubus: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39425
11 years ago
John Crispin
58dc9f593b
procd: update to latest git head
...
Fixes OpenWrt bug #14832
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39352
11 years ago
Jo-Philipp Wich
de5d9827ef
procd: fix service file tracking
...
The instance_config_move() function in the procd instance managing code is
missing a blobmsg_list_move() call to update the tracked file items with the
newly calculated checksums in case of a file change.
Without that change, services are always reloaded after the first change to
a tracked file regardless of whether there are any subsequent changes or not.
Add a missing instance of blobmsg_list_free() as well.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39132
11 years ago
John Crispin
dda5dfb765
procd: update procd, add ulimit support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39023
11 years ago
John Crispin
31a2912cd9
netifd: enable coredumps again
...
got broken due procd startup. Requires procd resource limit patch.
Signed-off-by: Ulrich Weber <uw@xyne.com>
SVN-Revision: 39020
11 years ago
Jo-Philipp Wich
387761e2fc
procd: fix processing of datatype specification with spaces
...
SVN-Revision: 38935
11 years ago
John Crispin
93e9a71538
base-files: allow users to delect debug level during boot
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38909
11 years ago
John Crispin
91de2648e9
procd: update procd.sh to make use of the new validate_data tool
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38908
11 years ago
John Crispin
3044b185d1
procd: fix the running hook #38868
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38885
11 years ago
John Crispin
fcea2ab05a
libubox: ubox: procd: move md5.{c,h} to libubox
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38870
11 years ago
John Crispin
460bf6b0d7
procd: update to latest git head
...
* fix up the order of respawn parameters for ubus
* add a event broadcast function
* add debug level handover between preinit and main process
* make the service running trigger be queued directly after the service was startetd
* Allow process respawning forever
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38868
11 years ago
Felix Fietkau
c84a43cf40
procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38862
11 years ago
John Crispin
5fbfffe7f4
procd: ubox: update to latest git head
...
move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38822
11 years ago
John Crispin
a8163bfd16
procd: remove obselete script install reference Signed-off-by: John Crispin <blogic@openwrt.org>
...
SVN-Revision: 38790
11 years ago
John Crispin
50db95e2f0
procd: options with default values are not parsed properly in the ubus register code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38788
11 years ago
John Crispin
130d7de07f
procd: update to latest git head
...
this includes the first wip version of the uci validation backend
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38786
11 years ago
Felix Fietkau
f099defc00
procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38705
11 years ago
John Crispin
e75584e289
procd: update to latest git head
...
make sure that automatic respawning is turned off during upgrade
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38695
11 years ago
John Crispin
e37b364ea3
procd: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38529
11 years ago
Felix Fietkau
d1794a7536
procd: fix command handling in procd_add_instance()
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38350
11 years ago
Jo-Philipp Wich
2a2d408024
procd: fix incorrect use of sizeof() in vsnprintf()
...
SVN-Revision: 38268
11 years ago
John Crispin
52b61d6325
procd: update to latest git head
...
this fixes the syslog problem when using eglibc on x86.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38267
11 years ago
Luka Perkov
ef5f836207
fix various init scripts
...
Changes include:
* removing unused variables
* replacing spaces with tabs where appropriate
* more consistency with variable declarations
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38142
11 years ago