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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Steven Barth
c0ad075472
procd: work around some docker architecture quirks
...
SVN-Revision: 41867
10 years ago
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
10 years ago
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
10 years ago
Imre Kaloz
ecb68ba6b4
allow overriding the kernel partition's name
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41646
10 years ago
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
10 years ago
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
10 years ago
Jo-Philipp Wich
4f4faa92c0
rpcd: fix parsing of executable plugin output
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41502
10 years ago
Felix Fietkau
1ef92a0065
ubus: update to the latest version, fixes compile error regressions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41496
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau
2baf4d4fb0
procd: add shell functions to add instance data
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41481
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
John Crispin
a7863b1368
ubox: update to latest git
...
this adds validation fixes
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41413
10 years ago
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
10 years ago
Felix Fietkau
94b41e9aa5
rpcd: update to the latest version, fixes build with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41403
10 years ago
Felix Fietkau
bf90d46933
ubox: add explicit dependency on libubus to catch ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41389
10 years ago
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
10 years ago
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
10 years ago
John Crispin
c2d95d4106
fstools: fix factory reset on ubifs overlay
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41315
10 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
10 years ago
John Crispin
54faeadb07
procd: various improvements to nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41278
10 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
10 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
10 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
10 years ago
John Crispin
3dca5a158d
procd: various cleanups to /lib/upgrade/nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41222
10 years ago
John Crispin
21eac7a7db
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41221
10 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
10 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
10 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
10 years ago
Steven Barth
12cdfef54c
procd: fix overflow in hotplug socket on certain targets
...
SVN-Revision: 41142
10 years ago
John Crispin
1e876b4191
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41129
10 years ago
John Crispin
3417834ffc
fstools: the ubi flash tool is obselete now
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41128
10 years ago
Felix Fietkau
35d703c8a6
mountd: remove a bogus include to fix compile with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41062
10 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
10 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
10 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
10 years ago
John Crispin
e1e5f21b2f
procd: add wrapper calls for interface triggers
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41008
10 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
10 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
10 years ago
John Crispin
85b8897d1a
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>
SVN-Revision: 40928
10 years ago
Felix Fietkau
118eec12e8
fstools: update to latest version, fixes build on x86_64
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40902
10 years ago
Steven Barth
e9ff251ca6
ca-certificates: bump to 20140325
...
SVN-Revision: 40894
10 years ago
Felix Fietkau
11462369af
fstools: update to the latest version, fixes build for 64 bit targets
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40889
10 years ago