Olivier,
Add this routine to your target/<whatever your target name>/build.sh ; it is
the script that instructs how to build your target:
create_busybox_links ()
{
echo_status "Creating busybox links ..."
for x in `cat $build_root/usr/share/doc/busybox/busybox.links`; do
# only symlink if a full-featued version does not exist
[ -e ".$x" ] || ln -sf /bin/busybox ".$x"
done
}
and just before you make the squashfs; make sure that you run the
'create_busybox_links' routine.
Doing so would create all of your missing busybox links.
-toan
On Wed, May 4, 2011 at 9:19 AM, Olivier Fauchon <[email protected]>wrote:
> Hi.
>
> It seems symbolic links to busybox are missing ex :
>
> ls -> busybox
> mount -> busybox
>
> ...
>
>
> root@t2box:~/t2-8.0/build/servant-8.0-stable-servant-x86-i486-linux/TOOLCHAIN/rootfs/bin#
> ls -la
> total 2120K
> drwxr-xr-x 2 root root 4096 May 4 14:56 .
> drwxr-xr-x 17 root root 4096 May 2 05:09 ..
> lrwxrwxrwx 1 root root 4 May 2 05:09 awk -> gawk
> -rwxr-xr-x 1 root root 613456 May 2 04:30 bash
> -rwxr-xr-x 3 root root 70344 May 2 04:34 bunzip2
> -rwxr-xr-x 1 root root 707376 May 2 04:53 busybox
> -rwxr-xr-x 3 root root 70344 May 2 04:34 bzcat
> -rwxr-xr-x 3 root root 70344 May 2 04:34 bzip2
> lrwxrwxrwx 1 root root 3 May 2 05:09 captoinfo -> tic
> -rwxr-xr-x 1 root root 5852 May 2 04:57 chattr
> -rwxr-xr-x 1 root root 4112 May 2 05:02 checkpassword.login
> -rwxr-xr-x 1 root root 2892 May 2 04:17 clear
> -rwxr-xr-x 1 root root 1519 May 2 04:57 compile_et
> -rwxr-xr-x 1 root root 241404 May 2 04:33 gawk
> -rwxr-xr-x 1 root root 39172 May 2 04:17 infocmp
> lrwxrwxrwx 1 root root 3 May 2 05:09 infotocap -> tic
> -rwxr-xr-x 1 root root 4524 May 2 05:02 login1
> -rwxr-xr-x 1 root root 4368 May 2 05:02 login2
> -rwxr-xr-x 1 root root 4892 May 2 04:57 lsattr
> -rwxr-xr-x 1 root root 1356 May 2 04:57 mk_cmds
> -rwxr-xr-x 1 root root 7088 May 2 04:49 msvc
> -rwxr-xr-x 1 root root 4918 May 2 04:13 ncurses5-config
> -rwxr-xr-x 1 root root 4919 May 2 04:17 ncursesw5-config
> -rwxr-xr-x 1 root root 143124 May 2 02:11 pdksh
> lrwxrwxrwx 1 root root 4 May 2 05:09 reset -> tset
> -rwxr-xr-x 1 root root 5420 May 2 04:49 serdo
> lrwxrwxrwx 1 root root 4 May 2 05:09 sh -> bash
> -rwxr-xr-x 1 root root 39376 May 2 04:17 tic
> -rwxr-xr-x 1 root root 7728 May 2 04:17 toe
> -rwxr-xr-x 1 root root 8268 May 2 04:17 tput
> -rwxr-xr-x 1 root root 11816 May 2 04:17 tset
> -rwxr-xr-x 1 root root 3140 May 2 04:57 uuidgen
> root@t2box
> :~/t2-8.0/build/servant-8.0-stable-servant-x86-i486-linux/TOOLCHAIN/rootfs/bin#
>
>
>
> Any opinion ?
> Thx
>
>
>
>
>
> --
> Olivier Fauchon
> www.oflabs.com
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2