Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] autofs issue?
@ 2016-02-26 20:00 jerry at chordia.co.uk
  2016-02-26 20:54 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: jerry at chordia.co.uk @ 2016-02-26 20:00 UTC (permalink / raw)
  To: buildroot

Using BR 2016-02 with custom kernel (local directory containing linux-stable
repo). Autofs4 kernel module is built-in.

 

Having noted this:
http://git.buildroot.net/buildroot/commit/?id=b78a95d109ea335406bbac2957c4cc
85b98838d4 I wonder if there is another issue?

 

The autofs script that gets added to /etc/init.d seems to be a bash script
(?) Consequently this is failing on a Busybox system. Have I
misunderstood/misconfigured something?

 

Jerry.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160226/12fc6365/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] autofs issue?
  2016-02-26 20:00 [Buildroot] autofs issue? jerry at chordia.co.uk
@ 2016-02-26 20:54 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2016-02-26 20:54 UTC (permalink / raw)
  To: buildroot

On 02/26/16 21:00, jerry at chordia.co.uk wrote:
> Using BR 2016-02 with custom kernel (local directory containing linux-stable
> repo). Autofs4 kernel module is built-in.
> 
>  
> 
> Having noted this:
> http://git.buildroot.net/buildroot/commit/?id=b78a95d109ea335406bbac2957c4cc85b98838d4
> I wonder if there is another issue?
> 
>  
> 
> The autofs script that gets added to /etc/init.d seems to be a bash script (?)
> Consequently this is failing on a Busybox system. Have I
> misunderstood/misconfigured something?

 I've looked at it and it looks like it's just the shebang that is wrong. I
couldn't find any bashism in it. Well, actually there is one: the $"" gettext
expansion, but busybox sh will just print the $ which is pretty harmless.

 So, could you try to just replace the /bin/bash with /bin/sh and test if the
script still works correctly? If that works, please submit a package patch that
does that on samples/rc.autofs.in


 Regards,
 Arnout


> 
>  
> 
> Jerry.
> 
>  
> 
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-26 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26 20:00 [Buildroot] autofs issue? jerry at chordia.co.uk
2016-02-26 20:54 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox