Commit Graph

124 Commits (4a6795409d1520fd3da3e909a8bcf9d7fd0927bb)

Author SHA1 Message Date
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
11 years ago
Felix Fietkau f75bba6f87 ubox: fix compile error (#13877)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37330
11 years ago
John Crispin 33a04fdfec ubox: update to latest git revison
this fixes a stack corruption in kmodloader. lsmod should be fixed now

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

SVN-Revision: 37312
11 years ago
John Crispin 3fcee6de2f ubox: upgrade to latest version
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37246
11 years ago
Luka Perkov 5e672084cb ubox: remove empty menu from block-mount
SVN-Revision: 37221
11 years ago
John Crispin f60cb8c3d9 ubox: add a uci-default script for fstab generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37199
11 years ago
John Crispin dae7f61f31 ubox: dont install lsbloader and symlink lsmod
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37156
11 years ago
John Crispin e06ab3831b ubox: add e2fsck support
Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 37127
11 years ago
Mirko Vogt 8221b89088 depend on libubox
SVN-Revision: 37092
11 years ago
John Crispin 6406414a40 ubox: add support for delay_root option
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37088
11 years ago
John Crispin 9e65c50f4c ubox: update to latest git revision
fixes a endianess bug inside the uuid code

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

SVN-Revision: 37077
11 years ago
John Crispin b1318530e3 ubox: update to latest git revision
* add pivot root support
* add back a /etc/init.d/fstab
* add "block mount/umount" support
* add anonymous swap/mount support
* add auto swap/mount support
* fix superflous error when inserting modules
* add back jffs2reset/jffs2mark

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

SVN-Revision: 37057
11 years ago
John Crispin 4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
11 years ago