]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/busybox: support spaces in module aliases in mdev
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 1 Jul 2016 18:56:19 +0000 (21:56 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Jul 2016 11:15:50 +0000 (13:15 +0200)
commitb4fc5a180c81689a982d5c595844331684c14f51
tree798f0b05bc410dfb02bff2c2a852351865c652c8
parent6613e086f4f8877a46161b1658b89d894ad5e8c5
package/busybox: support spaces in module aliases in mdev

The new change which enabled automatic module loading on boot does not handle
the cases when module alias includes spaces. It prevents modules to be loaded
since script fails:

  % find /sys/ -name modalias | xargs sort -u
  sort: /sys/devices/platform/Fixed: No such file or directory

First alias in question is "platform:Fixed MDIO bus".

Amend the script to support above like cases.

Fixes: 07f46c2b6dae ("package/busybox: support automatic module loading with mdev")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/busybox/S10mdev