Subject: Re: crunch bin in ramdisk-bin
To: basalt <Basalt@easynet.fr>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 02/26/2001 21:27:47
On Sun, Feb 25, 2001 at 08:29:28PM +0100, basalt wrote:
> heloo,
>
> i am trying to include my own packages into a ramdisk-bin floppy
>
>
> so i have modif ramdiskbin.conf and add (for example for traeroute ) :
>
> srcdirs /usr/src/usr.sbin/ /usr/src/bin /usr/src/sbin /usr/src/lib
>
> progs traceroute
> special traceroute srcdir /usr/src/usr.sbin/traceroute
> special traceroute objdir /usr/src/usr.bin/traceroute
> special traceroute objs ifaddrlist.o savestr.o traceroute.o version.o
>
> libs /usr/lib/libipsec.a /usr/lib/libc.a
>
> then i make a :
> make -f Makefile objs exe
> make
> cd ../kernel-ramdisk && make
> cd ../fdset-laptop/ && make
> make kern=/sys/arch/i386/floppies/compile/MiniBSD/netbsd (for my personnal kern)
>
> and then i write disk with dd
>
> i can t find any traceroute on the disk after booting ...
>
> i have tried to modify the list files but without any success
Did you check that if you link traceroute to /bin/cat, it works ?
You need to add an entry to 'list' file:
LINK ramdiskbin usr/sbin/traceroute
Before the 'SPECIAL /bin/rm ramdiskbin' of course.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--