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

Ron Yorston rmy at pobox.com
Wed Jul 26 09:40:23 UTC 2017


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


More information about the busybox mailing list