kumquat-buildroot/package/busybox
Peter Korsgaard 61717b7b3e busybox: S01mdev: fix module autoloading
Commit b4fc5a180c (package/busybox: support spaces in module aliases in
mdev) changed the mdev coldplugging to handle sysfs path elements and
modalias values containing spaces.  This unfortunately doesn't work as was
recently reported:

http://lists.busybox.net/pipermail/buildroot/2018-May/220903.html

The problem is that sort -z also expects the fields of the input files to be
zero terminated, which is not the case for modalias sysfs entries.

So drop the -z option to sort.  Spaces in modalias entries could be handled
with the xargs -d '\n' option, but that is unfortunately not supported by
the busybox applet.  Instead, use tr to convert newlines to zeros so we can
use xargs -0.

Reported-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-05-08 15:01:34 +02:00
..
0001-networking-libiproute-use-linux-if_packet.h-instead-.patch
0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch
busybox-minimal.config
busybox.config
busybox.hash
busybox.mk package/busybox: add /bin/{a, hu}sh to /etc/shells 2018-05-03 23:12:20 +02:00
Config.in
inittab busybox: add /dev/std{in, out, err} symlinks to inittab 2018-05-01 21:53:45 +02:00
mdev.conf
S01logging
S10mdev busybox: S01mdev: fix module autoloading 2018-05-08 15:01:34 +02:00
S15watchdog
S50telnet
udhcpc.script