Commit Graph

24 Commits (c5f8647cde0fd0323e101ef7999ab6fa4e947099)

Author SHA1 Message Date
Jo-Philipp Wich bb95a938ab 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 11:53:17 +00:00
Jo-Philipp Wich 96216936f6 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-28 13:12:42 +00:00
John Crispin 179d71542d ubox: make use of modprobe
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
2013-09-17 21:45:01 +00:00
Jo-Philipp Wich 9c35431c00 ubox: update to git head
- 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
2013-08-16 13:14:21 +00:00
Jo-Philipp Wich 2aacc38a54 ubox: update to git head
- adds support for generic mount options

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-16 11:18:39 +00:00
Jo-Philipp Wich a0afb630d4 ubox: update to git head
- fixes extroot tag file corruption with long uuids

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 10:44:50 +00:00
Jo-Philipp Wich 9224a7933f 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-26 09:09:05 +00:00
Jo-Philipp Wich 59e96aafb3 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"

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-24 18:24:57 +00:00
Jo-Philipp Wich 245c6938fe ubox: update to git head
- fixes vfat partition detection on big endian systems

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-24 10:08:58 +00:00
John Crispin 6cb84e9ebf update ubox and procd to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-23 12:22:40 +00:00
John Crispin 9bc068be75 ubox: fix stack overflow in squashfs uuid code
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-22 15:36:16 +00:00
Jo-Philipp Wich a5114b0dad ubox: update to git head, fixes multiple null pointer dereferences and adds support for mounting lvm and raid devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 14:50:39 +00:00
Felix Fietkau dfe23e06f6 ubox: fix compile error (#13877)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-15 08:17:33 +00:00
John Crispin f449cc2b22 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14 18:00:43 +00:00
John Crispin 2594841690 ubox: upgrade to latest version
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11 17:00:45 +00:00
Luka Perkov 9865d93281 [package] ubox: remove empty menu from block-mount
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-09 23:17:33 +00:00
John Crispin 3f60f76184 ubox: add a uci-default script for fstab generation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 09:01:42 +00:00
John Crispin 2c43cc55ea ubox: dont install lsbloader and symlink lsmod
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:30:41 +00:00
John Crispin 051b5a6dcf ubox: add e2fsck support
Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02 09:35:08 +00:00
Mirko Vogt 2640d86b61 [package/ubox] depend on libubox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 20:59:10 +00:00
John Crispin a0789ea558 ubox: add support for delay_root option
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:51:09 +00:00
John Crispin eaf4cb4c6d ubox: update to latest git revision
fixes a endianess bug inside the uuid code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 14:43:34 +00:00
John Crispin 01bfa22fff 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:22:05 +00:00
John Crispin f1b4824c86 packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:37 +00:00