[Buildroot] [PATCH v2 1/1] package/busybox: support spaces in module aliases in mdev

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 2 13:03:40 UTC 2016


Hello,

On Sat,  2 Jul 2016 15:22:20 +0300, Andy Shevchenko wrote:
> 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.
> 
> Note: the -z option to sort in Busybox depends on SORT_BIG, which is enabled
> in out busybox bundled configuration, so we can use it.
> 
> Suggested-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Fixes: 07f46c2b6dae ("package/busybox: support automatic module loading with mdev")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Thanks for this new version, but in the mean time, I had already
modified and applied your first version.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list