Felix Fietkau
9a30ee9c2c
ubus: update to latest version, adds various fixes and improvements
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42594
2014-09-17 11:34:16 +00:00
John Crispin
5f16859bff
ubox: update to latest git
...
make the remote logging feature RFC3164 compliant
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42572
2014-09-16 12:26:35 +00:00
John Crispin
ac01f2b9d6
fs-tools: dont use mips16
...
this causes problems on 47xx/74k
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42570
2014-09-16 11:55:57 +00:00
John Crispin
1d9620a0b4
procd: update to latest git HEAD
...
fixed timeout on shutdown and cmdline param parsing
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42545
2014-09-15 10:18:45 +00:00
John Crispin
f81614594f
procd: update to latest git
...
add support for starting services as !root
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42471
2014-09-11 12:28:00 +00:00
John Crispin
b05c2aad3c
opkg: indicate upgrade vs install
...
when running the postinst trigger we set PKG_UPGRADE=1 if this is an upgrade
and not an install.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42468
2014-09-11 12:27:09 +00:00
Felix Fietkau
2dabf3a775
procd: allow adding empty strings to arrays
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42456
2014-09-10 12:56:19 +00:00
Felix Fietkau
833c5aab7e
mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42405
2014-09-02 21:06:35 +00:00
Felix Fietkau
766dff7445
mtd: Fix trx check after partition rename ("linux" to "firmware")
...
On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system.
I found that mtd does trx size checking only when flashing to a partition called "linux". This patch changes this to be "firmware".
This matches the following patch which changed partition name in bcm47xxpart.c driver to "firmware":
commit 86b4d5ef68ca77ff6724ebb9bddd6b93239c87fc
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sun Dec 1 16:32:32 2013 +0000
brcm47xx: use "firmware" partition name
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 38973
Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
SVN-Revision: 42403
2014-09-02 17:13:42 +00:00
John Crispin
c23e0ed691
procd: run the mdns register outside the sub shell container
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42327
2014-08-29 18:36:29 +00:00
John Crispin
b0d9dcf84d
procd: update to latest git HEAD
...
this adds a interafce.update trigger and mdns service registration helpers
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42324
2014-08-29 18:16:24 +00:00
John Crispin
2ae05c57f8
package/*: remove useless explicit set of function returncode
...
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.
myfunction()
{
fire_command
return $?
}
a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:
http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42278
2014-08-25 06:35:50 +00:00
Jo-Philipp Wich
960b7643c9
build: add new option to add disabled feeds commented out to opkg.conf
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42004
2014-08-06 09:12:37 +00:00
Jo-Philipp Wich
a720dd209f
build: introduce per feed repository support
...
This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42002
2014-08-05 11:24:24 +00:00
Felix Fietkau
5743a89fb5
procd: update to the latest version, fixes parsing of /etc/openwrt_release
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41891
2014-07-30 12:39:46 +00:00
Steven Barth
c0ad075472
procd: work around some docker architecture quirks
...
SVN-Revision: 41867
2014-07-29 06:51:35 +00:00
Felix Fietkau
caeb675a46
procd: check output of "uci show" instead of raw config files in order to track uncommitted changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41865
2014-07-29 02:12:24 +00:00
Felix Fietkau
5ce02632d1
procd: update to the latest version, fixes hotplug firmware loading issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41735
2014-07-18 14:42:18 +00:00
Imre Kaloz
ecb68ba6b4
allow overriding the kernel partition's name
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41646
2014-07-14 14:53:15 +00:00
Imre Kaloz
2ddcf5dd8a
we already have a get_magic_long() in common.sh for sysupgrade, don't break it
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41628
2014-07-13 20:51:17 +00:00
John Crispin
72efa88b64
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>
SVN-Revision: 41564
2014-07-10 19:16:31 +00:00
Jo-Philipp Wich
4f4faa92c0
rpcd: fix parsing of executable plugin output
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41502
2014-07-03 22:21:04 +00:00
Felix Fietkau
1ef92a0065
ubus: update to the latest version, fixes compile error regressions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41496
2014-07-03 18:57:47 +00:00
Felix Fietkau
361215b186
ubus: update to the latest version, increases maximum message size and adds a few fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41492
2014-07-03 10:49:41 +00:00
Felix Fietkau
5aef137f9e
procd: add a shell helper function to emit a config.change event
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41482
2014-07-02 19:18:20 +00:00
Felix Fietkau
2baf4d4fb0
procd: add shell functions to add instance data
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41481
2014-07-02 19:18:16 +00:00
Felix Fietkau
b4059dea7f
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>
SVN-Revision: 41478
2014-07-02 19:18:05 +00:00
John Crispin
f63bb0adbd
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>
SVN-Revision: 41467
2014-07-02 12:56:20 +00:00
John Crispin
ea535a9565
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>
SVN-Revision: 41439
2014-07-01 10:26:10 +00:00
John Crispin
9912d02fa1
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>
SVN-Revision: 41414
2014-06-30 09:57:29 +00:00
John Crispin
a7863b1368
ubox: update to latest git
...
this adds validation fixes
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41413
2014-06-30 09:57:25 +00:00
Felix Fietkau
b3b55de395
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>
SVN-Revision: 41411
2014-06-30 08:19:48 +00:00
Felix Fietkau
94b41e9aa5
rpcd: update to the latest version, fixes build with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41403
2014-06-29 22:26:05 +00:00
Felix Fietkau
bf90d46933
ubox: add explicit dependency on libubus to catch ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41389
2014-06-29 15:41:39 +00:00
Felix Fietkau
35f05693f1
ubus: update to the latest version, fixes netifd related crashes on ubus calls during reload
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41337
2014-06-25 08:32:14 +00:00
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
2014-06-24 18:13:56 +00:00
John Crispin
c2d95d4106
fstools: fix factory reset on ubifs overlay
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41315
2014-06-24 18:13:05 +00:00
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
2014-06-19 14:13:45 +00:00
John Crispin
54faeadb07
procd: various improvements to nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41278
2014-06-19 14:13:41 +00:00
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
2014-06-17 17:51:35 +00:00
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
2014-06-17 15:40:05 +00:00
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
2014-06-17 15:40:02 +00:00
John Crispin
3dca5a158d
procd: various cleanups to /lib/upgrade/nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41222
2014-06-16 18:55:14 +00:00
John Crispin
21eac7a7db
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41221
2014-06-16 18:55:09 +00:00
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
2014-06-16 18:55:05 +00:00
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
2014-06-11 17:48:35 +00:00
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
2014-06-11 17:05:46 +00:00
Steven Barth
12cdfef54c
procd: fix overflow in hotplug socket on certain targets
...
SVN-Revision: 41142
2014-06-11 15:34:33 +00:00
John Crispin
1e876b4191
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41129
2014-06-11 12:59:49 +00:00
John Crispin
3417834ffc
fstools: the ubi flash tool is obselete now
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41128
2014-06-11 12:59:45 +00:00