John Crispin
c53de497f8
ubox: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42813
10 years ago
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
10 years ago
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
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
11 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
11 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
11 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
11 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
11 years ago
Felix Fietkau
df9f29c47d
ubox: update to latest version, fixes kmodloader issues with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40869
11 years ago
Felix Fietkau
2898951c9c
ubox: update to the latest version, reduces binary library dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40857
11 years ago
John Crispin
95a14e1dcd
ubox: fix logd (hopefully)
...
https://dev.openwrt.org/ticket/15357
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40295
11 years ago
John Crispin
ca4078c110
ubox: update to latest git head
...
logread now shows the right time.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39951
11 years ago
John Crispin
bc6223666e
ubox: update to latest git head
...
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>
SVN-Revision: 39898
11 years ago
John Crispin
0dc9d8d6ff
fstools: add the new fstools package
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39895
11 years ago
John Crispin
f9f8948c6e
ubox: logd did not register its config.reload trigger properly
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39616
11 years ago
John Crispin
5dcb4cc7d1
libubox: ubox: procd: ubus: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39425
11 years ago
John Crispin
eceea6d6e1
ubox: revert log buffer size changes
...
the fix horribly broke existing setups
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39366
11 years ago
John Crispin
9dc6030316
ubox: update to latest git head
...
make sure log buffer size is not bigger than the ubus message size
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39365
11 years ago
John Crispin
1de0eac947
ubox: update to latest git head
...
adds option to set internal buffer size
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39333
11 years ago
John Crispin
cd90b6242c
ubox: update to latest git
...
- fix duplicate device wildcard
- fix elf 64bit elf parsing
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39316
11 years ago
John Crispin
c990d04026
ubox: welcome to 2014
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39246
11 years ago
John Crispin
09a06d937e
ubox: update to latest git - fixes error reporting Signed-off-by: John Crispin <blogic@openwrt.org>
...
SVN-Revision: 39244
11 years ago
John Crispin
67e71176cb
ubox: fix logging support. the initial connect failed
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39024
11 years ago
John Crispin
e231f82cc0
ubox: fix up pidcount handling inside log.init
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39022
11 years ago
Jo-Philipp Wich
1029d341c5
ubox: fix handling of uci lists, prevent shell code injection from uci values ( #14548 )
...
SVN-Revision: 38938
11 years ago
Jo-Philipp Wich
cdbff3641b
Revert "ubox: the validation code has problems with the "(" char. use string for now"
...
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.
SVN-Revision: 38937
11 years ago
John Crispin
fc3c72aba6
ubox: the validation code has problems with the "(" char. use string for now
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38916
11 years ago
John Crispin
acec292e32
ubox: update the validate_data tool
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38907
11 years ago
John Crispin
637440c415
ubox: fix typo that caused log_file to not be validated properly
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38906
11 years ago
John Crispin
1b3a423ad5
procd: add validation to the log init script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38879
11 years ago
John Crispin
fcea2ab05a
libubox: ubox: procd: move md5.{c,h} to libubox
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38870
11 years ago
John Crispin
5fbfffe7f4
procd: ubox: update to latest git head
...
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>
SVN-Revision: 38822
11 years ago
Jo-Philipp Wich
5975c119e3
ubox: fix extroot/extoverlay mounting by label and support mounting by device name
...
SVN-Revision: 38680
11 years ago
John Crispin
9a000667e6
ubox: update to latest git head
...
support for specifying swap priority from the command line
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38679
11 years ago
Gabor Juhos
2d31dc039a
package/ubox: fix jffs2 handling on MTD devices emulated by gluebi
...
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>
SVN-Revision: 38654
11 years ago
John Crispin
7f1463623f
ubox: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38554
11 years ago
John Crispin
964c7e696b
ubox: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38541
11 years ago
Jo-Philipp Wich
8833e789cc
ubox: fix extroot after kmodloader changes
...
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.
SVN-Revision: 38392
11 years ago
Jo-Philipp Wich
feab77f58e
ubox: support alternative spellings for modinfo and rmmod
...
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.
SVN-Revision: 38252
11 years ago
Jo-Philipp Wich
d8c154a29d
ubox: fix kmod loading for modules with varying dashes & underscores in 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.
SVN-Revision: 38248
11 years ago
John Crispin
aa2109fb1f
ubox: make use of modprobe
...
ubox now has modprobe support
build and install the tool
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38019
11 years ago
Jo-Philipp Wich
449d7ef460
ubox: update to git head
...
- support mounting swap files from /etc/config/fstab
- support mounting swap partitions by label
SVN-Revision: 37801
11 years ago
Jo-Philipp Wich
757e80488b
ubox: update to git head
...
- adds support for generic mount options
SVN-Revision: 37800
11 years ago
Jo-Philipp Wich
91b814221c
ubox: update to git head
...
- fixes extroot tag file corruption with long uuids
SVN-Revision: 37623
11 years ago
Jo-Philipp Wich
3f8c8d6f60
ubox: update to git head
...
- discard vfat labels with only spaces
- support using swap files
- support extroot when required kmods and block-mount are installed on jffs2
SVN-Revision: 37551
11 years ago
Jo-Philipp Wich
bbf2b18933
ubox: update to git head
...
- use dynamically sized buffer, fixes label extraction on vfat partitions with huge cluster size
- strip trailing spaces from vfat labels, aligns behaviour with "blkid"
SVN-Revision: 37529
11 years ago
Jo-Philipp Wich
1e8e6b4645
ubox: update to git head
...
- fixes vfat partition detection on big endian systems
SVN-Revision: 37522
11 years ago
John Crispin
093f211843
update ubox and procd to latest git revision
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37516
11 years ago
John Crispin
99f15eec91
ubox: fix stack overflow in squashfs uuid code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37503
11 years ago
Jo-Philipp Wich
9f6d136107
ubox: update to git head, fixes multiple null pointer dereferences and adds support for mounting lvm and raid devices
...
SVN-Revision: 37444
12 years ago