Commit Graph

257 Commits (f618c2fc9cd8926687966b35abb525d1e7dd267a)

Author SHA1 Message Date
Felix Fietkau 50b9e7832e rpcd: add 802.11ac for iwinfo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 13:55:11 +00:00
Felix Fietkau e2048f6c80 mountd: explicitly link libubox (needed by libuci)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:45 +00:00
Felix Fietkau 48fe35fed7 rpcd: update to the latest version, fixes build after libubox update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 08:46:00 +00:00
Jo-Philipp Wich 41f4265101 build: improve feed handling for opkg.conf
- Consider not installed feeds as well
 - Add option to decide whether to comment disabled feeds

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 10:30:16 +00:00
John Crispin d8bd66f630 procd: update to latest git
this adds the remaining patches that Michel Stam sent

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 15:53:05 +00:00
John Crispin 06dd1915e4 udev/Config.in: help format, and fix spelling mistake
Formatting and spelling fixes.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:24 +00:00
John Crispin 81d9f2d585 scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:11 +00:00
John Crispin 57f69d3a7d fstools: update to latest git HEAD
this adds support for overlayfs v23

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-13 19:41:16 +00:00
Felix Fietkau 55fe29b1b9 procd: fix initial nand sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:50:15 +00:00
Felix Fietkau e7f7a8d1c5 procd: fix parsing of the has_env parameter
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:50:01 +00:00
John Crispin aacd95e1f5 procd: handle hotplug events for the usbmisc subsystem
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:01 +00:00
John Crispin bb8e04d927 procd: r42814 added a bad git version
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:27:31 +00:00
John Crispin 06435798dc procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:41 +00:00
John Crispin c38a6c5213 ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:26 +00:00
John Crispin f91238dc22 fstools: update to latest git
adds support for /dev/vd* virtual io

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:15 +00:00
Felix Fietkau a795c53d4b ca-certificates: create symbolic link for certificate hashes
Implementing "add-cert.sh" functionality described at
http://wiki.openwrt.org/doc/howto/wget-ssl-certs into Makefile
otherwise you need to create symbolic links for certificate hashes
yourself.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 07:38:02 +00:00
Hauke Mehrtens d36def3f4e bcm53xx: add fixtrx
Without running fixtrx the image will not boot at the second time, 
because the CRC the boot loader check is invalid at that time.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:56:31 +00:00
Felix Fietkau 7e44d7d94e ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 11:34:16 +00:00
John Crispin 5cbb5194ba ubox: update to latest git
make the remote logging feature RFC3164 compliant

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 12:26:35 +00:00
John Crispin 420eec3ba8 fs-tools: dont use mips16
this causes problems on 47xx/74k

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 11:55:57 +00:00
John Crispin 4f38c7092c procd: update to latest git HEAD
fixed timeout on shutdown and cmdline param parsing

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:18:45 +00:00
John Crispin cee0fdae00 procd: update to latest git
add support for starting services as !root

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:28:00 +00:00
John Crispin e548b195e1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:27:09 +00:00
Felix Fietkau 8b55a6de74 procd: allow adding empty strings to arrays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 12:56:19 +00:00
Felix Fietkau 86193ba4cc mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 21:06:35 +00:00
Felix Fietkau 72dd8201d2 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>

    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38973 3c298f89-4303-0410-b956-a3cf2f4a3e73

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 17:13:42 +00:00
John Crispin 381dc718a9 procd: run the mdns register outside the sub shell container
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 18:36:29 +00:00
John Crispin d6a4b8e232 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 18:16:24 +00:00
John Crispin e723b7928a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:50 +00:00
Jo-Philipp Wich bdc389b0f5 build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 09:12:37 +00:00
Jo-Philipp Wich fdb795c3e4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 11:24:24 +00:00
Felix Fietkau be1cdf3260 procd: update to the latest version, fixes parsing of /etc/openwrt_release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 12:39:46 +00:00
Steven Barth 01c6ca4c6d procd: work around some docker architecture quirks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 06:51:35 +00:00
Felix Fietkau 1bc26661a1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 02:12:24 +00:00
Felix Fietkau 53dcc19bf6 procd: update to the latest version, fixes hotplug firmware loading issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-18 14:42:18 +00:00
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