On Sun, Oct 01, 2006 at 12:44:15AM +0400, Alexander Nasonov wrote:
> 
> BTW,
> 
> $ head -n 1 scripts/gen_initramfs_list.sh
> #!/bin/bash
> 
> but
> 
> $ file /bin/bash
> /bin/bash: cannot open `/bin/bash' (No such file or directory)
> 
 Well, I'm not surprised that building from freebsd has its own
issues, but this looks comparatively straightforward:

 Either that script is full of bash-isms, and you will need to
install bash on freebsd and symlink it to /bin/bash, or else the
script is "standard" and can run from /bin/sh on the host linked as
/bin/bash.

 Looking at it, the 'local' and some of the tests make me think it
might need a genuine bash (I'm not sure how much is in standard
'sh', or even what shell freebsd uses).

 Alternatively, you could install it somewhere else and sed the
script.

 But regardless of that, it sounds as if you have other problems.
If you actually want to build a bootable system from freebsd, I'd
strongly suggest you add a version of bash to the host, and use that
in preference to the current shell.  Basically, a linux system
expects to use the gnu tools.

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to