[Buildroot] [PATCH 1/1] system: make /bin/sh symlink use relative path

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jun 21 07:37:37 UTC 2015

Dear Matthew Starr,

On Tue, 16 Jun 2015 15:42:28 -0500, Matthew Starr wrote:
> The symlink created by buildroot for /bin/sh is the full path to
> a shell.  This does not match what busybox and other Linux
> distributions do with using relative path symlinks. When handling
> files on the host system this will point to the host system's shell
> if present and not the target shell.
> This is fixed by changing the /bin/sh symlink to use relative a path
> since both files are in the same directory.
> This was reported as Bug #8161 at bugs.busybox.net
> Signed-off-by: Matthew Starr <mstarr at hedonline.com>
> ---
>  system/Config.in | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied after fixing the minor nits suggested by Yann, thanks.

Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the buildroot mailing list