From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Date: Sat, 02 Jul 2016 16:15:45 +0300 Subject: [Buildroot] [PATCH v2 1/1] package/busybox: support spaces in module aliases in mdev In-Reply-To: <20160702150340.73f1723d@free-electrons.com> References: <1467462140-35190-1-git-send-email-andriy.shevchenko@linux.intel.com> <20160702150340.73f1723d@free-electrons.com> Message-ID: <1467465345.30123.447.camel@linux.intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Sat, 2016-07-02 at 15:03 +0200, Thomas Petazzoni wrote: > 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 > > Fixes: 07f46c2b6dae ("package/busybox: support automatic module > > loading with mdev") > > Signed-off-by: Andy Shevchenko > > Thanks for this new version, but in the mean time, I had already > modified and applied your first version. You were fast, I like it! Thanks. -- Andy Shevchenko Intel Finland Oy