Ash and gcc-4
b3nt at ukonline.co.uk
Tue Nov 29 09:01:17 PST 2005
DJ Lucas wrote:
> Thanks Andy. I did exactly the same last night, and did test...I just
> hadn't commited it yet. Just change the extern to static in the newly
> created hetio.h and all is well. I will commit your patch and update
> the book a little later tonight.
Don't tell them that, make it sound hard!
But, yes, it wasn't hard. The hard part is working out the subtle differences between bash and ash. I've tried fixing some scripts to run in ash and I can do it for my own simple scripts, but when I look at /etc/rc.d/init.d/functions...I don't know where to begin. And then the next thought is, is it worth the bother? If anyone really uses ash, surely someone would have updated the ash patch before now? Maybe it would be best if the bootscripts just had #!/bin/bash at the top instead of #!/bin/sh. Bash is the shell we install in LFS. To me it makes sense that the bootscripts run in bash. If people want to boot with ash they should sort out their own bootscripts. Just my tuppence worth. 'scuse my grumbles...
More information about the blfs-dev