system: make /bin/sh symlink use relative path
authorMatthew Starr <mstarr@hedonline.com>
Tue, 16 Jun 2015 20:42:28 +0000 (15:42 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Jun 2015 07:36:00 +0000 (09:36 +0200)
commite26ec6e45cb4246353bb4b88fbe718212fc89c61
treed9c76f0fe39e9fc5a9e076c7fce860739a7cc18f
parent55dbcaf48fcf229c4fbaab6df8abe8f3e16a6c56
system: make /bin/sh symlink use relative path

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 a relative path.

Fixes #8161.

[Thomas: minor fixups to the commit log suggested by Yann E. Morin.]

Signed-off-by: Matthew Starr <mstarr@hedonline.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
system/Config.in