[elbe-devel] /bin/sh

Ralf Schlatterbeck rsc at runtux.com
Thu Jan 26 18:28:10 CET 2017


On Thu, Jan 26, 2017 at 03:52:01PM +0100, John Ogness wrote:
> Agreed. The install_bb.sh script can even be avoided with:
> 
> <finetuning>
>     <raw_cmd>/bin/busybox mkdir -p /bin /sbin /usr/bin /usr/sbin</raw_cmd>
>     <raw_cmd>/bin/busybox --install -s</raw_cmd>
> </finetuning>
Cool, didn't know about the --install of busybox...

> But there are still many places where "sh -c" are used and I don't see
> the need. For example, <ln> uses "sh -c". So if there is no /bin/sh, I
> cannot create any symbolic links.

I guess these can be eliminated, yes. I also wondered when I looked into
the code.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   http://www.runtux.com
Reichergasse 131, A-3411 Weidling       email: office at runtux.com




More information about the elbe-devel mailing list