Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package/busybox: support spaces in module aliases in mdev
Date: Sat, 02 Jul 2016 16:15:45 +0300	[thread overview]
Message-ID: <1467465345.30123.447.camel@linux.intel.com> (raw)
In-Reply-To: <20160702150340.73f1723d@free-electrons.com>

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 <yann.morin.1998@free.fr>
> > Fixes: 07f46c2b6dae ("package/busybox: support automatic module
> > loading with mdev")
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> 
> 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 <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

      reply	other threads:[~2016-07-02 13:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-02 12:22 [Buildroot] [PATCH v2 1/1] package/busybox: support spaces in module aliases in mdev Andy Shevchenko
2016-07-02 13:03 ` Thomas Petazzoni
2016-07-02 13:15   ` Andy Shevchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467465345.30123.447.camel@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox