[Buildroot] [PATCH 2/3] package/busybox: convert S10mdev to the canonical init script format

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Jun 20 11:52:50 UTC 2019


On Thu, Jun 20, 2019 at 01:39:32PM +0200, Titouan Christophe wrote:
> On 6/20/19 12:44 PM, Titouan Christophe wrote:
> > Hello Andy,
> > 
> > On 6/20/19 12:10 PM, Andy Shevchenko wrote:
> > > On Wed, Jun 19, 2019 at 06:42:56PM +0200, Titouan Christophe wrote:
> > > > Signed-off-by: Titouan Christophe <titouan.christophe at railnova.eu>
> > > 
> > > > -    find /sys/ -name modalias -print0 | xargs -0 sort -u | tr
> > > > '\n' '\0' | \
> > > > -        xargs -0 modprobe -abq
> > > 
> > > > +    find /sys/ -name modalias -print0 | \
> > > > +        xargs -0 sort -u | \
> > > > +        tr '\n' '\0' | \
> > > > +        xargs -0 modprobe -abq
> > > 
> > > How this indentation change related to the topic?
> > > 
> > 
> > This is a preparatory patch to convert this script to the canonical init
> > script format, as suggested by Arnout (see
> > http://lists.busybox.net/pipermail/buildroot/2019-May/251199.html)
> 
> 
> sorry I did not pay attention to the fact that you were only commenting on
> this particular hunk. I did reindent this command chain for better
> readability (in my opinion); I can rework that part to better suit the
> codestyle, if any.

It should be a separate patch explaining why you are doing that, but not in this one.

-- 
With Best Regards,
Andy Shevchenko





More information about the buildroot mailing list