aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* procd: handle hotplug events for the usbmisc subsystemJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: r42814 added a bad git versionJohn Crispin2014-10-061-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2014-10-061-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-10-061-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest gitJohn Crispin2014-10-061-2/+2
| | | | | | | | 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
* ca-certificates: create symbolic link for certificate hashesFelix Fietkau2014-09-251-0/+9
| | | | | | | | | | | 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
* bcm53xx: add fixtrxHauke Mehrtens2014-09-211-0/+1
| | | | | | | | | | 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
* ubus: update to latest version, adds various fixes and improvementsFelix Fietkau2014-09-171-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest gitJohn Crispin2014-09-161-2/+2
| | | | | | | | 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
* fs-tools: dont use mips16John Crispin2014-09-161-0/+2
| | | | | | | | 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
* procd: update to latest git HEADJohn Crispin2014-09-151-2/+2
| | | | | | | | 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
* procd: update to latest gitJohn Crispin2014-09-112-2/+6
| | | | | | | | 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
* opkg: indicate upgrade vs installJohn Crispin2014-09-111-0/+46
| | | | | | | | | 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
* procd: allow adding empty strings to arraysFelix Fietkau2014-09-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403Felix Fietkau2014-09-021-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: Fix trx check after partition rename ("linux" to "firmware")Felix Fietkau2014-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* procd: run the mdns register outside the sub shell containerJohn Crispin2014-08-291-3/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2014-08-292-2/+46
| | | | | | | | 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
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | 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
* build: add new option to add disabled feeds commented out to opkg.confJo-Philipp Wich2014-08-061-0/+5
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: introduce per feed repository supportJo-Philipp Wich2014-08-053-2/+8
| | | | | | | | | 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
* procd: update to the latest version, fixes parsing of /etc/openwrt_releaseFelix Fietkau2014-07-301-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: work around some docker architecture quirksSteven Barth2014-07-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: check output of "uci show" instead of raw config files in order to ↵Felix Fietkau2014-07-291-1/+8
| | | | | | | | 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
* procd: update to the latest version, fixes hotplug firmware loading issuesFelix Fietkau2014-07-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41735 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [procd]: allow overriding the kernel partition's nameImre Kaloz2014-07-141-2/+5
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [procd]: we already have a get_magic_long() in common.sh for sysupgrade, ↵Imre Kaloz2014-07-131-2/+2
| | | | | | | | | | 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
* procd: correctly identify ubifs in tar fileJohn Crispin2014-07-101-2/+2
| | | | | | | | | | | 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
* rpcd: fix parsing of executable plugin outputJo-Philipp Wich2014-07-031-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to the latest version, fixes compile error regressionsFelix Fietkau2014-07-031-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to the latest version, increases maximum message size and adds ↵Felix Fietkau2014-07-031-2/+2
| | | | | | | | 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
* procd: add a shell helper function to emit a config.change eventFelix Fietkau2014-07-021-0/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add shell functions to add instance dataFelix Fietkau2014-07-021-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41481 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, adds support for dumping per-instance ↵Felix Fietkau2014-07-021-2/+2
| | | | | | | | | | 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
* ubox: fix remote loggingJohn Crispin2014-07-021-1/+1
| | | | | | | | | 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
* ubox: add a flag that allows us to disable remote log while keeping the ip ↵John Crispin2014-07-011-1/+3
| | | | | | | | | | 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
* procd: fix uci_validationJohn Crispin2014-06-302-2/+10
| | | | | | | | | | 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
* ubox: update to latest gitJohn Crispin2014-06-301-2/+2
| | | | | | | | 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
* build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packagesFelix Fietkau2014-06-303-0/+3
| | | | | | | | 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
* rpcd: update to the latest version, fixes build with muslFelix Fietkau2014-06-291-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: add explicit dependency on libubus to catch ABI changesFelix Fietkau2014-06-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to the latest version, fixes netifd related crashes on ubus ↵Felix Fietkau2014-06-251-2/+2
| | | | | | | | 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
* procd: fix nand.sh kernel_length typoJohn Crispin2014-06-241-2/+2
| | | | | | | | | | 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
* fstools: fix factory reset on ubifs overlayJohn Crispin2014-06-241-2/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2014-06-191-4/+4
| | | | | | | | 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
* procd: various improvements to nand.shJohn Crispin2014-06-191-7/+33
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: forgot to update the git id in the last commitJohn Crispin2014-06-171-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: make upgarded depend on mips, the static linking on arm failsJohn Crispin2014-06-171-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: some cleanup for SysupgradeNANDJohn Crispin2014-06-171-6/+3
| | | | | | | | | | 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
* procd: various cleanups to /lib/upgrade/nand.shJohn Crispin2014-06-161-126/+120
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41222 3c298f89-4303-0410-b956-a3cf2f4a3e73