[LEDE-DEV] [PATCH] procd: initd: fix path allocation in early_insmod

2017-12-28 Thread Nathan Hintz
Noticed that /tmp was not being created on /dev/zram0. This was on ixp4xx (nslu2) using GCC 6.3 and musl. The allocation should be using the length of the passed string (module path), not the size of the pointer to the string. Signed-off-by: Nathan Hintz <nlhi...@hotmail.com> --- initd/

[LEDE-DEV] [PATCH, v2] kmodloader: fix not being able to find some modules

2017-02-20 Thread Nathan Hintz
kmodloader is using slightly different criteria for ordering the AVL tree versus what it uses to traverse it. This sometimes results in not being able to find some modules. Reference: https://bugs.lede-project.org/index.php?do=details_id=443 Signed-off-by: Nathan Hintz <nlhi...@hotmail.

[LEDE-DEV] [PATCH] procd: update modprobe path

2017-02-20 Thread Nathan Hintz
Commit 81aeba9b7f619ee1af1a64f355ae8001fa147d03 in LEDE source.git moved modprobe to the "/sbin" directory. Update procd with the new path. Signed-off-by: Nathan Hintz <nlhi...@hotmail.com> --- initd/zram.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) di

[LEDE-DEV] [PATCH] kmodloader: fix not being able to find some modules

2017-02-20 Thread Nathan Hintz
kmodloader is using slightly different criteria for ordering the AVL tree versus what it uses to traverse it. This sometimes results in not being able to find some modules. Reference: https://bugs.lede-project.org/index.php?do=details_id=443 Signed-off-by: Nathan Hintz <nlhi...@hotmail.