From: Gustavo Zacarias Date: Mon, 23 Feb 2015 11:19:18 +0000 (-0300) Subject: busybox: add 1.23.1 patch to fix modinfo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f583f2bf8f1b62c7fbb59851560d395e82d5db45;p=buildroot.git busybox: add 1.23.1 patch to fix modinfo Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/busybox/0005-modinfo.patch b/package/busybox/0005-modinfo.patch new file mode 100644 index 0000000000..0a221f7f31 --- /dev/null +++ b/package/busybox/0005-modinfo.patch @@ -0,0 +1,17 @@ +Fix broken modinfo. + +From upstream: http://busybox.net/downloads/fixes-1.23.1/busybox-1.23.1-modinfo.patch + +Signed-off-by: Gustavo Zacarias + +--- busybox-1.23.1/modutils/modinfo.c ++++ busybox-1.23.1-modinfo/modutils/modinfo.c +@@ -154,7 +154,7 @@ int modinfo_main(int argc UNUSED_PARAM, + if (colon == NULL) + continue; + *colon = '\0'; +- filename2modname(tokens[0], name); ++ filename2modname(bb_basename(tokens[0]), name); + for (i = 0; argv[i]; i++) { + if (fnmatch(argv[i], name, 0) == 0) { + modinfo(tokens[0], uts.release, &env);