dslm4515/Raptix

Make still expects `/bin/sh`

Opened this issue · 3 comments

Musl libc wont compile in chroot. make complains that "/bin/sh" does not exist. Yet executing 'failing' commands execute fine... just not by make.

Maybe we should try to stick with classical binary directories just to avoid this sort of problem?
I mean, just keeping /bin and /dev where it was meant to be, as links to /system, like Apple Rhapsody did to solve this problem.

I haven't gone through all the packages to see how hard /bin/sh is hard-coded...along with /dev

Most of packages are for Unix-like systems... systems that have /bin/sh present. So I'm not too surprised.

If Raptix requires constant patching of package source code and not just the configure script, then I'll consider adding /bin to the Raptix's FHS.

just keeping /bin and /dev where it was meant to be, as links to /system, like Apple Rhapsody did to solve this problem.

I actually did that for my first build. But I wondered if that contaminated the build instead of forcing packages to look for /system/bin/sh... so with build attempt #2, I am making sure /bin/sh is never available.