[Buildroot] [PATCH v2] package: dropbear: make PATH configurable
casantos at datacom.com.br
Mon Dec 17 23:44:16 UTC 2018
> From: "Yann Morin" <yann.morin.1998 at free.fr>
> To: "Markus Mayer" <mmayer at broadcom.com>
> Cc: "buildroot" <buildroot at buildroot.org>
> Sent: Domingo, 16 de dezembro de 2018 13:26:03
> Subject: Re: [Buildroot] [PATCH v2] package: dropbear: make PATH configurable
> Markus, All,
> On 2018-03-09 14:41 -0800, Markus Mayer spake thusly:
>> Make the default PATH dropbear is using configurable.
> We've discussed this with Thomas, and as Carlos noticed, we woudl need a
> similar solution for openssh.
> But pushing the thing even further, we think a generic solution is even
> - in the "System configuration" sub-menu, add a new option that
> basically is "Default PATH" and defaults to /bin:/sbin:/usr/bin:/usr/sbin
Notice that /bin and /sbin are redundant with their /usr counterparts for
> - use that to set PATH in /etc/profile (from the skeleton-init-common
In one of my current projects there is a /etc/profile.d/path.sh file in a
rootfs overlay containing
PATH="$(test -L /bin || echo /bin:)$(test -L /sbin || echo /sbin:)/usr/bin:/usr/sbin"
Carlos Santos (Casantos) - DATACOM, P&D
More information about the buildroot