#3371 closed task (fixed)
Symlinking /bin/sh to dash breaks the bootscripts.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
On blfs-support, it has been reported that using dash for /bin/sh breaks the bootscripts : http://linuxfromscratch.org/pipermail/blfs-support/2012-May/069952.html because it doesn't support brace expansion.
Looks as if the specific problem was in the *LFS* scripts.
We could drop the claim that dash can be linked as /bin/sh, along with the symlink to do that, if anyone cares to use this shell. Not confirmed, because I'm not willing to use dash.
Personally, I think we should drop dash, but I'm prejudiced ;)
Alternatively, we could change the LFS scripts, as well as any similar instances in BLFS, but that is hard to justify since dash as /bin/sh is not adequate to build LFS.
I fixed the LFS scripts. We used brace expansion on one line. If somethign comes up on the BLFS scripts, we can fix them too. There are a couple of places that are bash specific and labeled as such.