On 4/21/19 10:55 PM, Jeremy Huntwork wrote:
On Sun, Apr 21, 2019 at 8:37 PM Bruce Dubbs <[email protected]> wrote:

I wasn't asking because of any personal preference. I just noticed
that out of the box Ubuntu fails this test because /bin/sh is a
symlink to /bin/dash, and I was wondering if this is truly a hard
requirement.

Yes and yes.

Sorry, I don't understand how it's a hard requirement. Especially
since you also said later "it's just an advisory".  I'm not intending
to argue, I'd just like to understand.

If a package won't build it's a hard requirement; but it can be worked around in a variety of ways. IIRC, a sed from /bin/sh to bin/bash will work in the right place, but the rest of LFS and BLFS is designed around using bash for both.

Anyway, here's a version of that script which will actually exit with
an error status if any requirements aren't met:
https://gist.github.com/jhuntwork/e57571e3cbe78d970c6edeee5e42d36b I
tried to make it easy to read and amend. Feel free to use it if you
like, or ignore it if you don't.

Thanks, but that is way too much for the book. Perfect is not required here. What we have is good enough.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to