* [Buildroot] [PATCH] busybox: add 1.23.1 patch to fix modinfo
@ 2015-02-23 11:19 Gustavo Zacarias
2015-02-23 11:31 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2015-02-23 11:19 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/busybox/0005-modinfo.patch | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 package/busybox/0005-modinfo.patch
diff --git a/package/busybox/0005-modinfo.patch b/package/busybox/0005-modinfo.patch
new file mode 100644
index 0000000..0a221f7
--- /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 <gustavo@zacarias.com.ar>
+
+--- 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);
--
2.0.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] busybox: add 1.23.1 patch to fix modinfo
2015-02-23 11:19 [Buildroot] [PATCH] busybox: add 1.23.1 patch to fix modinfo Gustavo Zacarias
@ 2015-02-23 11:31 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-02-23 11:31 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Mon, 23 Feb 2015 08:19:18 -0300, Gustavo Zacarias wrote:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/busybox/0005-modinfo.patch | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
> create mode 100644 package/busybox/0005-modinfo.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-23 11:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23 11:19 [Buildroot] [PATCH] busybox: add 1.23.1 patch to fix modinfo Gustavo Zacarias
2015-02-23 11:31 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.