[PATCH] ash: special treatment for 'busybox' in standalone shell mode

Tito farmatito at tiscali.it
Wed Jul 26 12:04:34 UTC 2017



On 07/26/2017 11:40 AM, Ron Yorston wrote:
> Ron Yorston wrote:
>> For example, a container can be created with just
>> the BusyBox binary installed as /bin/sh.
>
> For the curious, here's how I did this on 64-bit Fedora 26:
>
>    # mkdir -p container/bin container/usr/lib
>    # cp busybox container/bin/sh
>    # cp /usr/lib/os-release container/usr/lib
>    # systemd-nspawn --bind-ro=/lib64 -D container
>
> Ron
>
Hi,
a stupid question:
wouldn't a symlink solve the problem?

ln -s sh busybox

Ciao,
Tito


More information about the busybox mailing list