Imre Kaloz
44e7bc82d5
[procd]: allow overriding the kernel partition's name
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 14:53:15 +00:00
Imre Kaloz
bd652ee268
[procd]: we already have a get_magic_long() in common.sh for sysupgrade, don't break it
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 20:51:17 +00:00
John Crispin
19594fc3ed
procd: correctly identify ubifs in tar file
...
A missing path prevents the rootfs type contained in a SysupgradeNAND
tar file from being determined correctly.
This fixes it, and also corrects a minor spelling mistake.
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:31 +00:00
Jo-Philipp Wich
9193d6ca9e
rpcd: fix parsing of executable plugin output
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 22:21:04 +00:00
Felix Fietkau
4ea528e4af
ubus: update to the latest version, fixes compile error regressions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 18:57:47 +00:00
Felix Fietkau
21e787d3a2
ubus: update to the latest version, increases maximum message size and adds a few fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 10:49:41 +00:00
Felix Fietkau
218ae8eb00
procd: add a shell helper function to emit a config.change event
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:20 +00:00
Felix Fietkau
42647b77cc
procd: add shell functions to add instance data
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:16 +00:00
Felix Fietkau
0df29b8831
procd: update to the latest version, adds support for dumping per-instance service data with an optional type filter
...
also fixes a crash on stopping a service with triggers after reloading it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:05 +00:00
John Crispin
2c538ee17f
ubox: fix remote logging
...
in r41439 a flag for enabling remote logging was added,
but the actual check was done on a different variable.
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 12:56:20 +00:00
John Crispin
43372da18a
ubox: add a flag that allows us to disable remote log while keeping the ip settings inside uci
...
this makes webui foo a lot easier
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:10 +00:00
John Crispin
1a7223795f
procd: fix uci_validation
...
Regardles of the return code from validate_data _error variable will be 0 due
to 'local' command in the previous line. With this patch we are able to catch
the return code from validate_data tool.
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 09:57:29 +00:00
John Crispin
6f80caf974
ubox: update to latest git
...
this adds validation fixes
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 09:57:25 +00:00
Felix Fietkau
e59dd23a46
build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
...
The idea is to gradually fix the packages
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 08:19:48 +00:00
Felix Fietkau
725000e474
rpcd: update to the latest version, fixes build with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:26:05 +00:00
Felix Fietkau
b88d179409
ubox: add explicit dependency on libubus to catch ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 15:41:39 +00:00
Felix Fietkau
232042f95d
ubus: update to the latest version, fixes netifd related crashes on ubus calls during reload
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-25 08:32:14 +00:00
John Crispin
fd4f6d5215
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:56 +00:00
John Crispin
fca69de306
fstools: fix factory reset on ubifs overlay
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:05 +00:00
John Crispin
7e4ad04438
procd: update to latest git head
...
this fixes the upgraded linking issue on arm.
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:45 +00:00
John Crispin
87a9dcb506
procd: various improvements to nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:41 +00:00
John Crispin
98d34860a4
procd: forgot to update the git id in the last commit
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 17:51:35 +00:00
John Crispin
cfe127980c
procd: make upgarded depend on mips, the static linking on arm fails
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:40:05 +00:00
John Crispin
31f99ff64c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:40:02 +00:00
John Crispin
a0be38dafa
procd: various cleanups to /lib/upgrade/nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:14 +00:00
John Crispin
0e42bc27c7
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:09 +00:00
John Crispin
1b895a65a4
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:05 +00:00
Felix Fietkau
53557b1ac1
procd: update to the latest version, fixes static linking of upgraded
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 17:48:35 +00:00
Felix Fietkau
5a1be6890b
procd: allow passing multiple config files to procd_add_reload_trigger
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 17:05:46 +00:00
Steven Barth
d7029483f4
procd: fix overflow in hotplug socket on certain targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 15:34:33 +00:00
John Crispin
1d54844bf9
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:49 +00:00
John Crispin
52b25de084
fstools: the ubi flash tool is obselete now
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:45 +00:00
Felix Fietkau
6114bc1bbb
mountd: remove a bogus include to fix compile with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:48:00 +00:00
Felix Fietkau
4529f05113
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 11:54:13 +00:00
John Crispin
16eceec6c4
procd: service instances can now report an error of why they failed to start.
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:34:30 +00:00
Felix Fietkau
43bed940cc
procd: update to the latest version, fixes a crash on early boot
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:14 +00:00
John Crispin
b8e563d2d0
procd: add wrapper calls for interface triggers
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:06 +00:00
John Crispin
120957698a
procd: update to latest git head
...
adds support for ubus event based triggers
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:02 +00:00
John Crispin
7024138581
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 08:19:59 +00:00
John Crispin
8cbc083fde
fstools: stage libubi-utils static library and headers
...
Use InstallDev to make libubi-utils available for linking in
uboot-envtools.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:16 +00:00
Felix Fietkau
01fbba98bd
fstools: update to latest version, fixes build on x86_64
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 09:38:09 +00:00
Steven Barth
a861ceee0f
ca-certificates: bump to 20140325
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 10:32:37 +00:00
Felix Fietkau
6dcc4bbda0
fstools: update to the latest version, fixes build for 64 bit targets
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 12:46:59 +00:00
Felix Fietkau
12fff1c6a2
ubox: update to latest version, fixes kmodloader issues with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:28:14 +00:00
Felix Fietkau
420752ac20
ubox: update to the latest version, reduces binary library dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 22:39:51 +00:00
Felix Fietkau
69307004b0
procd: update, fixes a bunch of memleaks
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 19:38:58 +00:00
Felix Fietkau
c1c3114aa4
procd: update to the latest version, fixes some musl compatibility issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:51:52 +00:00
Felix Fietkau
7695f68829
mtd: fix compile error with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 14:09:53 +00:00
Luka Perkov
dab6984526
[package] fstools: update to the latest version
...
Fixes RO mounts on imx6 target.
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 13:15:47 +00:00
Felix Fietkau
eea1c556c9
fstools: update to the latest version, adds ubifs support and ubi/mtd fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-19 21:58:44 +00:00