aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ubox
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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
* 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
* 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-301-0/+1
| | | | | | | | 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
* 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
* ubox: update to latest version, fixes kmodloader issues with muslFelix Fietkau2014-05-281-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to the latest version, reduces binary library dependenciesFelix Fietkau2014-05-251-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix logd (hopefully)John Crispin2014-03-272-178/+2
| | | | | | | | https://dev.openwrt.org/ticket/15357 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-03-182-4/+7
| | | | | | | | logread now shows the right time. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-03-122-8/+22
| | | | | | | | | use the fd handover api of ubus to transfer log data the uci option log_buffer_size can be used to override the default size of 16k Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: add the new fstools packageJohn Crispin2014-03-124-41/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: logd did not register its config.reload trigger properlyJohn Crispin2014-02-181-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: ubox: procd: ubus: update to latest git headJohn Crispin2014-01-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: revert log buffer size changesJohn Crispin2014-01-222-26/+7
| | | | | | | | the fix horribly broke existing setups Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39366 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-01-211-2/+2
| | | | | | | | make sure log buffer size is not bigger than the ubus message size Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39365 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-01-192-7/+26
| | | | | | | | adds option to set internal buffer size Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest gitJohn Crispin2014-01-171-2/+2
| | | | | | | | | - fix duplicate device wildcard - fix elf 64bit elf parsing Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: welcome to 2014John Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git - fixes error reportingJohn Crispin2014-01-121-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix logging support. the initial connect failedJohn Crispin2013-12-091-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix up pidcount handling inside log.initJohn Crispin2013-12-091-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix handling of uci lists, prevent shell code injection from uci ↵Jo-Philipp Wich2013-11-281-2/+2
| | | | | | values (#14548) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ubox: the validation code has problems with the "(" char. use string ↵Jo-Philipp Wich2013-11-281-1/+1
| | | | | | | | for now" This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: the validation code has problems with the "(" char. use string for nowJohn Crispin2013-11-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update the validate_data toolJohn Crispin2013-11-251-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix typo that caused log_file to not be validated properlyJohn Crispin2013-11-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add validation to the log init scriptJohn Crispin2013-11-201-10/+23
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: ubox: procd: move md5.{c,h} to libuboxJohn Crispin2013-11-191-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: ubox: update to latest git headJohn Crispin2013-11-162-5/+68
| | | | | | | | | | move log service from procd to ubox some debloating on procd the preinit part of procd is now also a seperate binary Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38822 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix extroot/extoverlay mounting by label and support mounting by ↵Jo-Philipp Wich2013-11-071-2/+2
| | | | | | device name git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2013-11-071-2/+2
| | | | | | | | support for specifying swap priority from the command line Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/ubox: fix jffs2 handling on MTD devices emulated by gluebiGabor Juhos2013-11-052-1/+177
| | | | | | | | | | | | | | | | | | | The jffs2_ready() function in mount_root.c checks the presence of various JFFS2 markers at the start of a given MTD device. The function works on NOR flashes because JFFS2 puts 'cleanmarker' nodes at the start of freshly erased blocks. However if jffs2 is used on a MTD device emulated by the gluebi layer, the 'cleanmarker' nodes are not present and the jffs2_ready() function fails. Update the code to handle jffs2 correctly even on MTD devices emulated by the gluebi layer. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git HEADJohn Crispin2013-10-281-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2013-10-261-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix extroot after kmodloader changesJo-Philipp Wich2013-10-141-2/+2
| | | | | | | | | The kmodloader executable disregarded the global directory prefix in scan_module_folder() leading to a broken extroot for non-builtin modules. Update to current git head to fix the prefix handling again. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: support alternative spellings for modinfo and rmmodJo-Philipp Wich2013-09-291-2/+2
| | | | | | | | After this change, "rmmod" and "modinfo" works even if the user gives the file name spelling instead of the kernel internal one, so that e.g. "rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix kmod loading for modules with varying dashes & underscores in ↵Jo-Philipp Wich2013-09-281-2/+2
| | | | | | | | | | | | | | names (#14182, #14189) Instead of canonicalizing module names in the internal avl tree simpyl use a custom strcmp() variant for the avl tree key comparisation. The custom comperator simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to "nls-iso8859-15". This allows us to simplify the code considerably and makes manual "modprobe" invocations more forgiving when looking up the given module name. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: make use of modprobeJohn Crispin2013-09-171-2/+5
| | | | | | | | | ubox now has modprobe support build and install the tool Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | | - support mounting swap files from /etc/config/fstab - support mounting swap partitions by label git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | - adds support for generic mount options git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-07-311-2/+2
| | | | | | - fixes extroot tag file corruption with long uuids git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-07-261-2/+2
| | | | | | | | - discard vfat labels with only spaces - support using swap files - support extroot when required kmods and block-mount are installed on jffs2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-07-241-2/+2
| | | | | | | - use dynamically sized buffer, fixes label extraction on vfat partitions with huge cluster size - strip trailing spaces from vfat labels, aligns behaviour with "blkid" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-07-241-2/+2
| | | | | | - fixes vfat partition detection on big endian systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update ubox and procd to latest git revisionJohn Crispin2013-07-231-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix stack overflow in squashfs uuid codeJohn Crispin2013-07-221-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git head, fixes multiple null pointer dereferences and adds ↵Jo-Philipp Wich2013-07-191-2/+2
| | | | | | support for mounting lvm and raid devices git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37444 3c298f89-4303-0410-b956-a3cf2f4a3e73